Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • CPU reference of the capsule radial profile: max(1 − p², 0)^n with p = distance / radius — what both shader backends evaluate per fragment (the default knob takes the w·w fast path, no pow).

      Parameters

      • p: number
      • sharpKnob: number = 0.5

      Returns number