• Advertisement

Archived

This topic is now archived and is closed to further replies.

GL Lighting

This topic is 6017 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi 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 Thanks, Kieren

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites
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.

Anyway - "fix0red"... thx, bye



Share this post


Link to post
Share on other sites

  • Advertisement