xxxxxxxxxx
21
precision mediump float;
uniform vec2 u_resolution;
uniform float u_time;
uniform vec2 u_mouse;
uniform sampler2D u_img;
void main() {
vec2 coord = gl_FragCoord.xy / u_resolution;
vec3 color = vec3(0.0);
vec4 image = texture2D(u_img, coord);
image.r += 0.9;
color = mix(color, image.rgb, image.a);
color.r += 0.7;
gl_FragColor = vec4(color, 1.0);
}