🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest cascadedshadowmapping Activity

MJP said:

I might have to think this through a little more, but typically you want your “rounding offset” (which snaps the texels of your shadow map to a fixed grid in world space) to be a translation applied to your projection matrix rather than being baked into the X/Y scale factors. Here's how I …

5,143 views
Advertisement

I managed to get them working, I added texel-snapping part from MJP Shadows project, and calculated frustum centroid manually and not using BoundingSphere, I don't know if that also makes a difference, but I don't care to check at this moment (I have some suspicions why they give different results)…

4,063 views
Advertisement
Advertisement