You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-05-06-Microfacet-Theory.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,14 +72,28 @@ If the microsurface is a heightfield, which is typically the case for microsurfa
72
72
73
73
$$ G_2(l, v, m) = \lambda(\phi)G_1(v, m)G_1(l, m) + (1 - \lambda(\phi))\min(G_1(v, m), G_1(l, m)) \tag{9.28}$$
74
74
75
-
where $\lambda(\psi)$ is some function that increases from 0 to 1 as the angle $\psi$ increases. Ashikhmin et al. suggested a Gaussian with a standard deviation of $15^\circ$(? 0.26 radians):
75
+
where $\lambda(\psi)$ is some function that increases from 0 to 1 as the angle $\psi$ increases. Ashikhmin et al. suggested a Gaussian with a standard deviation of $15^\circ$( 0.26 radians):
76
76
77
77
$$\lambda(\psi)=1-e^{-7.3\psi^2} \tag{9.29}$$
78
78
79
79
A different $\lambda$ function was proposed by van Ginneken et al.:
Regardless of the relative alignment of the light and view directions, there is another reason that masking and shadowing at a given surface point are correlated. Both are related to the point's height relative to the rest of the surface. The probability of masking increases for lower points, and so does the probability of shadowing. If the Smith masking function is used, this correlation can be precisely accounted for by the *Smith height-correlated masking-shadowing function*:
where the function $\lambda(v, l)$ could be an empirical function such as the ones in Equations 9.29 and 9.30, or one derived specifically for a given NDF.
92
+
93
+
Out of these alternatives, Heitz recommends the height-correlated form of the Smith function (Equation 9.31) since it has a similar cost to the uncorrelated form and better accuracy. This form is the most widely used in practice , though some practitioners use the separable form (Equation 9.27) .
94
+
95
+
The general microfacet BRDF (Equation 9.26) is not used directly for rendering. It is used to derive a closed-form solution (exact or approximate) given a specific choice of micro-BRDF $f_\mu$. The first example of this type of derivation will be shown in the next section
0 commit comments