Function: ambientFromSphericalHarmonics()
function ambientFromSphericalHarmonics(coefficients: ArrayLike<number> | undefined): AmbientLightSpec | null;
Defined in: threejs-environment/src/light-estimate.ts:57
The ambient term of an estimate, or null when the runtime sent no probe.
Only the first three floats are read. The higher bands describe which direction the light comes FROM, and an ambient light has no direction to put them on; the key light below carries that information instead.
Parameters
| Parameter | Type |
|---|---|
coefficients | ArrayLike<number> | undefined |
Returns
AmbientLightSpec | null