istereo2

annotate sdr/ui.p.glsl @ 24:9d53a4938ce8

port to android mostly complete, ads not done, and needs some polishing
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 04 Oct 2015 08:15:24 +0300
parents 3bccfc7d10fe
children
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@7 6 uniform vec4 ucolor;
nuclear@6 7
nuclear@7 8 //varying vec4 vcolor;
nuclear@6 9 varying vec2 vtexcoord;
nuclear@6 10
nuclear@6 11 void main()
nuclear@6 12 {
nuclear@6 13 vec4 texel = texture2D(tex, vtexcoord);
nuclear@7 14 gl_FragColor = texel * ucolor;
nuclear@6 15 }