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

    Pre-created TSL leaf nodes supplied by a wrapper class, mirroring PointTSLNodes / LineTSLNodes. Keys match the public MeshMaterial.uniforms names 1:1 so the wrapper's proxyIUniform table maps straight across.

    The colormap nodes are optional and bound only when the consumer is built with config.useColormap === true; the factory throws if the config says yes but they are missing. texture() captures the THREE.Texture at call time, so a swap needs a fresh node plus a graph rebuild (see the wrapper).

    interface MeshTSLNodes {
        uOpacity: any;
        uInvGamma: any;
        uIntensity: any;
        uOffset: any;
        uAmbient: any;
        uShadeExponent: any;
        uSpecular: any;
        uShininess: any;
        uAlphaCutoff: any;
        uNearCull: any;
        uGlassPartition: any;
        uGlassDepth: any;
        uBaseColorTex?: any;
        uColormapTex?: any;
        uScalarMin?: any;
        uScalarScale?: any;
    }
    Index
    uOpacity: any
    uInvGamma: any
    uIntensity: any
    uOffset: any
    uAmbient: any

    Wrapped-diffuse floor (1.0 removes the diffuse gradient).

    uShadeExponent: any

    Wrap-term contrast exponent.

    uSpecular: any

    Additive specular strength.

    uShininess: any

    Specular highlight exponent.

    uAlphaCutoff: any

    Cutout threshold; read only when the graph was built in opaque mode.

    uNearCull: any

    Near-fade start distance, world units (scene-relative; see the fragment).

    uGlassPartition: any

    Refraction split (glass-partition-tsl.ts): mode + shared glass depth texture.

    uGlassDepth: any
    uBaseColorTex?: any

    Set only when config.useBaseColorTexture is active.

    uColormapTex?: any

    Set only when colormap mode is active.

    uScalarMin?: any
    uScalarScale?: any