Light points in a 3d world

i am trying to get a light source to begin at the origin of the system, I have objects rotating around the light source. The problem is that I can’t get the light to reflect off the surface facing the light source, it reflects the light is if it was coming from the behind the viewer. If anyone knows what i am doing wrong please help.

The light position is transformed by the current
modelview matrix. Set the light position after
you set the matrix.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.