istereo2

view sdr/ui.p.glsl @ 21:8f41da60b9f5

revert accidentally commited ui change
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 Oct 2015 04:55:54 +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 }