• Advertisement
Sign in to follow this  

32 flashlights + shadow maps

This topic is 1703 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

I want to give each of 32 or more players a flashlight that can cast shadows. I'd probably run off the multitexture limit with that many shadow maps plus specular and normal map. How do Left 4 Dead or Counter-Strike: Source deal with this?

Share this post


Link to post
Share on other sites
Advertisement

My appologize for just short answer:

 

Deferred shading + shadow maps works. Although you won't have 32 shadows simuateously visible, you just render what you need (which is detectible).

 

For forward renderers you probably need multi pass lighting. Although it's still possible.

Share this post


Link to post
Share on other sites

How do Left 4 Dead or Counter-Strike: Source deal with this?


I'm pretty sure they just blend a texture over the scene to add light to where you are looking so they aren't real lights.

Share this post


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

  • Advertisement