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

Open GL Lighting question

Started by Zealot Dec 17, 2001 at 1:12 PM 1 replies 300+ views
Original Post
Zealot
Zealot
I was reading in a book I bought, and I found a section that was talking about lighting. It said to set ambient light to 0, and use other lights to create nice looking effects. I was wondering, does OpenGL support this? The book didn''t specify, so I don''t know. Also, what are specular lights in OpenGL? I am rather new to GL so I haven''t even treaded into the lighting field yet. En taro Adun! Doom to all who threaten the homeworld! *Protoss Zealot - Starcraft*
----------------------------------------------------------You know, I might as well go ahead and say I can't fix the problem... because that's when I figure out how.
jenova
jenova
yes, you can set the ambient light to 0, if you want to.

specular lighting is basically the bright, reflective type lighting.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
jenova
jenova
or more definitively, specular lighting demonstrates an objects shininess.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

Topic Locked

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

Sign in to reply to this topic.