Graphics Reference
In-Depth Information
E
r
A S
p sc
n
C
dA
α
p
Figure 1.14. Construction of point p sc and computing the intersection area A S .
dA
E
p sc
(0,0)
A S
S
Figure 1.15. Situation from Figure 1.14 visible in 2D on the light plane.
Area specular approximation algorithm. Here is pseudo code of the algorithm to
approximate area specular integral (see Figures 1.14 and 1.15 for reference):
For every shaded point p , find reflection vector r .
Calculate the specular importance cone apex angle α BRDF ( g )frompoint p
and glossiness g ,where α BRDF ( g ) is defined per the BRDF used to model
specular lighting.
Search WWH ::




Custom Search