summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/ACS-17/LightCone - Volumetric Spotlight/UnlitOverlay.shader
blob: eaaecece2b57345c6428856a8dac4e02b46d6e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 
				} 
                
            }
        } 
    }
}