Shared constants for the Points/Lines shifted super-Gaussian sprite falloff.
Lives in _shared/ (not under point/ or line/) because the profile is
geometry-agnostic: points evaluate it radially and lines perpendicular to the
segment, and the GLSL/TSL twins of BOTH geometries — plus both picking
shaders — must emit identical literals (the tsl-shader-parity harness and
the codegen snapshots depend on it). Same rationale as volumetric.ts.
The profile is
falloff(rho) = max(0, exp(-K * rho^beta) - C) / (1 - C)
on the normalized sprite coordinate rho in [0, 1], where C is the value
the untruncated kernel would have at the sprite edge — so the shifted profile
reaches exactly 0 there, with no discontinuity.
Shared constants for the Points/Lines shifted super-Gaussian sprite falloff.
Lives in
_shared/(not underpoint/orline/) because the profile is geometry-agnostic: points evaluate it radially and lines perpendicular to the segment, and the GLSL/TSL twins of BOTH geometries — plus both picking shaders — must emit identical literals (thetsl-shader-parityharness and the codegen snapshots depend on it). Same rationale asvolumetric.ts.The profile is
on the normalized sprite coordinate
rhoin [0, 1], whereCis the value the untruncated kernel would have at the sprite edge — so the shifted profile reaches exactly 0 there, with no discontinuity.