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

    Module rendering/post-processing/fxaa/fxaa.tsl

    FXAA TSL factory — NodeMaterial counterpart to the GLSL3 shader in shaders.ts.

    Implements the same FXAA Quality preset as the GLSL version: Rec.601 luma → local-contrast early-out → diagonal-tap sub-pixel blend → edge-direction step → 0.5-pixel mix.

    Reads uInput (the LDR texture) and uResolution. Uniforms are threaded in via the factory parameter so the WebGL fallback and the WebGPU path share one source of state.

    fxaaWebGPUFactory