Shared constants for the volumetric (emission–absorption) blending
mode — VOLUMETRIC_BLENDING_SPEC.md.
Lives in _shared/ (not gsplat/math.ts, their original home)
because the math is geometry-agnostic: gsplats (phase 1–2) and points
(phase 3) both evaluate the S(τ) self-screening and the alpha →
optical-depth map, and the GLSL/TSL twins of BOTH geometries must
emit identical literals (the tsl-shader-parity harness and the
codegen snapshots depend on it).
Shared constants for the volumetric (emission–absorption) blending mode — VOLUMETRIC_BLENDING_SPEC.md.
Lives in
_shared/(notgsplat/math.ts, their original home) because the math is geometry-agnostic: gsplats (phase 1–2) and points (phase 3) both evaluate the S(τ) self-screening and the alpha → optical-depth map, and the GLSL/TSL twins of BOTH geometries must emit identical literals (thetsl-shader-parityharness and the codegen snapshots depend on it).