Splatgrove
- ..
- .metadata206 B
- README.md660 B
- module.wgsl6.0 KB
README.md
sdf_toolkit
A WGSL library of signed-distance-field and procedural helpers for compute painters: PCG hashing, value noise and fBm, SDF primitives (sphere, ellipsoid, capsule, tapered capsule, torus, rounded box, octahedron, rounded cylinder), smooth min/max and part-preserving unions, rotations (axis and quaternion), even golden-angle / Fibonacci sphere seeding, quadratic Bezier points, ellipsoid surface area and stroke spacing, and luminance / saturation helpers.
Pure functions, no bindings: include it from any compute shader
(#include "sdfSplats.sdf_toolkit", or #include "~.sdf_toolkit" inside the
package). sdf_surface includes it for you.