49 col.r = texture(samp, uv + vec2(sin(t*0.7)*0.03, cos(t*0.3)*0.02)).r;
50 col.g = texture(samp, uv + vec2(sin(t*0.5)*0.02, cos(t*0.4)*0.03)).g;
51 col.b = texture(samp, uv + vec2(sin(t*0.9)*0.04, cos(t*0.6)*0.01)).b;
54 if (mod(t, 3.0) > 2.0) col = col.bgr;
55 if (mod(t*0.7, 2.0) > 1.3) col = col.grb;
68 uv.x += sin(uv.y * 50.0 + t * 10.0) * 0.1 *
rand1(t);
69 uv.y += cos(uv.x * 40.0 + t * 8.0) * 0.08 *
rand1(t+0.3);
72 uv.x += sin(t * 5.0 + uv.y * 50.0) * 0.05;
73 uv.y += cos(t * 3.0 + uv.x * 60.0) * 0.03;
76 uv += vec2(
rand1(t) - 0.5,
rand1(t+0.5) - 0.5) * 0.1;
79 vec2 crtUV = uv * 2.0 - 1.0;
80 crtUV *= 1.0 + pow(length(crtUV), 3.0) * 0.5;
81 uv = crtUV * 0.5 + 0.5;
84 float split = step(0.5 + sin(t)*0.2, uv.x);
85 uv.y += split * (sin(t*2.0) * 0.1 *
rand1(t));
88 float scanLine = fract(t * 0.3);
89 if(abs(uv.y - scanLine) < 0.02) {
90 uv.x += (
rand1(uv.y + t) - 0.5) * 0.3;
91 uv.y += sin(uv.x * 100.0) * 0.1;
98 float damageZone = step(0.9,
rand(vec2(floor(uv.y * 20.0 + t * 0.5))));
99 col = mix(col, vec3(0.0), damageZone * 0.7);
102 float staticFlash = step(0.997,
rand1(t * 0.1));
103 col += vec3(staticFlash * 2.0);
106 col *= 0.7 + 0.3 * sin(uv.x * 300.0 + t * 10.0);
110 col +=
noise * smoothstep(0.3, 0.7,
rand1(t * 0.3));
113 float crease = sin(uv.y * 30.0 + t * 5.0) * 0.1;
114 col *= 1.0 - smoothstep(0.3, 0.7, abs(crease));
117 col.r += sin(t * 5.0) * 0.3 +
rand1(uv.x) * 0.2;
120 float osd = step(0.98,
rand1(uv.x * 10.0 + t * 0.1));
121 col = mix(col, vec3(0.0, 1.0, 0.0), osd * 0.3);
124 color = vec4(col, 1.0);
125 color *= 0.8 + 0.2 * sin(uv.y * 800.0 + t * 10.0);
128 color *= 0.7 + 0.3 *
rand1(t * 0.1);
131 color *= smoothstep(0.0, 0.2, uv.y) * smoothstep(1.0, 0.8, uv.y);
132 color *= smoothstep(0.0, 0.1, uv.x) * smoothstep(1.0, 0.9, uv.x);