3dphotoshoot

view sdr/android_cam_preview.p.glsl @ 22:d7fe157c402d

fonts
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 13 Jun 2015 05:32:07 +0300
parents
children
line source
1 #extension GL_OES_EGL_image_external : require
2 precision mediump float;
4 uniform samplerExternalOES tex;
6 varying vec4 tex_coords;
8 void main()
9 {
10 vec4 texel = texture2D(tex, tex_coords.xy);
11 gl_FragColor = vec4(texel.xyz, 1.0);
12 }