THREE.JS / FOUNDATIONS — WEBGPU PMREM CUBEMAP
Six faces, one field.
A bounded study of the official cubemap PMREM contract: six deterministic faces, a native environment node or fallback PMREM target, and a 6×5 physical-material grid spanning roughness and metalness.
Initializing cubemap PMREM—
Preparing six face fixtures and the material grid.
Study issue
- BACKEND
- —
- SOURCE
- —
- PMREM
- —
- GRID
- —
- SAMPLE
- —
- BUILDS
- —
Cubemap controlsPMREM / MATERIAL GRID
Cubemap PMREM contract
Each sphere maps one roughness column and one metalness row. Native WebGPU uses the TSL pmremTexture path from the pinned example; WebGL2 uses a PMREMGenerator target as an explicit fallback.
Derived from the pinned official WebGPU PMREM cubemap example and PMREMGenerator contract. This bounded study uses deterministic local face fixtures and does not claim official HDR assets, Inspector/presentation, exact pixels, device matrix, or whole-example fidelity.