Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
1/4
FX Dissolve Shader – Spectacular transitions and realistic edge effects! Easily customizable, perfect for sci-fi, magical, or post-apocalyptic games!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.19f1
Compatible
Not compatible
Not compatible
Description

Dissolve FX Shader – Dynamic disappearance effects for Unity! Adjust the speed, colors, and bring your scene to life with this professional shader!







For a list of features, see Technical Details

Technical details

🎨 Shader: Custom/DissolveShaderWithEdge

  • 🖼️ _MainTex (Main Texture): The base texture of the object. It's customizable and determines the appearance of the object’s surface.
  • 🎨 _MainColor (Main Color): A tint applied to the main texture, giving the object an overall color adjustment.
  • 🌊 _NoiseTex (Noise Texture): A texture used to create random noise that drives the dissolving effect.
  • 💨 _DissolveAmount: Controls the amount of dissolve effect. Ranges from 0 (no dissolve) to 2 (fully dissolved).
  • 🖌️ _EdgeColor (Edge Color): The color of the dissolve's edge. This creates a glowing outline effect where the object is dissolving.
  • 📏 _EdgeWidth (Edge Width): Determines the width of the dissolve's edge. Smaller values mean thinner, more defined edges, while larger values create wider, softer edges.
  • ➡️ _DissolveDirection (Dissolve Direction): A vector defining the direction in which the dissolve effect spreads across the object.
  • 🔄 _DissolveRange (Dissolve Range): Defines the range of positions where the dissolve effect is active. It helps control the starting and ending points of the dissolve process.

🧪 Shader Functionality:

  1. ✨ Dissolve Effect: The shader uses noise textures and the world position of each fragment to calculate how much of the object should be dissolved. The dissolve effect progresses from the base texture outward, influenced by both noise and dissolve direction.
  2. 🌟 Edge Effect: When dissolving, the shader calculates an edge effect where the object's boundary glows or highlights with a color, creating a nice transition between the object and the surrounding space.
  3. 💡 Lighting: Standard lighting calculations are included to ensure the object is lit realistically, factoring in light direction, ambient light, and object normals.
  4. 🎚️ Transparency: The final color is calculated based on the dissolve factor and edge effect, determining how much transparency is applied as the object dissolves.

⚙️ Dissolve Effect Script:

  • ⏳ Duration: Controls how long the dissolve effect will take to complete.
  • ⏱️ Delay: Specifies a wait time before the effect starts.
  • 🔄 TriggerDissolve(): Starts the dissolve effect when called.

Functionality:

  • The script smoothly animates the dissolve effect over time using a coroutine, updating the _DissolveAmount property of the material to transition from fully visible to fully dissolved.

FX Dissolve Shader

(not enough ratings)
1 users have favourite this asset
(1)
$15
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
137.5 KB
Latest version
1.0
Latest release date
Jan 24, 2025
Original Unity version
2021.3.19
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR