Need help on shadow mapping
I have a code that does the 2 pass shadow map creation. It generates the depth buffer into a 2D texture and the does the rendering again to make the shadows. When my object and the light are oriented very close to each other I see these shadowed triangles on a side where they shouldn't be. When the light is moved such that is not oriented in the same angle as the object the rendering and shadows are fine. Is there anyone out there that has experience in this area? I can get into more detail when I find someone who may be able to help.