Jump to content
  • Advertisement
Sign in to follow this  
akira32

Improve the accuracy of Shadow Map

This topic is 3786 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

I want to improve the accuracy of Shadow Map by the statement of sampler. How do I declare the values of "MinFilter" , "MagFilter" and "MipFilter"?(for best accuracy of approximation) Is the anisotropic filtering used to improve the accuracy of the approximation? And How to define the statements of the "anisotropic filtering" in sampler? texture ShadowMap0; sampler ShadowMapSamp0 = sampler_state { Texture = <ShadowMap0>; MinFilter = LINEAR; MagFilter = LINEAR; MipFilter = NONE; AddressU = Clamp; AddressV = Clamp; };

Share this post


Link to post
Share on other sites
Advertisement
Accuracy depends on the number of bits per pixel.
It's better to use POINT filtering as some older hw won't like linear filtering.

Share this post


Link to post
Share on other sites
I saw the paper of Adpative Shadow Maps.
It says that anisotropic filtering is used to improve the accuracy of the approximation. I doubt it.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!