| Main Menu | TOC | Previous | Next | Lecture Start |
Ambient IntensityLight sources do not contribute to the ambient lighting in a scene unless you so specify.
GLvoid glLightfv( GLenum light, GL_AMBIENT,
const GLfloat *params )
|
| Main Menu | TOC | Previous | Next | Lecture Start |
Notes:
The GL_AMBIENT parameter refers to the RGBA intensity of the ambient light that a particular light source adds to the scene.
By default, light sources do not contribute to the ambient lighting in a scene. That is, the default ambient intensity is (0.0, 0.0, 0.0, 1.0) for all lights.
| Main Menu | TOC | Previous | Next | Lecture Start |