Skip to content

Instantly share code, notes, and snippets.

@tianc377
tianc377 / PostProcess-HeightFog.shader
Created September 14, 2021 07:24 — forked from kasari/PostProcess-HeightFog.shader
[Unity] Post Process Height Fog
Shader "PostProcess/HeightFog"
{
Properties
{
[HideInInspector] _MainTex ("Texture", 2D) = "white" {}
_FogColor ("FogColor", Color) = (1,1,1,1)
_FogDensity ("FogDensity", Range(0,1)) = 0.2
_FogHeight ("FogHeight", float) = 5.0
}
SubShader