next up previous contents index
Next: Point Lights Up: Creating a Mirage Scene Previous: Material

Lighting the Scene

    

There are three types of lighting: point light, directional light and ambient light. Lights are of type object just like the models in a scene. They are positioned in the scene in the same way using transformations. They also need to be linked into the scene using the LINK command.

Lighting uses the RGB colour model which defines the colour by three doubles between 0 and 1 for the amounts of red, green and blue.





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