MCHX

vec3 colorA=vec3(1.0, 1.0, 1.0); vec3 colorB=vec3(.7725,.9176,.9137); vec3 colorC=vec3(cos(u_time*.2),.8,.46); float plot(vec2 st){ return smoothstep(.5,1.358,abs(st.y+st.y)); } void main(){ vec2 st=gl_FragCoord.xy/u_resolution; float y=st.x; vec3 color=vec3(0.,0.,0.); vec3 color2=vec3(0); color=mix(colorA,colorB,colorC-y); color2=mix(colorB,colorC,sin(u_time*.2)*y); float pct=plot(st); color=(1.-pct)*color+pct*vec3(color2); gl_FragColor=vec4(color,1.); }