I’ve got a scene with a moving object which is lit from a light which moves with the object.
The ligthing of the object is consistient when it moves, the specular highlights are not. The specular highlights are taken from the origin.
I’ve set:
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
Have I done something wrong or is this what I should expect?
Jon