- Current Version: 3.1.1: 2024-04-02T11:33:23Z
- First Published: 2023-08-29T12:21:11Z
- Size: 13847904
- Supported Unity Versions: 2021.3.0
Directional Dissolve Shader
NOTE: This asset is also part of the Essential 2D Shaders Bundle – https://assetstore.unity.com/packages/slug/201882
This lit 2D shader allows you to create a surface dissolve effect (e.g. for dying or disappearing enemies) that moves in a predefined direction across the sprite instead of dissolving everywhere on the surface. The shader preserves all default URP shader options (metallic maps, normal maps, emission, ambient occlusion...).
The direction is defined by a black-white gradient texture (easily made with Photoshop's Gradient tool, or other image editing programs). 4 such gradient "noise" textures - horizontal, vertical, irregular and circular gradient - are included in the pack.
Additionally, the dissolve effect has fully customizable thickness, emission and speed.
Shader options:
- Albedo Texture
- Albedo Color
- Alpha Cutoff
- Metallic Map
- Metallic
- Normal Map
- Normal Strength
- Emission Map
- Emission Color
- Emission Extra Intensity
- Noise Texture
- Dissolve Edge Thickness
- Dissolve Edge Color (an emissive color)
- Dissolve Effect Controller
- Ambient Occlusion
BONUS: The Shader Graph Subgraph asset included in this pack is a reconstructed URP standard lit shader. As such, it can be imported into your custom Shader Graph shaders, allowing you to both create custom shader effects and keep the standard shader options such as normal maps, emission, etc. For more information, see our FREE Reconstructed URP Shader.
For further information, visit the shader's page on our website: https://www.project-gamedev.com/directional-dissolve-shader.html
For further technical details, visit the shader's documentation page: https://docs.project-gamedev.com/directional-dissolve-shader/directional-dissolve-shader.html
NOTE: In case you are using URP's Universal Renderer (default renderer when creating a project using the URP 3D Template), use the Universal Renderer version of the asset (folder "Universal Renderer"). If you are using URP's 2D Renderer (default renderer when creating a project using the URP 2D Template), use the 2D Renderer version of the asset (folder "2D Renderer").
Add to cart