Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module rendering/materials/_shared/volumetric

    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).

    ALPHA_CLAMP
    VOLUMETRIC_SERIES_TAU_THRESHOLD
    VOLUMETRIC_TAU_EPS
    VOLUMETRIC_SERIES_C1
    VOLUMETRIC_SERIES_C2
    VOLUMETRIC_SERIES_C2_DIVISOR