Jump to content

  • Log In with Google      Sign In   
  • Create Account

Shadow Mapping Issue


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 kilah   Members   -  Reputation: 513

Like
0Likes
Like

Posted 19 September 2010 - 09:10 AM

Hello all,

I am trying to learn how to use shadow mapping technique. While learning basis from "OpenGL: Programming book" and "More OpenGL Game programming", I've been able to reproduce such technique on hardware using GLSL.

My problem comes with this image:
http://img831.imageshack.us/f/56192629.jpg/

Where does that razor behavior comes from and how to correct it? My guess is that it is a polygon offset issue as round object seems to struggle with it. But how are we supposed to overcome this issue.

Image uses per pixel lighting and shadows are created by displaying only 50% of the original color. Per-vertex lighting seems to correct this issue as the polygon color smooths a way better thanks to vertex interpolation, but that is not an acceptable solution.

Regards.

Sponsor:

#2 Promit   Moderators   -  Reputation: 7608

Like
0Likes
Like

Posted 19 September 2010 - 12:22 PM

Personally I'd suggest switching over to VSM as being the most robust way to tackle these artifacts.

#3 kilah   Members   -  Reputation: 513

Like
0Likes
Like

Posted 19 September 2010 - 12:46 PM

appreciate your suggestion Promit, I'll have a look on those too.

#4 IvicaKolic   Members   -  Reputation: 132

Like
0Likes
Like

Posted 21 September 2010 - 09:42 PM

Use Camera Space Shadow Maps and be done with it (and some filter/smoother).





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS