precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p.x = 1. - p.x;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p.x = abs(p.x - 0.5) + 0.5;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p.x = 0.5;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
uniform float time;
void main() {
vec2 p = position;
p.x = fract(time*.1);
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p.x = p.x + sin(p.y*80.)*0.01;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
uniform float time;
void main() {
vec2 p = position;
p.x = p.x + sin(p.y*80.+time*6.)*0.03;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p.x = floor(p.x*6.)/6.;
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p = fract(p * 6.);
gl_FragColor = texture2D(webcam, p);
}
precision mediump float;
varying vec2 position;
uniform sampler2D webcam;
void main() {
vec2 p = position;
p = floor(p * 6.)/6.;
gl_FragColor = texture2D(webcam, p);
}