shadow volumes artefacts

Started by
0 comments, last by jhuelin 18 years, 10 months ago
hello, i've a problem with shadow volumes. My algoritm seems to be fine, the shadows displayed are ok, but i can see some artefacts in the shadows depending on the position of the camera. Theses artefacts (hole in the shadow) represents some edges of my shadow volume. I have tested it on a simple box and i can see some edges in the shadow. I'm just building my shadow volume and drawing it with DrawPrimitiveUP. What i'm doing wrong ? john
Advertisement
i've found what i'm doing wrong !

i add too much faces in my shadow volume. and it's the intersection of theses faces which makes artifacts in my shadow !!

sorry.....

This topic is closed to new replies.

Advertisement