// Generated with Shader Minifier 1.5.1 (https://github.com/laurentlb/Shader_Minifier/) #ifndef FRAGMENT_INL_ # define FRAGMENT_INL_ # define VAR_fft_output "l" # define VAR_o "f" # define VAR_syncs "v" const char *fragment_frag = "#version 460\n" "precision mediump float;" "out vec4 f;" "const float m=22./7.;" "layout(location=0)uniform float v[7];" "layout(location=8)uniform float l[1024];" "float n=v[0];" "void main()" "{" "vec2 m=gl_FragCoord.xy*2./vec2(1920,1080);" "float n=clamp(l[clamp(int(floor(m.x*128.)),0,255)],0.,1.);" "f=vec4(vec3(smoothstep(n,n+.02,1.-m.y)),1);" "}"; #endif // FRAGMENT_INL_