Pun-01/Assets/Photon/PhotonUnityNetworking/Demos/Shared Assets/Skin/3dText.shader

18 lines
445 B
Plaintext
Raw Permalink Normal View History

2022-07-08 09:14:55 +08:00
Shader "GUI/3D Text Shader" {
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 Off ZWrite Off Fog { Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Color [_Color]
SetTexture [_MainTex] {
combine primary, texture * primary
}
}
}
}