Feat : update shader
This commit is contained in:
@@ -22,12 +22,12 @@ void main(){
|
||||
|
||||
q=q*.5+.5;
|
||||
vec2 r=vec2(0.);
|
||||
r.x=fbm(st+1.*q+vec2(1.7,9.2)+.00515*u_time);
|
||||
r.y=fbm(st+1.*q+vec2(8.3,2.8)+.0126*u_time);
|
||||
r.x=fbm(st+1.*q+vec2(1.7,9.2)+.00215*u_time);
|
||||
r.y=fbm(st+1.*q+vec2(8.3,2.8)+.00526*u_time);
|
||||
r=r*.5+.5;
|
||||
|
||||
float f=fbm(st+r);
|
||||
|
||||
f = floor((f+.4)*4.)/4.;
|
||||
vec3 color=mix(u_color_start,u_color_end,f*.3);
|
||||
|
||||
gl_FragColor=vec4(color,1.);
|
||||
|
||||
Reference in New Issue
Block a user