Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Valathil on August 04, 2012, 11:27:37 am

Title: Preview of the new Shadow Mapping algorithm (Testbuild availiable)
Post by: Valathil on August 04, 2012, 11:27:37 am
http://www.youtube.com/watch?v=DvNoPjMSzlg?hd=1 (http://www.youtube.com/watch?v=DvNoPjMSzlg?hd=1)

I have the feeling this is much better than the old ones, also faster. I just have to do some fiddling and make sure all platforms are supported and a test build will be posted.

EDIT: Testbuild here http://www.hard-light.net/forums/index.php?topic=81598 (http://www.hard-light.net/forums/index.php?topic=81598)
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: Crybertrance on August 04, 2012, 11:28:27 am
This is a pleasant surprise!!  :yes:
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: swashmebuckle on August 04, 2012, 01:43:10 pm
I'm a guy who is impressed.  Looks beautiful!
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: Trivial Psychic on August 04, 2012, 06:05:04 pm
I too am impressed.  If those micro-shadows had not been pre-baked, would they have generated shadows with this new technique?  Are those actual depressions in the model surface or just textured to look like that?
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: Valathil on August 04, 2012, 07:35:22 pm
The pre-baked shadows i'm pointing out are the shadows of the antenna on top of the dome. The last picture of the video is pretty much centered on the DYNAMIC shadow, the actual geometry of the model casts on the actual moon surface geometry with the actual light direction, of this antenna.
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: Spoon on August 05, 2012, 01:25:42 pm
So dreamy~
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: BlasterNT on August 05, 2012, 01:50:06 pm
Wow.  So the way that works is basically "mipmaps" for shadows, right?
Title: Re: Preview of the new Shadow Mapping algorithm
Post by: Valathil on August 05, 2012, 04:34:26 pm
Wow.  So the way that works is basically "mipmaps" for shadows, right?

Well you could say it like that but it's a little more complicated than simple downsampling.

Also i just posted the Beta 1 Testbuild over here: www.hard-light.net/forums/index.php?topic=81598 (http://www.hard-light.net/forums/index.php?topic=81598)
Title: Re: Preview of the new Shadow Mapping algorithm (Testbuild availiable)
Post by: Kobrar44 on August 06, 2012, 03:34:40 am
I hate you man, it looks like I'm not leaving bed today.