Skip to main content
GameDev.net gamedev.net
🔒 Locked

light on

Started by jwaeldele Jan 4, 2002 at 4:54 AM 1 replies 200+ views
Original Post
jwaeldele
jwaeldele
i created a opengl landscape. now i want to add sunlight. how?
feagle814
feagle814
Try browsing Nehe''s tutorials for lighting.
Crash_Kid
Crash_Kid
There different ways to do lighting.

-lightmaps
or
-glNormal3f();
or
-lighting by the color values from the landscapetexture

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.