Parity — WGSL core vs TSL twin
Four horizontal bands (bottom→top): rayleighPhase, miePhaseCS, hgPhase,
raySphereIntersectNearest. X sweeps the parameter (cosθ ∈ [−1,1] for phases; ray zenith for the sphere
test).
Green = the function value (liveness + shape). Red = |WGSL − TSL| × 500. A correct port shows green
gradients and zero red. The raw per-pixel diff is read back from a float target for a numeric verdict.
running…