32 flashlights + shadow maps

Started by
2 comments, last by _the_phantom_ 10 years, 7 months ago
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?
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.

My current blog on programming, linux and stuff - http://gameprogrammerdiary.blogspot.com

Shadow texture atlas.

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.

This topic is closed to new replies.

Advertisement