Hi, this is a problem discussed quite frequently but there is no solution yet (or I couldn't find any).
When using mtl_terraintex from the standard shader library I have to use alpha-maps for the skins of my terrain. When I now activate PSSM I can see through my terrain which is, most certainly, based on the Terrain-Shader.
Of course I can reset the CAST flag of the terrain but then I'd have no shadows on my terrain!
Unfortunately I'm not that good at HLSL to fix the PSSM code on my own so I'm asking here for help.