THREE.JS / FOUNDATIONS — PMREM VALIDATION
One bright pixel.
Compare the pinned PMREM approximation against a matched DirectionalLight: a single bright radiance sample, a white/black metal/dielectric grid, and a clear switch between environment and direct-light paths.
Initializing PMREM testWebGL2
Preparing the radiance pixel and material grid.
Study issue
- BACKEND
- —
- MODE
- —
- SOURCE
- —
- PMREM
- —
- GRID
- —
- SAMPLE
- —
- BUILDS
- —
Comparison controlsPMREM / DIRECTIONAL
Directional-light approximation contract
The pinned study compares one high-radiance equirectangular pixel against a DirectionalLight aimed at the same spherical direction; the material grid makes roughness and conductor/dielectric differences visible.
Derived from the official WebGL PMREM test, pinned source, PMREMGenerator, and MeshPhysicalMaterial contracts. This bounded study does not claim whole-example fidelity.