A baked environment map (environment/faces-<digest> in the store) as a three
CubeTexture.
The store carries the RAW capture — six faces of IEEE half-float bits, RGBA, in
three's px, nx, py, ny, pz, nz order — and three prefilters (PMREM) it at load, on
either backend, the moment it is assigned to scene.environment. Storing the raw
faces rather than a prefiltered map keeps the prefilter math three's and the file
small (a 128 px cube is ~0.8 MB of halves before zstd).
Orientation: the faces retain the capture target's raw texel row order and are
uploaded here with flipY = false, so every texel lands where the target had it. The
header's coordinate_system records the capturing renderer's API surface.
A baked environment map (
environment/faces-<digest>in the store) as a threeCubeTexture.The store carries the RAW capture — six faces of IEEE half-float bits, RGBA, in three's
px, nx, py, ny, pz, nzorder — and three prefilters (PMREM) it at load, on either backend, the moment it is assigned toscene.environment. Storing the raw faces rather than a prefiltered map keeps the prefilter math three's and the file small (a 128 px cube is ~0.8 MB of halves before zstd).Orientation: the faces retain the capture target's raw texel row order and are uploaded here with
flipY = false, so every texel lands where the target had it. The header'scoordinate_systemrecords the capturing renderer's API surface.