
908 Chapter 20 Special Effects Using Shaders
(a) (b)
Figure 20.4 (a) A plane and sphere illuminated by an ambient light and a spotlight with spot
exponent 1. (b) A wireframe view of the ground.
Figure 20.5 A plane and sphere illuminated by an ambient light and a spotlight with spot
exponent 32.