THREE.JS / WEBGPU MATERIAL CONTRACT

Bake light into groups.

The pinned study loads a three-material JSON object whose groups share a baked light map. This route keeps the secondary UV channels, grouped material slots, directional light, and live light-map intensity observable on both backend lanes.

Initializing—
Preparing the grouped lightmap object.
material
—
groups / slots
—
UV channels
—
intensity
—
light map
—
sample avg / p95
—

Native WebGPU uses MeshPhongNodeMaterial; ?backend=webgl is an explicit MeshPhongMaterial reference. The official JSON object, AO/lightmap/bump assets, exact scale/camera/sky, Inspector presentation, broad texture/device/performance matrices, stress testing, and whole-example fidelity remain separate. Official example