realityplayground-of/zoneb/bin/data/shaders/render.frag
2020-10-19 16:14:53 +02:00

16 lines
No EOL
289 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
// Custom attributes.
uniform sampler2D uColorTex; // Sampler for the color registered data
uniform sampler2D u_v4l2cam;
in vec2 gTexCoord;
void main()
{
gl_FragColor = texture2D(u_v4l2cam, gTexCoord/3);
// gl_FragColor = vec4(1);
}