diffuseSphericalHarmonics property

List<Vector3> get diffuseSphericalHarmonics

The kDiffuseShCoefficientCount RGB L2 spherical-harmonic coefficients describing the diffuse (Lambertian) irradiance.

The Lambertian cosine convolution and the 1/pi BRDF term are already folded in, so the shader just evaluates the polynomial and multiplies by the diffuse albedo. All zero for EnvironmentMap.empty.

Implementation

List<Vector3> get diffuseSphericalHarmonics => _diffuseSphericalHarmonics;