Unity3D Dissolve by Distance & Dissolve by Height
This repository provides a shader to dissolve objects by distance from a world position or by height in world units.
- The shader files Assets/Dissolve/shaders
- Dissolve Center is a Worldspace Position from where the dissolve effects originates
- Dissolve Distance length (world units) of the dissolve starting from the center
- Dissolve Interpolation if and how far the interpolation should take place. If zero, there dissolve effect has no interpolation.
- Dissolve Texture Texture used for interpolation
- Dissolve Color Emissive color on the dissolve edge