PDA

View Full Version : problem with per fragment lighting



airseb
02-07-2006, 02:18 AM
Hi,
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 ?

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