Ok, wanted to fix some issues with my scene, you can check out work in progress here:
http://youtu.be/lvJF7QTq-sY?hd=1Basically, if you look at the ground when I'm moving stuff around, you'll see that shadows in general have a problem when close to the object I'm standing on when I took the vid.
The light that is being used here is about 500 units up from the platform, with a range of around 1700 units (1 unit = 1 meter).
So I'm really trying to figure out how to get the best results for a skylight, which presumably wasn't the intention of the spotlight used in Horde. So I could use some feedback on what would be useful to change code wise.
If you read the paper on CSM from the nvidia site here:
http://developer.download.nvidia.com/SD ... w_maps.pdfSo what I'm wondering is that the CSM implementation in horde, as far as I can make out, uses 1 texture to render the shadow map. It also seems to use a perspective projection from the shadowing light, rather than the ortho projection I'd expect. Finally, I seem to be getting depth resolution issues (shadows don't seem to project onto near objects, only when the distance between them increases).
So, really just wondering what actually to change here to fix up a decent directional "skylight" light and shadow projection for a typical daylight scene. Any advice would be welcome!