Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    LINE_FRAGMENT_SHADER: string = ...

    Fragment shader for standard line rendering.

    Computes the shifted-truncated super-Gaussian perpendicular cross-section (beta = 2^(6s - 2), beta=2 is a truncated Gaussian) plus fragment-side cap factor so the segment body reaches the documented full intensity. Under LUXAR_VOLUMETRIC the output switches to the emission–absorption branch (τ = κ × the same ray mass every other mode emits). The picking system uses a different fragment shader (see picking/line-picking-material.ts).