< Zurück | Inhalt | Weiter >

10.3 AmbientLight

AmbientLight simply inherits the properties defined in the base−class Light object. AmbientLight

instances illuminate a scene evenly, without direction or attenuation characteristics. AmbientLights are useful in illuminating the dark areas left by the other types of Light. Because an AmbientLight does not possess a direction, it lights a scene with an even, flat light. Because this kind of light does very little to increase 3D perception, it is typically used in combination with one of the other lights.

AmbientLights are very simply handled by the rendering engine (illumination is independent of surface orientation). Thus, they are, computationally, the cheapest of the types of Light.

NOTE AmbientLight is a cheap approximation of many diffuse light sources, such as in a well−lit office building with many windows and overhead lighting.