Game Development Reference
In-Depth Information
3-D geometry (Pighin et al., 1998; Liu et al., 2001). The N light maps L i ( u ) can
be computed off-line with the same surface normal information n ( u ), but with
different light source configurations. In our experiments, we use one constant
light map L 0 representing ambient illumination while the other light maps are
calculated assuming Lambert reflection and point-light sources located at infinity
having illuminant direction l i
()
()
L
u
=
1
0
{
()
}
(5)
L
u
=
max
n
u
l
,
0
,
1
i
N
1
.
i
i
This configuration can be interpreted as an array of point-light sources whose
intensities and colors can be individually controlled by the parameters
C
i
. Figure
2 shows an example of such an array with the illuminant direction varying
between -60° and 60° in longitudinal and latitudinal direction, respectively.
α
Figure 2: Array of light maps for a configuration with 7 by 7 light sources.
Search WWH ::




Custom Search