42 vec2 uvd = c + d * (1.0 + 0.15*r2 + 0.15*r2*r2);
43 float wob = (
hash(vec2(
time_f*0.73, uv.y*13.7)) - 0.5) * 0.003;
45 uvd = clamp(uvd, 0.001, 0.999);
47 float ca = 0.002 + 0.002*sin(
time_f*0.37);
53 col.r = texture(samp, uvd + vec2(off + bleed, 0.0) + shift).r;
54 col.g = texture(samp, uvd).g;
55 col.b = texture(samp, uvd - vec2(off + bleed, 0.0) - shift).b;
60 float scan = sin(uvd.y *
iResolution.y * 3.14159) * 0.06;
63 float l = dot(col, vec3(0.2126,0.7152,0.0722));
64 col = mix(vec3(l), col, 0.92);
66 float vig = 1.0 - smoothstep(0.25, 0.8, length(d));
69 col = pow(max(col, 0.0), vec3(1.0/1.7));
70 return clamp(col, 0.0, 1.0);