Builtin Library
README.md
VelocityDilation
How far a moving surface's velocity reaches past its own silhouette, authored on an entity.
local id = entity.spawn("velocity_dilation").id
entity(id).component.add("VelocityDilation", { radius = 2 })
| field | default | meaning |
|---|---|---|
radius | 2 | Neighbourhood radius in pixels. Each texel takes the velocity of the closest surface within this many texels. 0 leaves the velocity buffer as the geometry passes wrote it. |
The field is live: editing it in the inspector re-pushes it. Removing the last one in the scene releases the passes.
For runtime control — a quality slider, a photo mode — drive
@builtin::systems.velocityDilation.velocityDilation instead.