Jump to content
  • Advertisement
Sign in to follow this  
asmCode

shadow mapping acknes

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

hi, I have very common problem with well know shadow mapping ackne and I read some solutions on this forum, but I'm still confused. first take a look: http://asmcode.idl.pl/gdimg/sm_ackne.png http://asmcode.idl.pl/gdimg/sm_ackne2.png some of you suggested to try manipulate with "bias" and "offset" values. So I tried using glPolygonOffset with many configurations, but it only helped with floor - torus is still ugly. Then I tried to use extension glPolygonOffsetEXT, but i realized that I dont have this extension (gf 8600 GT). Last thing I did was adding some value in fragment program to shadow map texel (this is bias or offset?). I have no idea what I'm doing wrong.. best regards

Share this post


Link to post
Share on other sites
Advertisement
The first picture's issue can be solved, as you said by altering bias matrix, or polygon offset.
The second, I think it's just you are using too low resolution shadow map.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!