arskrald/Assets/Vuforia/Shaders/Text3D.shader

27 lines
816 B
Plaintext
Raw Normal View History

2019-02-04 09:48:24 +00:00
//========================================================================
//Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc.
//All Rights Reserved.
//Confidential and Proprietary - Protected under copyright and other laws.
//========================================================================
Shader "Custom/Text3D" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
_Color ("Text Color", Color) = (1,1,1,1)
}
SubShader {
Tags { "Queue"="Geometry+1" "IgnoreProjector"="True" }
Lighting Off Offset -1, -1 ZTest LEqual ZWrite On Fog { Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Color [_Color]
SetTexture [_MainTex] {
combine primary, texture * primary
}
}
}
}