#https://www.shadertoy.com/view/XsjSRt

pixels = W:1024 H:1024

x = from 0 to 10 W
y = from 0 to 10 H

t = 2

cover = 0.5
bright = 1.8-cover

color1 = iq_fbm2(x-0.5+t*0.00004,  y-0.5+t*0.00004)
color2 = iq_fbm2(x-10.5+t*0.00002, y-10.5+t*0.00002)

clouds1 = smoothstep(1.0-cover,min((1.0-cover)+0.2*2.0,1.0),color1)
clouds2 = smoothstep(1.0-cover,min((1.0-cover)+0.2,1.0),color2)

a = saturate(clouds1+clouds2)

r = 0.6
g = 0.8
b = 1.0

cloudCol = saturate(saturate(1.0-pow(color1,1.0)*0.2)*bright)

r1 = mix(cloudCol,r,0.25)
g1 = mix(cloudCol,g,0.25)
b1 = mix(cloudCol,b,0.25)

w = saturate(clouds2-clouds1)
r2 = mix(cloudCol,r1,w)
g2 = mix(cloudCol,g1,w)
b2 = mix(cloudCol,b1,w)
    
r = mix(r,r2,a)
g = mix(g,g2,a)
b = mix(b,b2,a)

