Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
// Allows 3D Text to be occluded by scene geometry.
Shader "LeapMotion/Fonts/Depth Friendly Font" {
Properties{
_MainTex("Font Texture", 2D) = "white" {}
_Color("Text Color", Color) = (1,1,1,1)
}
SubShader {
Tags{ "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" }
//AlphaTest Greater 0.5
Lighting Off Cull Off ZWrite On Fog{ Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Color[_Color]
SetTexture[_MainTex] {
combine primary, texture * primary
}
}
}
}2046045a2This file is pinned to the selected release. Download the original to open it in your design tool.