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

    Module rendering/materials/_shared/erf-tsl

    The TSL half of the erf approximation.

    Split out of erf.ts so that file stays free of three/tsl. The CPU erfRef it exports is used by materials/gsplat/math.ts — a pure number-in/number-out helper on the GLSL path — and a single three/tsl import there was enough to pull the TSL/WebGPU cone into the eager bundle for every WebGL session (issue #1679). Nothing about the maths changed; see erf.ts for the polynomial, its coefficients, and the GLSL twin.

    erfPolyTSL