if i understand the function right it determines how light reflects off the surface right.
Yeah but it can be said for a lot of other GL commands …
glNormal defines the vector perpendicular to the next glVertex. It should be unit length.
Have a look here, in the middle of the page there is a good image of this :
what are the light constants and examples of.
im using gllookat to move around my world. the light position is suppose to be at 0,0,5,1. im not sure if its suppose to be 0,0,5,0 but i’ve tried both. when i move to the other side of the object its still lit up. im also using glnormal3f.
Can you post your code?
Remember that the light position is transformed by the current modelview matrix when set.