vrshoot

view sdr/font.p.glsl @ 3:c179c72369be

rename candy->vr
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 03 Feb 2014 08:52:13 +0200
parents
children
line source
1 uniform sampler2D tex;
2 uniform vec4 st_color;
4 varying vec2 texcoord;
6 void main()
7 {
8 gl_FragColor.rgb = st_color.rgb;
9 gl_FragColor.a = texture2D(tex, texcoord).a * st_color.a;
10 }