sphericalHarmonicCoefficients

The third order spherical harmonic coefficients used for the diffuse color of image-based lighting. When undefined, a diffuse irradiance computed from the atmosphere color is used.

There are nine Cartesian3 coefficients. The order of the coefficients is: L0,0, L1,-1, L1,0, L1,1, L2,-2, L2,-1, L2,0, L2,1, L2,2

These values can be obtained by preprocessing the environment map using the cmgen tool of Google's Filament project. Be sure to use the --no-mirror option in cmgen.

See also