PDA

View Full Version : Trouble with Lights



04-25-2002, 12:15 AM
Hi all,

I have trouble with Light orientation.
I used gllight with GL_POSITION to position my light (the w coord is set to 1 ) and I want to change its direction. So I used gllight again with GL_SPOT_DIRECTION. But nothing change : the light have the same direction z axis !!!

Can you help me ?

Thanks for helping

JLuc ;o)

satan
04-25-2002, 02:56 AM
http://www.opengl.org/developers/faqs/technical/lights.htm?glLight#first_hit