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

glLight

Started by Mooncabbage Oct 9, 2004 at 3:49 AM 3 replies 1.1k views
Original Post
Mooncabbage
Mooncabbage
Just wondering, what is the difference between glLighti/v and glLightfi/v, and for that matter, the difference between i and v types? Incidentally, and i know this is a little stupid, what do the different glLightfi/v paramaters do? (GL_SPECULAR, GL_DIFFUSE, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, GL_QUADRATIC_ATTENUATION). I don't really understand what it means just reading off the MSDN.
Mooncabbage
Mooncabbage
1) I haven't got 1.
2) The MSDN dun make no sense, except to tell you how the syntax works.
Mooncabbage
Mooncabbage
Thanks. As for the edit, i just thought i should clarify i wasn't going out of my way to waste people's time.

Topic Locked

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

Sign in to reply to this topic.