Skip to content

projectIrradianceSH

projectIrradianceSH(env): Float32Array

Defined in: sdk/src/lightmap/environmentAtlas.ts:85

Project the panorama onto nine RGB coefficients, convolved with the clamped cosine lobe and divided by π — the same nine a probe solve produces, through the same basis, because one expression in the shader reads them both.

Panorama

Float32Array