next up previous contents index
Next: Making an Object into Up: Lighting the Scene Previous: Directional Lighting

Ambient Lighting

   

Objects not hit by direct light (from a point light or directional light) appear completely black. Ambient lighting lights every surface in the scene evenly. A small amount of ambient lighting can be used to make unlit surfaces visible.

Ambient lighting is created using the command:

  object new_ambient_light(double red, double green, double blue);

Lighting examples are shown in Table 5.



Sophie Day
Fri Feb 20 15:47:19 NZDT 1998