Now I have my 120FPS quadtree dynamic-LOD terrain engine with ms3d support, environment, skybox, collision detection, physics and stuff I need lighting I''ve read about the basics of GL lighting (which I have decided I am going to use), but I have a few problems.. first of all, when the camera moves, the light does too - I want the light to be relative to the world, not the camera! Second of all, oh wait.. that''s all.
I''m sure people can help
AFAIK, you can forget about using OpenGL lighting, as it is relative to camera and thus probably not intended for interactive scenes where user has control over movement. You should use (pre-calculated) lightmaps for your geometry.
To zedgeek - yay thanks.. FAQ tells me all I had to do was set the light position after translation. To "Anonymous Poster" - ummmm not a good idea. That way we can completely ignore hardware T&L features.