istereo2

view sdr/ui.p.glsl @ 29:c6c45fa9658d

fixed jni calls for ads
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 Oct 2015 04:55:45 +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 }