SphericalHarmonics
Spherical harmonics coefficients for diffuse irradiance.
Parameters
bands
Number of SH bands (1, 2, or 3 — determines coefficient count: 1, 4, or 9).
coefficients
Packed RGB SH coefficients; length must be bands² × 3.
Types
Link copied to clipboard
object Companion
Built-in ambients with no texture to load: IndirectLight(irradiance = SphericalHarmonics.Daylight). They give PBR models shape in their shadows before you have an environment of your own. They have no reflections, so metals look dull. Baked with cmgen from Filament's CC0 environments and scaled to the same average brightness, so they swap at the default intensity; rotation turns the brightest side.