Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    interface PointTSLConfig {
        useColormap?: boolean;
        gammaOne?: boolean;
        noGOG?: boolean;
        useMaxRGBContribution?: boolean;
        blendingMode?: BlendingModeName;
    }
    Index
    useColormap?: boolean
    gammaOne?: boolean

    When true (gamma == 1.0), the per-fragment / pre-LUT gamma pow() is skipped — pow(x, 1) == x. Mirrors the GLSL3 LUXAR_GAMMA_ONE define. The material wrapper sets this from the presence of that define and toggles it on updateGamma.

    noGOG?: boolean

    Fast path: skip the vColor * uIntensity + uOffset GOG chain (and its max(..., vec3(0)) clamp) when the wrapper knows intensity == 1 && offset == 0 — the default and most common configuration. Mirrors the GLSL3 LUXAR_NO_GOG define and the line factory's noGOG flag (three-geometry symmetry).

    useMaxRGBContribution?: boolean

    When undefined, derived from blendingMode === 'max'. Explicit config still wins so callers can decouple shader output from framebuffer blending (rare but supported).

    blendingMode?: BlendingModeName

    Luxar blending mode. The factory configures the matching THREE state via getPointBlendingState + applyBlendingStateToMaterial. Defaults to 'additive' to match the GLSL wrapper class.