Game Development Reference
In-Depth Information
Figure 10.2. The left image shows a scene in which shadows have been generated using the
shadow mapping technique. The right image shows the shadow map in grayscale, where brighter
values represent a greater depth from the perspective of the light source. Where the shadow map
appears to be missing pieces of the terrain, geometry has actually been culled because it lies
outside the shadow casting region illustrated in Figure 10.1. ( Image from the C4 Engine, courtesy
of Terathon Software LLC. )
z =
Figure 10.3. A shadow map is rendered in the coordinate system of the light source. The z
points in the direction that the light is shining and represents depth. The x and y axes are aligned to
the s and t directions in the shadow map. (The x axis points out of the page in this figure.)
Search Nedrilad ::

Custom Search