🎉 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 CSM 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,138 views
Advertisement
PCF Filtering doesnt work quite well

It's hard to tell just from one screen shot, but based on the code you provided your filtering kernel has a fixed size in shadow map space. The nature of shadow maps is that the effective size of a shadow map texel in screen space completely depends on how the shadow itself ends up getting projecte…

4,145 views
CSM works fine on AMD GPU not on NVIDIA GPU

FYI that sort of issue would get caught by the D3D debug layer, and I definitely recommend enabling it for your debug builds.

4,785 views
Advertisement
Advertisement