Jump to content
  • Advertisement
Sign in to follow this  
dpadam450

GLSL shadow map (small question)

This topic is 3710 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!