making a little demo (too lazy for a tutorial) of customizing default 3dgs pssm shadows. manipulating splits and their distances for performance optimization, added shadow fade-out feature, optional per-entity bias and smoothing (makes initialization very slow), handling bad shadows on high slope terrain etc. don't remember of all what I put together, I need some code cleaning - hopefully it will be easy to understand. if I have time I'll add some sliders for real-time adjustments, but probably only code commenting will be the only guide (it will be definitely available in my editor, the current split limiting is performance effective but a bit ugly method).

and you get a water shader cut out of shade-c 0.90 (only water specific code is present, thus a bit faster).



Free world editor for 3D Gamestudio: MapBuilder Editor