This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Unlit/DissolveEffectShader" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_NoiseTex ("Texture", 2D) = "white" {} | |
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0 | |
_EdgeColour1 ("Edge colour 1", Color) = (1.0, 1.0, 1.0, 1.0) | |
_EdgeColour2 ("Edge colour 2", Color) = (1.0, 1.0, 1.0, 1.0) | |
_Level ("Dissolution level", Range (0.0, 1.0)) = 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Easing | |
* Animates the value of a float property between two target values using | |
* Robert Penner's easing equations for interpolation over a specified Duration. | |
* | |
* Original Author: Darren David [email protected] | |
* | |
* Ported to be easily used in Unity by Marco Mastropaolo | |
* | |
* Credit/Thanks: |