|

Lighting Model
The brightness and color of a surface depends on the colors of the light sources and cell color and on the position of the light source. Each light source and cell color has three components: ambient, diffuse, and specular. Ambient light is independent of the position of the light source. Diffuse light reflects off a surface depending on the angle between the surface and light source. Specular light also depends on the angle with a more peaked dependence on the angle. How peaked depends on the shininess value of the cell.
If no lights are turned on, everything will be black.
| White Rock Science http://www.whiterockscience.com/wrs.html 505 672 1105 |
|