CultLib/packages/cultmath/shaders
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens d2ff33085f CultMath GLSL: shaders/CultMath.glsl generated from the HLSL by one enumerated lowering, pinned
GlslLowering (test project) is the HLSL -> GLSL ES 3.00 transformation as named steps: includes
inlined by the C# mirror's own resolver, guards and texture functions dropped, type names,
static const, casts by a balanced scanner, intrinsic renames, literals passed through, the
CULTMATH_GLSL guard and a provenance line. GlslMirrorTests pins the committed file to the
lowering (CULTMATH_WRITE_GLSL=1 regenerates it), finds no HLSL-only token, finds every public
function but the texture samplers, and pins fixtures/glsl-parity.json (256 seeded cases per
family as float32 bit patterns) to C#.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 20:09:44 +02:00
..
CultMath.glsl CultMath GLSL: shaders/CultMath.glsl generated from the HLSL by one enumerated lowering, pinned 2026-10-02 20:09:44 +02:00
CultMath.hlsl CultMath HLSL: write the shader in the subset GLSL ES 3.00 shares, bit for bit 2026-10-02 20:09:44 +02:00
CultMath.hlsl.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMath.Interval.hlsl CultMath intervals: comments name the gradient without the snoise_grad/fbm_grad tokens 2026-10-02 19:57:01 +02:00
CultMath.Interval.hlsl.meta CultMath intervals: cultmath_iv_* over float2(lo, hi) in C# and HLSL, with snoise and fbm ball bounds 2026-10-02 19:52:33 +02:00
CultMath.Phacelle.hlsl CultMath HLSL: write the shader in the subset GLSL ES 3.00 shares, bit for bit 2026-10-02 20:09:44 +02:00
CultMath.Phacelle.hlsl.meta CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00