Advertisement

Light problem in openGL!!

Started by December 01, 2001 03:12 AM
3 comments, last by Khayman 23 years, 2 months ago
Im just starting with the lighting ... i can create a ambiant light, a diffuse light, but the light follow me everywhere ... i think GL_POSITION is working with GL_Translatef or something like that. if some one can give me a few command for a independant light i would be grateful!!!!
Look up glLightfv and the GL_POSITION parameter
-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
Advertisement
I dont have any help or something like that...
Can u give me a good site with lot of command
and the parameter of these command ...
tk

Try http://msdn.microsoft.com/library/.
http://fly.cc.fer.hr/~unreal/theredbook/chapter06.html
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.

This topic is closed to new replies.

Advertisement