Dissolve Shader


A shader that makes the object dissolve until it's fully invisible.

Look at my code
  • GitHub

  • How it works.

    Dissolving:

    The dissolving works by disabling the pixels that are under a certain value (Dissolve State) of the dissolve texture. It also gives the pixels that are under the "dissolve state" + "dissolve color width" a predefined color to give the dissolving a rim.


    Texture used for dissolving.


    More examples:

    Texture used for dissolving.




  • Back