comparison Orchestland/Assets/OVR/Shaders/TextShader3D.shader @ 1:f7675884f2a1

Add Orchestland project
author Daiki OYAKAWA <e135764@ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2015 23:09:20 +0900
parents
children
comparison
equal deleted inserted replaced
0:347d21cdfc22 1:f7675884f2a1
1 /************************************************************************************
2
3 Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
4
5 Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License");
6 you may not use the Oculus VR Rift SDK except in compliance with the License,
7 which is provided at the time of installation or download, or which
8 otherwise accompanies this software in either electronic or hard copy form.
9
10 You may obtain a copy of the License at
11
12 http://www.oculusvr.com/licenses/LICENSE-3.2
13
14 Unless required by applicable law or agreed to in writing, the Oculus VR SDK
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20 ************************************************************************************/
21
22 Shader "GUI/3D Text Shader"
23 {
24 Properties
25 {
26 _MainTex ("Font Texture", 2D) = "white" {}
27 _Color ("Text Color", Color) = (1,1,1,1)
28 }
29
30 SubShader
31 {
32 Tags { "Queue"="Overlay+1" "IgnoreProjector"="True" "RenderType"="Transparent" }
33 Lighting Off Cull Off ZWrite Off ZTest Off Fog { Mode Off }
34 Blend SrcAlpha One
35 Pass
36 {
37 Color [_Color]
38 SetTexture [_MainTex]
39 {
40 combine primary, texture * primary
41 }
42 }
43 }
44 }