Figure 11-3. Different material/light types. Left: ambient only. Middle: diffuse only. Right: ambient and diffuse with specular highlight.

In Figure 11-3 we can see the contributions of the different material and light properties. Ambient light illuminates the object uniformly. Diffuse light will be reflected depending on the angle the light rays hit the object; areas that directly face the light source will be brighter, and areas that can't be reached by light rays are dark. In the rightmost image we see the combination of ambient, diffuse, and specular light. The specular light manifests itself as a white highlight on the sphere.

0 0

Post a comment