3dphotoshoot

view sdr/tex.p.glsl @ 24:2712c5da2e00

getting sensor input (hack)
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 16 Jun 2015 06:17:59 +0300
parents
children 3d082c566b53
line source
1 precision mediump float;
3 uniform sampler2D tex;
5 varying vec4 tex_coords;
7 void main()
8 {
9 vec4 texel = texture2D(tex, tex_coords.xy);
10 gl_FragColor = texel;
11 }