Trouble with Lights

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)

http://www.opengl.org/developers/faqs/technical/lights.htm?glLight#first_hit