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

    Module rendering/picking/_shared/visibility-tsl

    TSL pick visibility weight — twin of GLSL_PICK_VISIBILITY (./visibility-glsl.ts, which carries the rationale): the per-element alpha factor (optical depth under volumetric), the node opacity and the visual discards' max(gain, 1).

    uVolumetric is a runtime uniform (not a graph flag, unlike the visual factories' compile-time blending branch) so a blending-mode change never rebuilds a pick graph; the pick pass is half-resolution and rare, and both arms are a handful of ALU.

    PickVisibilityTSLNodes
    createPickVisibilityTSLNodes
    proxyPickVisibilityUniforms
    pickVisibilityTSLNodesFromUniforms
    pickAlphaFactorTSL
    pickWeightTSL