Hi,
I’ve build a simple scene with a single point light source. Now the light source should cast a constant light on the scene, but it seems, that the amount of light on surfaces parallel to the ground level (x/z-plane) changes with the movements of my camera. E.g. if I look at a specific point the ground seems to get a normal amount of light, but if I turn the camera a little, the ground darkens over. I do reposition the light source at every frame rendering, so why is this happening? I use gluLookAt to position the camera and of course glLightfv to set the position of the light. I’ve also tried to reset all the other light parameters, but it didn’t change a thing. I’ve checked all my normals, and they seem to be pointing in the right directions, i.e. straight up the y-axis. Does anyone have any ideas what could be wrong? If you need more info or code samples to answer this question, please let me know.
Thanks Anders