i
i
i
i
i
i
i
i
7.5. BRDF Theory 241
Equation 7.38 only applies to optically flat surfaces. A generalized
version that can be used to compute a reciprocal, energy-conserving dif-
fuse term to match any specular term was proposed by Ashikhmin and
Shirley [42]:
f
diff
(l, v)=k
norm
(1 − R
spec
(l))(1 − R
spec
(v))ρ, (7.39)
where k
norm
is a constant computed to ensure energy conservation. Given a
specular BRDF term, using Equation 7.39 to derive a matching diffuse term
is not trivial since in general R
spec
() does not have a closed form. Compu-
tation of the normalization constant k
norm
can also be an involved process
(BRDF term normalization is further discussed in Section 7.6). The deriva-
tion of the diffuse term of the Ashikhmin-Shirley BRDF [42] is an example
of the application of Equation 7.39. Kelemen and Szirmay-Kalos [640] also
derived a diffuse term for their BRDF using Equation 7.39; rather than
attempting to derive a closed form for R
spec
(), their implementation used
precomputed lookup tables.
Theoretical considerations aside, the simple Lambertian term shown in
Equation 7.36 is the most commonly used diffuse term in practice.
7.5.5 Microgeometry
The previous sections discussed material properties relating to the compo-
sition or internal structure of the object, with the surface assumed to be
optically flat. Most real surfaces exhibit some roughness or structure that
affects how light reflects from them. Surface detail modeled by a BRDF is
microscale—smaller than the visible scale or, in other words, smaller than a
single pixel. Larger details are typically modeled with textures or geometry,
not with BRDFs. As we discussed in Section 5.3, whether surface struc-
tures are considered to be microscale depends on the scale of observation
as much as on the size of the structures themselves.
Since such microgeometry is too small to be seen directly, its effect
is expressed statistically in the way light scatters from the surface. The
microscale structures or irregularities are assumed to be significantly larger
than visible light wavelengths (approximately 400 to 800 nanometers). This
is because structures have no effect on the light if they are much smaller
than visible light wavelengths. If the size is on the same order as the
wavelength, various wave optics effects come into play [44, 515, 1213, 1345,
1346]. Surface detail on this scale is both difficult to model and relatively
rare in rendered scenes, so it will not be further discussed here.
The most important visual effect of the microgeometry is due to the
fact that many surface normals are present at each visible surface point,
rather than a single macroscopic surface normal. Since the reflected light
direction is dependent on the surface normal (recall Equation 7.30), this