Death Dissolve
Enemies burning away into glowing fragments instead of blinking out — a death worth watching.
Examples
Captured from this page's own interactive demo below.
Overview
A death dissolve replaces the worst frame in games — an enemy blinking out of existence — with a short ceremony: the body flashes, then erodes away in fragments with glowing edges, bottom-up or from the wound outward, over half a second to a second.
In 3D this is a shader effect: a noise texture thresholded against a dissolve value that ramps 0→1, with an emissive band painted at the erosion edge. In 2D the same job is often done with staging instead: the corpse falls, lies for a beat, then sinks under the ground with an ease-in — a clip plane doing the shader's work.
The dissolve also solves a real logic problem: the enemy must STOP existing (collision, AI, targeting) on the frame it dies, while its corpse visual finishes dying in its own time. Separate the two — kill the logic instantly, let the visual linger — and combat stays crisp while deaths stay theatrical.
Interactive Demo
press Kill · fall → sink under the ground
Use Cases
Best Practices
Do
- ✓Disable collision, AI, and targeting on the death frame — only the visual is allowed to take its time.
- ✓Paint a bright emissive band at the dissolve edge; the glow is what reads as energy instead of erasure.
- ✓Drive the erosion with noise (or per-fragment stagger) so the body erodes organically instead of wiping linearly.
Don't
- ✕Don't let dissolving corpses block movement or shots — players will bounce off something that looks gone.
- ✕Don't stretch it past a second for common enemies; the ceremony is for the kill, not the cleanup.
- ✕Don't dissolve every enemy identically — vary the direction and speed with the killing blow.
Common Mistakes
- ⚠Keeping the collider alive during the dissolve, so corpses eat bullets meant for the next enemy.
- ⚠A linear alpha fade instead of a thresholded erosion — the body ghosts away instead of burning away.
- ⚠Spawning loot after the full dissolve finishes, adding a second of dead time before the reward.
Implementation
Paste this into your AI assistant (Cursor, Copilot, Claude) to add the effect to your project.
Add the "Death Dissolve" game-feel effect to my project: Enemies burning away into glowing fragments instead of blinking out — a death worth watching.
How it works: A death dissolve replaces the worst frame in games — an enemy blinking out of existence — with a short ceremony: the body flashes, then erodes away in fragments with glowing edges, bottom-up or from the wound outward, over half a second to a second.
Guidelines:
- Disable collision, AI, and targeting on the death frame — only the visual is allowed to take its time.
- Paint a bright emissive band at the dissolve edge; the glow is what reads as energy instead of erasure.
- Drive the erosion with noise (or per-fragment stagger) so the body erodes organically instead of wiping linearly.
Avoid:
- Don't let dissolving corpses block movement or shots — players will bounce off something that looks gone.
- Don't stretch it past a second for common enemies; the ceremony is for the kill, not the cleanup.
- Don't dissolve every enemy identically — vary the direction and speed with the killing blow.
Implement the effect in whatever engine/stack the project already uses and follow its existing code style. Wire it up where it makes sense.References
Related Effects
Flick
Flashing the hit object itself white (or a color) for a few frames — also known as hit flash.
Particle Burst
A radial spray of short-lived particles that marks an impact or a pickup.
Screen Fader
Fading the screen to black to hide scene changes and frame transitions cleanly.
Comments
…