diffuse_GGX
diffuse_GGX(NoH, roughness) ⇒ number
GGX diffuse distribution function
Kind: global function
See: https://google.github.io/filament/Filament.md.html#listing_diffusebrdf
Param | Type | Description |
---|---|---|
NoH | number | dot(n,h) where n is surface normal and h is half unit vector between incident light and outgoing light (view vector) |
roughness | number |