Even if there is no light falling directly from some light source onto the object it will still be seen, since light is partially reflected or scattered by neighboring objects or even the air. This would by far be too time consuming to calculate directly by a raytracer so one simulates this ambient light by the following clause in the finish statement:
ambient TWhich says that the fraction of the ambient light (by default of
rgb color 1
)
will contribute to the color of the object.
This light depends neither on the position of the object, nor the viewing angle,
nor has ambient light a fixed position in space
but it fills the whole space uniformly.
So the intensity it contributes to a point on the surface of an object with ambient value T is given by
Andreas Kriegl 2003-07-23