Sign in to follow this  

GLSL shadow map (small question)

This topic is 3456 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'm currently using GL_COMPARE_R_TO_TEXTURE, and GL_CLAMP_TO_EDGE. Right now I still have shadows outside of the lights frustum. Do I have to check for these cases or is there a way to set it up? I would assume since its shadow2Dproj, the driver would know that I dont want to test stuff outside the frustum. If not, what would be the best way to "clip/clamp" these?

Share this post


Link to post
Share on other sites

This topic is 3456 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.

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