This shader is available in the Unity Asset Store. (Link)
The shader dissolves any given Object like in Borderlands the enemies are dissolving through acid and fire.
The package comes with two shaders:
Dissolve_TexturCoords:
The Shader Dissolve_TexturCoords uses the TextureCoordinates of the given Object. That gives you the Opportunity to set where the object should Dissolve first.
Dissolve_WorldCoords:
The Shader Dissolve_World Coords uses World/Object Coordinates to Dissolve the Object. This method gets rid of the Texture seams, but is not suitable for animated Objects.

Properties:
Amount – Animate this to Dissolve the Object
StartAmount – Sets the Value from witch the dissolve starts
Illuminate – Sets the Value of Illumination for the rims
Tile – Sets the tiling of DissolveSrc and DissolveSrcBump
DissColor – Sets the Color for the rims
ColorAnimate – Sets witch RGB-Value should be animated X = Red, Y = Yellow, Z = Green (Ignore W)

2

Links:
Live Demo Here
Asset Store

Video:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.