From 88a6b32e792910e11451da18eb5fb8c103235842 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 28 Apr 2022 13:58:20 +0800 Subject: +misc --- .../UnlitOverlay.shader | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader (limited to 'SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader') 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 + } + + } + } + } +} -- cgit v1.1-26-g67d0