add ckg
plantilla base para movimiento básico
This commit is contained in:
17
Assets/Game Kit Controller/Shaders/textShader.shader
Normal file
17
Assets/Game Kit Controller/Shaders/textShader.shader
Normal file
@@ -0,0 +1,17 @@
|
||||
Shader "Custom/textShader" {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user