View Full Version : problem with per fragment lighting

02-07-2006, 01:18 AM
I have a program which lights perfectly a mesh (divided in 3 parts) with a per fragment lighting (with GLSL). The problem is that when i had a plane behind the mesh, this plane and the mesh become black, and we just can see the specular part on the mesh. The light is next to the camera.
Do you know what to do ? and why it do this ?

02-14-2006, 01:53 AM
Maybe giving some code will help.