Code : Tout sélectionner
Shader "Mobile/GUI/Health Rings"
{
Properties
{
_MainTex ("Font Texture", 2D) = "white" {}
_Cutoff ("Alpha Slider", Range (0.011, 1)) = 0.5
}
SubShader
{
Tags { "Queue"="Overlay+1" "IgnoreProjector"="True" }
AlphaTest GEqual [_Cutoff]
Lighting Off
ZTest Always
ZWrite Off
Fog { Mode Off }
Pass
{
SetTexture [_MainTex]
}
}
}