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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Demo

Demo

Material Setup

  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

About

This Repository contains a shader and example scene for a shader which is able to create objects starting from a world position outwards.

License:MIT License


Languages

Language:C# 40.0%Language:HLSL 31.8%Language:ShaderLab 28.2%