I want to make a light that will act as a lamp, and also I want to make a stationary spotlight, but it keeps moving as I move the camera. HELP! PLEASE!

First, don’t shout, “HELP! PLEASE!”

Second, the light’s position is multiplied by the current state of the GL_MODELVIEW matrix. Therefore, to make the spotlight stationary, set the light after you set up the camera matrix.

Sorry For shouting. Deadlines make me a little crazy. Thanks for the help.

i know you!!! Long time no see, this is Bryan and I was searching for the same answer as you, you need to use the spotlight section in our book but mine doesnt work right. See You Later