Light
defines the attributes of a light element. This class is abstract and intended to be sub-classed by specific lighting types. A light will illuminate portions of the scene by assigning its properties to the objects in the scene. This will affect the objects color values, depending on the color of the ambient, diffuse and specular light components. Ambient light defines the general light of the scene, that is the intensity and color of lighting if no particular lights are affecting it. Diffuse lighting defines the reflection of light on matte surfaces. Specular lighting defines the reflection of light on shiny surfaces.
All light source types have a color.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|