3dphotoshoot

view sdr/tex.p.glsl @ 21:4ca4e3c5a754

port to C++ completed, shader programs now use the SdrProg class
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 11 Jun 2015 04:56:33 +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 }