Skip to main content

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

ParamTypeDescription
NoHnumberdot(n,h) where n is surface normal and h is half unit vector between incident light and outgoing light (view vector)
roughnessnumber