istereo2

annotate 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
rev   line source
nuclear@6 1 #ifdef GL_ES
nuclear@6 2 precision mediump float;
nuclear@6 3 #endif
nuclear@6 4
nuclear@6 5 uniform sampler2D tex;
nuclear@6 6
nuclear@6 7 varying vec4 vcolor;
nuclear@6 8 varying vec2 vtexcoord;
nuclear@6 9
nuclear@6 10 void main()
nuclear@6 11 {
nuclear@6 12 vec4 texel = texture2D(tex, vtexcoord);
nuclear@6 13 gl_FragColor = vcolor * texel;
nuclear@6 14 }