sdfSplats.package
README.md
SdfSplatShape
Makes its entity a signed-distance shape painted with Gaussian splats,
re-surfaced on the GPU every frame — the no-code way to put procedural splat
objects in a scene. Choose a primitive (sphere, box, torus, capsule,
cylinder, cone, octahedron, blob), colours, glow and a splat budget; the
entity's world transform places, turns and scales it. Animate it by changing
fields: morph flows the surface from shape into morphTo, wobble
breathes it, moving the entity moves the strokes.
local e = entity.spawn("orb")
e.localPosition = { 0, 1.5, 0 }
e.component.add("SdfSplatShape", { shape = "torus", morphTo = "sphere", morph = 0.3, splats = 12000 })
Pair it with PixelPalette for a pixel-art look. Fields are each peer's own.