Closed leehsiu closed 2 years ago
https://github.com/google/nerfactor/blob/0831990245125736c803651ea918cb62a2866b32/brdf/microfacet/microfacet.py#L57 The shadow term is calculated as g = self._get_g(pts2c, h, normal, alpha=alpha) # NxL
However, according two Equ.(23) in the original BTDF paper it should be G(v,m)G(l,m).
Here only half part is calculated.
Which "Equ.(23)"?
https://github.com/google/nerfactor/blob/0831990245125736c803651ea918cb62a2866b32/brdf/microfacet/microfacet.py#L57
The shadow term is calculated as g = self._get_g(pts2c, h, normal, alpha=alpha) # NxL
However, according two Equ.(23) in the original BTDF paper it should be G(v,m)G(l,m).
Here only half part is calculated.