Dissolve Shader
Dissolving meshes with perlin noise

Skills

ShaderLab HLSL Cg

Software Used

Unity JetBrains Rider

About

Dissolving meshes using Perlin Noise function sampling on local vertex positions of the mesh, this type of effect is generally used for enemy spawn/despawn, invisibility or even environment culling for 2.5D games.


Breakdown

Img 01

Masking (Grayscale)


Img 02

Black pixels discarded


Img 03

Texture added


Img 04

Backfaces culling disabled


Img 05

Edge effect added


Final Result