• Advertisement
Sign in to follow this  

GLSL shadow map (small question)

This topic is 3527 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
Advertisement
Sign in to follow this  

  • Advertisement