Jump to content
  • Advertisement
Sign in to follow this  
gamerking

splintercell lighting

This topic is 4682 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

the lightning effct in splintercell was amazing how did they get all those effects in? some sample code would be nice however any mathamatics, try to explain in english

Share this post


Link to post
Share on other sites
Advertisement
It was done, I think, using stencil shadow volumes. I consider it to be an intermediate level 3D programming technique, not too difficult to implement if you know a thing or two about vertex shaders and stencil buffer manipulation.

The basic process is found here:
http://en.wikipedia.org/wiki/Shadow_Volumes

The other possibility was that it was done using perspective shadow maps, but I think that's a little unlikely, considering the shadows had hard edges.

The same technique was used in Doom3.

This technique will supposedly be replaced by perspective shadow maps, however, due to improvements in graphics hardware.

From the sound of it, if you want to do this sort of thing, you're going to have to learn some decent OpenGL or Direct3D. Not a task to be taken lightly, it will probably take a few weeks of daily study to get to the point where you can use this technique, assuming you have a good grounding in a programming language which can use those APIs. Good luck to you! [grin]

Share this post


Link to post
Share on other sites
They've talked about how they do the lighting, and it is a mix of shadow maps and projected shadows.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!