istereo2

view sdr/font.p.glsl @ 33:3784a2d4bed5

more ad fuckery
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 10 Oct 2015 16:38:19 +0300
parents
children
line source
1 #ifdef GL_ES
2 precision mediump float;
3 #endif
5 uniform sampler2D tex;
6 uniform vec4 ucolor;
8 //varying vec4 vcolor;
9 varying vec2 vtexcoord;
11 void main()
12 {
13 vec4 texel = texture2D(tex, vtexcoord);
14 gl_FragColor = vec4(ucolor.xyz, texel.a * ucolor.a);
15 }