Point Light Source,
Members - Reputation: 122
Posted 04 January 2002 - 07:02 PM
Members - Reputation: 929
Posted 04 January 2002 - 11:31 PM
My problem came from only setting the light position once, in the initcode, like yourself. It needs to be set after you translate to the current scene position ( via gluLookAt or manually using glLoadMatrix or the rotates/translates ). You will also probably need to push/pop the modelview matrix, as answered in the other thread also.
Thats what solved my problem, and it may solve yours too!