UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

16 lines 543 B
/** * 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 ) * * @param {number} NoH dot product of N and H * @param {number} HoV dot product of H and V * @param {number} roughness * @returns {number} */ export function pdf_GGX(NoH: number, HoV: number, roughness: number): number; //# sourceMappingURL=pdf_GGX.d.ts.map