CultLib/packages/cultmath/shaders
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 16657fa20f CultMath shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract
Shader overloads stay native (ruling shader-overloads-stay-native): cultmath_segment_closest and
cultmath_distance_to_segment have float2 and float3 forms again, with mirror asserts and fixture families.
The rejected "avoid overloads" comment and design text are gone. The border step's outside-cell behaviour
(distance 0 with that plane's normal) is documented in C# and the HLSL header and pinned by a test; the mirror
and fixture gain distinct sites closer than 1e-2. GLSL and fixture regenerate in the next commit; this one does
not pass CommittedGlslEqualsLowering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:01:16 +02:00
..
CultMath.Affine.hlsl cultmath: one owner of the snoise read's absolute terms (SNOISE_READ_VALUE, SNOISE_READ_GRADIENT) 2026-10-16 06:34:21 +02:00
CultMath.Affine.hlsl.meta Affine forms in HLSL: CultMath.Affine.hlsl mirrors math.Affine.cs bit for bit; iv_snoise_ball(float2); the GLSL lowering carries them 2026-10-04 09:47:49 +02:00
CultMath.Cycles.glsl CultMath: infinite.json written by oracle.py on Yggdrasil (Blender 5.2.2, SSE4.2); CultMath.Cycles.glsl regenerated for the power parity 2026-10-14 04:46:11 +02:00
CultMath.Cycles.hlsl CultMath Cycles: an infinite exponent is even in cycles_power; the oracle's infinite family and the pins for infinite operands 2026-10-14 04:42:39 +02:00
CultMath.Cycles.hlsl.meta CultMath: Cycles node semantics (Math, Map Range, Clamp, Mix, RGB to BW, ramp index) as math.Cycles.cs and CultMath.Cycles.hlsl under Apache-2.0 2026-10-12 03:59:59 +02:00
CultMath.glsl CultMath GLSL: regenerated lowering and parity fixture (power_border_step, segment_closest 3D; 2D segment families removed) 2026-10-16 19:25:41 +02:00
CultMath.hlsl CultMath shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract 2026-10-16 21:01:16 +02:00
CultMath.hlsl.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMath.Interval.hlsl Affine forms in HLSL: CultMath.Affine.hlsl mirrors math.Affine.cs bit for bit; iv_snoise_ball(float2); the GLSL lowering carries them 2026-10-04 09:47:49 +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.glsl CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +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