Dirty hack:: depth pass shadow volumes

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Post by Silicone_Milk »

ah I see. Thanks for clearing that up =)
cityy
Posts: 1020
Joined: Mon Aug 10, 2009 8:23 am

Re: Dirty hack:: depth pass shadow volumes

Post by cityy »

Bump! sst13 still had this file, he is a true hero!

I put a little overview here: https://www.ferdinandlist.de/blog/idtec ... c_shadows/
www.ferdinandlist.de/leveldesign
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: Dirty hack:: depth pass shadow volumes

Post by fKd »

Very interesting. BTW small typo, you have oder instead of order
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

Re: Dirty hack:: depth pass shadow volumes

Post by CZghost »

I didn't know something like this was possible. Definitely mind blowing. I can't quite understand how it works, but I might explore the map files at home and see how is it done, try different settings, different setups, etc. Maybe I'll be able to get into it. I don't think I'll ever use it though.
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: Dirty hack:: depth pass shadow volumes

Post by Eraser »

Impressive. Curious that this hasn't found its way into more maps.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Re: Dirty hack:: depth pass shadow volumes

Post by Foo »

I remember this from back when that concept map came out with the swinging cross. The main barrier to implementing it is it's a big hassle to put together and has some fairly severe limitations (needs a stark single light source, entire shadow area must be inaccessible to players, looks wonky from extreme angles).
If I remember correctly it's a riff on how cel shading was accomplished (an automatic offset around existing model geometry and then using the depth pass to 'draw' the outline between the offset volume and inner model volume).
cityy
Posts: 1020
Joined: Mon Aug 10, 2009 8:23 am

Re: Dirty hack:: depth pass shadow volumes

Post by cityy »

I have also been thinking about a use case for this, it's tough, maybe it could be interesting if you have something like moving platforms in your map. Other than that, I struggle to come up with something.

Thanks fkd for pointing out the typo! I will fix it the next time I update the site.
www.ferdinandlist.de/leveldesign
$NulL
Posts: 100
Joined: Wed Mar 27, 2002 8:00 am

Re: Dirty hack:: depth pass shadow volumes

Post by $NulL »

I was there Gandalf. I was there seven-teen years ago. I was there when the post was written. :)

This is a blast from the past. I still remember writing the first post all those years ago.

I've updated the links on the first post to point to my Github account. There are some other maps on there too.
Post Reply