Game Feel Library
← Browse
VFXAdvanced

Death Dissolve

Enemies burning away into glowing fragments instead of blinking out — a death worth watching.

vfxshaderdeathfeedback

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

Dissolve Time900ms
Corpse Delay400ms

Use Cases

Action gamesARPG enemiesSci-fi and magic deathsBoss phases

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

Implementation

Paste this into your AI assistant (Cursor, Copilot, Claude) to add the effect to your project.

Prompt
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

Comments