Advanced search tips: use spaces to require multiple terms (AND), |
for alternatives (OR), wrap phrases in quotes (="a b"), =term for
exact match, 'term to include, !term to exclude, ^term to match
prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to
exclude suffix.
Visibility function (Specular G)
V(v,l,a) = G(v,l,α) / { 4 (n⋅v) (n⋅l) }
such that f_r becomes
f_r(v,l) = D(h,α) V(v,l,α) F(v,h,f0)
where
V(v,l,α) = 0.5 / { n⋅l sqrt((n⋅v)^2 (1−α2) + α2) + n⋅v sqrt((n⋅l)^2 (1−α2) + α2) }
Note the two sqrt’s, that may be slow on mobile, see https://google.github.io/filament/Filament.html#listing_approximatedspecularv
Cook-Torrance approximation of the microfacet model integration using Fresnel law F to model f_m
f_r(v,l) = { D(h,α) G(v,l,α) F(v,h,f0) } / { 4 (n⋅v) (n⋅l) }
Input to a lighting function for a single layer (either the base layer or the clearcoat layer).