pdf_GGX
pdf_GGX(NoH, HoV, roughness) ⇒ number
Returns the PDF for a particular GGX sample after reflecting the view vector about a microfacet normal (includes the Jacobian for going from half vector to lighting vector)
N = surface normal L = light direction V = view direction H = normalize( V + L )
Kind: global function
Param | Type | Description |
---|---|---|
NoH | number | dot product of N and H |
HoV | number | dot product of H and V |
roughness | number |