UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

9 lines 424 B
/** * GGX diffuse distribution function * @see https://google.github.io/filament/Filament.md.html#listing_diffusebrdf * @param {number} NoH dot(n,h) where n is surface normal and h is half unit vector between incident light and outgoing light (view vector) * @param {number} roughness * @returns {number} */ export function diffuse_GGX(NoH: number, roughness: number): number; //# sourceMappingURL=diffuse_GGX.d.ts.map