PDA

View Full Version : lightning help



wXm
02-09-2002, 11:35 PM
hi. Im pretty new to openGL and i think so far its great.

but i dont seem to get the light position right.

example : when i rotate an object lets say 90 deg. the light follows it so the dark sida of the object is on the wrong side.

probebly some easy thing i missed. but i cant find it.

please help.

(sorry for the spelling)

wXm
02-09-2002, 11:56 PM
sorry.. i found it http://www.opengl.org/discussion_boards/ubb/smile.gif..