istereo2

view sdr/ui.p.glsl @ 6:3bccfc7d10fe

goatkit is drawing
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 23 Sep 2015 05:44:58 +0300
parents
children a3c4fcc9f8f3
line source
1 #ifdef GL_ES
2 precision mediump float;
3 #endif
5 uniform sampler2D tex;
7 varying vec4 vcolor;
8 varying vec2 vtexcoord;
10 void main()
11 {
12 vec4 texel = texture2D(tex, vtexcoord);
13 gl_FragColor = vcolor * texel;
14 }