diff options
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 + } + + } + } + } +} |