istereo2

view sdr/ui.p.glsl @ 18:25d821ab1ca2

fixed ios bugs
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 01 Oct 2015 08:36:55 +0300
parents 3bccfc7d10fe
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 = texel * ucolor;
15 }