C3DLight::SetAmbient |
Top Previous Next |
Syntax: light.Create(s,LIGHT_POINT,1)
Class Hierarchy Ambient lighting provides constant lighting for a scene. It lights all object vertices the same because it is not dependent on any other lighting factors such as vertex normals, light direction, light position, range, or attenuation. It is the fastest type of lighting but it produces the least realistic results.
Each light object that has an ambient color adds to the total ambient lighting in the scene. Although Direct3D uses RGBA values for lights, the alpha color component is not used. |