Files
tianrunCRM/Assets/CoolapeFrame/3rd/NGUI_Enhance/Examples/Shaders/Unlit - Depth Cutout.shader

35 lines
435 B
Plaintext
Raw Permalink Normal View History

2020-07-04 14:41:25 +08:00
Shader "Unlit/Depth Cutout"
{
Properties
{
_MainTex ("Base (RGB), Alpha (A)", 2D) = "white" {}
}
SubShader
{
LOD 100
Tags
{
"Queue" = "Background"
"IgnoreProjector" = "True"
}
Pass
{
Cull Off
Lighting Off
Blend Off
ColorMask 0
ZWrite On
ZTest Less
AlphaTest Greater .99
ColorMaterial AmbientAndDiffuse
SetTexture [_MainTex]
{
Combine Texture * Primary
}
}
}
}