Sign in to follow this  
polyfrag

32 flashlights + shadow maps

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this