2026-03-27 23:57:08 -07:00
|
|
|
Shader "Custom/textShader" {
|
2026-02-05 05:07:55 -08:00
|
|
|
Properties {
|
2026-03-27 23:57:08 -07:00
|
|
|
_MainTex ("Font Texture", 2D) = "white" {}
|
|
|
|
|
_Color ("Text Color", Color) = (1,1,1,1)
|
|
|
|
|
}
|
|
|
|
|
SubShader {
|
|
|
|
|
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
|
|
|
|
|
Lighting Off Cull Off ZWrite Off Fog { Mode Off }
|
|
|
|
|
Blend SrcAlpha OneMinusSrcAlpha
|
|
|
|
|
Pass{
|
|
|
|
|
Color [_Color]
|
|
|
|
|
SetTexture [_MainTex] {
|
|
|
|
|
combine primary, texture * primary
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-02-05 05:07:55 -08:00
|
|
|
}
|