Singularity/Library/PackageCache/com.unity.render-pipelines..../Samples~/URPPackageSamples/SharedAssets/Shaders/3DText.shader

19 lines
533 B
Plaintext
Raw Normal View History

2024-05-06 14:45:45 -04:00
Shader "GUI/3D Text Shader - Cull Back" {
Properties {
_MainTex ("Font Texture", 2D) = "white" {}
_Color ("Text Color", Color) = (1,1,1,1)
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Lighting Off Cull Back ZWrite Off Fog { Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Color [_Color]
SetTexture [_MainTex] {
combine primary, texture * primary
}
}
}
}