GL Lighting
Started by kieren_j, Jul 31 2001 01:57 AM
3 replies to this topic
#1 Members - Reputation: 100
Posted 31 July 2001 - 01:57 AM
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
Sponsor:
#3 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 01 August 2001 - 02:08 AM
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.
You should use (pre-calculated) lightmaps for your geometry.






