Skip to main content
gamedev.net
🔒 Locked

Shadow Problem (Noise)

Started by saravananps 0 replies 550+ views
Original Post
saravananps
saravananps
I've created a spot light with some atmospheric effects. But while casting the shadows some unwanted noise appears in the shadow region. I am using projective shadows for casting shadows. Even if i change the position of the light source the shadow still appears noisy. Could any one help me to overcome the noise effect. Please check out this link for images http://saravananps.100free.com/project.htm
zedzeek
zedzeek
most likely youre seeing zfighting,
(described in many shadowmapping papers, which will offer (partial)solutions as well )
u need to add a depthbias eg glPolygonOffset, or add a slight bias onto one of the matrices, or if u wanna get fancy its possible to do it with a fragement program (though more expensive)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.