Sprite Shatter FX (VFX Graph) breaks any sprite into pieces on the GPU. Pick a sprite, choose how it breaks, watch it in the live preview, and place it in your scene or spawn it from code with one line.
Every effect is a single VFX Graph system. Each shard is a particle, not a GameObject, so you can break dozens of sprites at the same moment without spikes. In a Windows build on an RTX 3070 Laptop GPU, 60 effects at once (15,360 shards) ran at about 1 ms per frame.
DESIGN IT IN THE EDITOR
Open Tools > CoreBit > Sprite Shatter FX (VFX Graph), drop in a sprite and press Play. Every change shows up right away in the live preview. Start from one of 8 built-in presets (Default, Hard Crash, Gentle Fade, Fire Burst, Ice Break, Pixel Dust, Tumble Shards, Floor Bounce), then tune the grid, direction, force, gravity, spin, 3D tumble, colour, turbulence, speed limit, floor bounce and shard masks. Save your own presets and move them between machines as JSON. When it looks right, press Shatter & Bake to put it in the scene, or Save as Prefab to spawn it at runtime.
ONE LINE AT RUNTIME
SpriteShatterVFX.Spawn(prefab, spriteRenderer) copies the sprite, position, rotation, scale, flip, colour and sorting, hides the renderer, bursts, and cleans itself up when the last shard is gone. Call Prewarm while a level loads to skip the first-spawn setup cost.
FULLY CUSTOMIZABLE
Every value of the designer is also available from code. Use your own mask shapes for the shard edges. The full C#, HLSL and Shader Graph source is included if you want to extend the effect.
GOOD FOR
Platformers, arcade and action games, shooters, puzzle and match-3 games, and casual mobile games on devices with compute shader support. Break enemies, crates, rocks, gems, coins, UI-style sprites and pickups.
Already using Sprite Shatter FX (Particle System)? Its exported JSON presets load straight into this edition. For WebGL or the Built-in render pipeline, use the Particle System edition.
Includes a demo scene, a PDF guide and an in-editor help window. The designer window has three themes: Midnight, Graphite and Daylight.