Bugs with lights.

Hi.
When I add a light in spot mode, for example, if I rotate the view around a cube, the lightning if different in function of the view angle. is it really a bug og openGl? and exist a method to resolve this problem ?
Thanks for help

If understand it right, your problem is that OpenGL translates the lights position by the current ViewMatrix when setting the lightsource. If you don’t wan’t tat, you have to set the identity matrix before setting the light.

Lars