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

    Three's MeshPhysicalNodeMaterial behind the Luxar leaf-material surface (WebGPU).

    Constructed by MaterialManager.getMeshPhysicalMaterial through the TSL registry; configured entirely by applyPhysicalMeshConfig, which the WebGL twin shares.

    Hierarchy

    • MeshPhysicalNodeMaterial
      • PhysicalMeshTSLMaterial
    Index
    • Three's variants, then the refraction-shift edge apodization (the twin of the GLSL wrapper's onBeforeCompile patch — see ./refraction-apodization.ts).

      Parameters

      • builder: NodeBuilder

      Returns void

    • One live physical knob from the Layers panel (clamped; rebuilds on a zero crossing).

      Parameters

      • key:
            | "roughness"
            | "metalness"
            | "clearcoat"
            | "clearcoat_roughness"
            | "iridescence"
            | "sheen"
            | "transmission"
            | "ior"
            | "thickness"
            | "attenuation_distance"
            | "dispersion"
      • value: number

      Returns void