istereo

view sdr/test.p.glsl @ 20:21d58290e634

forgot the cam files
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 10:15:35 +0300
parents 76ad575d72d0
children 889dade25667
line source
1 #ifdef GL_ES
2 precision mediump float;
3 #endif
5 uniform sampler2D tex;
7 varying vec4 var_color;
8 varying vec2 var_texcoord;
10 void main()
11 {
12 vec4 texel = texture2D(tex, var_texcoord);
13 texel.w = 1.0;
15 gl_FragColor = var_color * texel;
16 }