• Advertisement
Sign in to follow this  

Shadow Map problem

This topic is 1404 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.)

1911649_851963971496625_2008400309_n.jpg

Edited by newtechnology

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement