OptionalcaptureHow the engine's captures relate to WebGPU's cube convention (./capture.ts, D1805 / D2104): axes
mirror (or swap) directions at lookup, free; faces remap the capture's layers and flips as
capture() reads it in (one compute pass in place of the copy; the capture then needs
TEXTURE_BINDING). Default: none. Not together with mirrorX.
OptionaldistanceLagarde's distance-based roughness and roughness lerp on box-projected volumes (D53). Default false.
OptionaldominantLookup options (./lookup.ts).
OptionalenvironmentReserve the last slot for the environment. Default true.
OptionalformatDefault 'rgba16float'.
Optionalframefn frameIrradiance(P: vec3f, N: vec3f) -> vec3f for refit (turns the re-fit on unless refit: false).
OptionallayoutDefault 'cube-hw' (a real cube array); 'cube2d-warp' on a compatibility-mode device (no 'core-features-and-limits'), which can't create cube-array views (D2204).
OptionallodRoughness to mip. Default 'alpha' (D101); 'r187' for three r187's PMREM mapping everywhere.
OptionalmirrorCaptures are x-mirrored (three's CubeCamera): an alias of captureTransform: CAPTURE_MIRROR_X. Default false.
OptionalrefitRe-fit by frameIrradianceWgsl (D803). Default: on when frameIrradianceWgsl is given, else off.
OptionalroughnessOptionalsizeAtlas size (mip 0 face, or octa side). Default sourceSize.
OptionalslotCapture face size per probe slot (D4700), each a power of two >= 64; absent or undefined entries
take sourceSize. Slots of each size share an atlas (sourceSize's first, holding the
environment; at most 4 sizes), so one sharp probe can be 512 beside 256 px ones without 4x the
set's memory. Capture slot s from a cube of slotSize(s). Those atlases are as large as their
captures (size applies to atlas 0 only).
OptionalsourceCapture face size, a power of two >= 64. Default 256 (D23 / D62: mirror-grade; 128 for many
probes or mobile, see the three adapter's BakeOptions.resolution for sizing).
OptionalvisibilityShader stages the bind group is visible to. Default COMPUTE | FRAGMENT.
Probe volumes the set can hold (atlas slots 0 ... capacity - 1).