54 lines
699 B
Plaintext
54 lines
699 B
Plaintext
Shader "Unlit/Text"
|
|
{
|
|
Properties
|
|
{
|
|
_MainTex ("Alpha (A)", 2D) = "white" {}
|
|
}
|
|
|
|
SubShader
|
|
{
|
|
LOD 200
|
|
|
|
Tags
|
|
{
|
|
"Queue" = "Transparent"
|
|
"IgnoreProjector" = "True"
|
|
"RenderType" = "Transparent"
|
|
}
|
|
|
|
UsePass "Ares/Base/NGUIPassHelper/NGUI&TEXT"
|
|
}
|
|
|
|
SubShader
|
|
{
|
|
Tags
|
|
{
|
|
"Queue"="Transparent"
|
|
"IgnoreProjector"="True"
|
|
"RenderType"="Transparent"
|
|
}
|
|
|
|
Lighting Off
|
|
Cull Off
|
|
ZTest Always
|
|
ZWrite Off
|
|
Fog { Mode Off }
|
|
Blend SrcAlpha OneMinusSrcAlpha,Zero OneMinusSrcAlpha
|
|
|
|
BindChannels
|
|
{
|
|
Bind "Color", color
|
|
Bind "Vertex", vertex
|
|
Bind "TexCoord", texcoord
|
|
}
|
|
|
|
Pass
|
|
{
|
|
SetTexture [_MainTex]
|
|
{
|
|
combine primary, texture
|
|
}
|
|
}
|
|
}
|
|
}
|