67 vec2 uv = tc * 2.0 - 1.0;
71 float angle = atan(uv.y, uv.x);
74 float fft = texture(
spectrum, clamp(r * 0.5, 0.0, 1.0)).r;
77 float lobes = floor(mix(2.0, 40.0,
slider1));
83 float secondaryLobes = floor(lobes * 2.5);
88 float waveDensity = mix(5.0, 50.0,
slider2);
94 float shiftMult = mix(0.1, 5.0,
slider3);
98 float r_chan = texture(samp, tc + vec2(shift, 0.0)).r;
99 float g_chan = texture(samp, tc).g;
100 float b_chan = texture(samp, tc - vec2(shift, 0.0)).b;
101 vec3 baseTex = vec3(r_chan, g_chan, b_chan);
105 float glowMask = smoothstep(0.5, 1.0,
wave);
109 lightRadius = max(lightRadius, 0.5);
110 float center = exp(-r * lightRadius);
111 float brightness = 1.5 +
amp_peak * 2.0;
112 vec3 coreGlow = vec3(1.0, 0.98, 0.9) * center * brightness;
116 finalColor += coreGlow;
121 color = vec4(finalColor, 1.0);