Shadows visible through terrain

my shadows are visible through the terrain, which makes it look like the terrain is transparent (which it’s not)

I’m using PssmShadowRenderer and terramonkey. What am I doing wrong?

imo you are using filters, and you have not proper order of filters and shadows. Try init Shadows After filters.

you can also try use PssmShadowRenderer

BTW: Code or testcase would be useful

Sorry, I was wrong, it is PssmShadowRenderer.

as i said its propably filters order after PSSM issue as in topic:

1 Like

that was indeed the problem. The fogFilter was initialized before the shadowrenderer.