3dphotoshoot

view sdr/font.p.glsl @ 27:3d082c566b53

fixed all the bugs, pc version works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Jun 2015 04:32:25 +0300
parents d7fe157c402d
children
line source
1 #ifdef GL_ES
2 precision lowp float;
3 #endif
5 uniform sampler2D tex;
6 uniform vec4 color;
8 varying vec4 tex_coords;
10 void main()
11 {
12 vec4 texel = texture2D(tex, tex_coords.xy);
13 gl_FragColor = vec4(color.xyz, texel.a);
14 }