I'm just getting started with OpenGl and already I have a problem. I need my light source to rotate in 3d with the mouse. I already have it rotating on the x and y axes, but I need the light source to go behind the object and then appear again. Any help?
Thanks.




