The coordinates of these light sources are in display coordinates. The parts of the object which are not illuminated by the light sources are colored by the AmbientLight option. To make a more complex type of surface one can use the SurfaceColor directive. Function Evaluation Mathematica provides a number of ways to color a function according to an evaluation. Some ways to color plots by function evaluation.
Height is determined by the first element of the list and the color by the second.
It also exists for the Graphics primitive Raster . It must be set to a function of one argument. This is given the height at each point of the array scaled to run from 0 to 1. It must return a color directive. Regions which are red will be the very highest or the very lowest since Hue wraps around.