advanced

#32 Dissolve Effect

Noise-based dissolve for spawn and death

The dissolve effect appears in death animations, teleportation, and spawning sequences. It works by comparing FBM noise at each pixel against a time-varying threshold — pixels below the threshold disappear, creating an organic erosion pattern. The magic is at the boundary: pixels near the threshold get a bright orange-to-white emission glow, simulating a burning or energy edge.

Key Concepts

Try this shader live in the Shader Sandbox editor with real-time preview.
Open in Sandbox

Source Code


    
← Previous Health Bar Next → Sprite Outline

All Tutorials