An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

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)

![Demo](screenshot.png)

![Demo](screenshot_height.png)

![Material Setup](material_setup.png)

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