diff options
author | chai <chaifix@163.com> | 2022-04-28 13:58:20 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-04-28 13:58:20 +0800 |
commit | 88a6b32e792910e11451da18eb5fb8c103235842 (patch) | |
tree | e64c5feaf46b7d06ae096e3719515c0cafc74dc5 /SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader | |
parent | 072f02678d2c5d0d79f49e923b111c4a28da3f69 (diff) |
+misc
Diffstat (limited to 'SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader')
-rw-r--r-- | SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader b/SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader new file mode 100644 index 0000000..eaaecec --- /dev/null +++ b/SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader @@ -0,0 +1,30 @@ +Shader "Custom/UnlitOverlay" +{ + Properties + { + _Color ("Main Color", Color) = (1,1,1,1) + _MainTex ("Base (RGB) Trans. (Alpha)", 2D) = "white" { } + } + + Category + { + ZWrite On + Blend SrcAlpha OneMinusSrcAlpha + SubShader + { + Tags { "Queue" = "Overlay" } + Pass + { + ZWrite Off + Cull Off + Lighting Off + SetTexture [_MainTex] + { + constantColor [_Color] + Combine texture * constant, texture * constant + } + + } + } + } +} |