Even with high resolution like 2049 x 2049, there are aliasing effects.
I'm rendering a terrain with size 2049 x 2049 and with shadows.
Jump to content
Posted 19 March 2014 - 01:28 AM
The shadow map resolution is not the only important factor, equally important is how large area is the shadowmap covering. Even a shadowmap with 4096x4096 would have extremely huge aliasing if you used it for example for the whole Skyrim map.
Posted 19 March 2014 - 02:38 AM
As said above, probably your light is to far away from the view point.
Take a look at this. It is called parallel split shadow map:
Posted 20 March 2014 - 12:29 AM
Are youe using a custom filtering kernel? seems to me you have a bug in the depth comparison method which causes results between neighbouring pixels in the map not to match up.
This was the problem. I forgot to restore the rasterizerState after rendering the scene to shadow map.
Thank you everyone, now the problem is solved. You all are great. (the resolution used in this image for shadow map is 1024x1024 with 2049x2049 terrain.)
Edited by newtechnology, 20 March 2014 - 12:55 AM.