3dphotoshoot

view sdr/tex.p.glsl @ 27:3d082c566b53

fixed all the bugs, pc version works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Jun 2015 04:32:25 +0300
parents 4ca4e3c5a754
children
line source
1 #ifdef GL_ES
2 precision lowp float;
3 #endif
5 uniform sampler2D tex;
7 varying vec4 tex_coords;
9 void main()
10 {
11 vec4 texel = texture2D(tex, tex_coords.xy);
12 gl_FragColor = texel;
13 }