https://github.com/kwnetzwelt/unity3d-dissolve-shader
This Repository contains a shader and example scene for a shader which is able to create objects starting from a world position outwards.
https://github.com/kwnetzwelt/unity3d-dissolve-shader
Last synced: about 2 months ago
JSON representation
This Repository contains a shader and example scene for a shader which is able to create objects starting from a world position outwards.
- Host: GitHub
- URL: https://github.com/kwnetzwelt/unity3d-dissolve-shader
- Owner: kwnetzwelt
- License: mit
- Created: 2016-08-25T20:27:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-22T11:30:47.000Z (almost 6 years ago)
- Last Synced: 2024-08-03T05:21:58.883Z (11 months ago)
- Language: C#
- Size: 1.24 MB
- Stars: 306
- Watchers: 21
- Forks: 46
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - unity3d-dissolve-shader - Dissolve by Distance & Dissolve by Height (Other Shaders)
README
# 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](Assets/Dissolve/shaders)



1. _Dissolve Center_ is a Worldspace Position from where the dissolve effects originates
2. _Dissolve Distance_ length (world units) of the dissolve starting from the center
3. _Dissolve Interpolation_ if and how far the interpolation should take place. If zero, there dissolve effect has no interpolation.
4. _Dissolve Texture_ Texture used for interpolation
5. _Dissolve Color_ Emissive color on the dissolve edge