Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Mega-shader TSL factory. Returns a NodeMaterial whose fragmentNode evaluates the configured pipeline.

      The uniforms table must include the full set the GLSL3 shader reads: uHdrScene, uResolution, uExposure, uGlobalOffset, uGlobalGamma, plus the lens-distortion / bloom / vignette uniforms when their respective use* flags are set in config.

      Parameters

      • uniforms: Record<string, THREE.IUniform>
      • config: MegaTSLConfig = {}
      • OptionaloutMaterial: NodeMaterial

      Returns NodeMaterial