- loader
- -
- file
- -
- size
- -
- bytes
- -
- GPU type
- -
- color space
- -
The decoded panorama feeds the backdrop and the derived lighting representations.
A PMREM is not the only useful representation of an environment. Compare scene-wide IBL, an explicit material envMap, a diffuse LightProbe, and a combined scene-plus-probe path while the visible backdrop stays independent.
Creating the source, cube capture, PMREM, probe, and grounded-backdrop lifecycle.
The decoded panorama feeds the backdrop and the derived lighting representations.
The cube target is the bridge required by LightProbeGenerator.fromCubeRenderTarget().
PMREM stores roughness-aware specular radiance; LightProbe stores diffuse irradiance in nine SH coefficients.
Physical materials inherit the scene PMREM and `Scene.environmentRotation`.
An explicit envMap wins over Scene.environment and uses `material.envMapRotation`.
Diffuse irradiance is reduced to nine spherical-harmonic coefficients and read back from the cube.
Specular PMREM and diffuse probe data coexist, making their ownership and energy additive.
Load the source and choose a contract before sampling post-conversion shading.
`Scene.environmentRotation` affects scene.environment; it does not rotate a material with an explicit `envMap`. The probe is baked in the cube capture's orientation, so rotating the panorama after baking requires a new capture or rotated SH coefficients.
Sources: GroundedSkybox · LightProbe · LightProbeGenerator · SphericalHarmonics3 · official WebGPU light-probe example · official grounded-environment example