Feat : handle settings gracefully
This commit is contained in:
@@ -15,7 +15,8 @@ uniform float u_time;
|
||||
|
||||
void main(){
|
||||
vec2 st=(gl_FragCoord.xy+u_offset)/u_resolution;
|
||||
|
||||
|
||||
|
||||
vec2 q=vec2(0.);
|
||||
q.x=fbm(st);
|
||||
q.y=fbm(st+vec2(1.));
|
||||
@@ -31,4 +32,5 @@ void main(){
|
||||
vec3 color=mix(u_color_start,u_color_end,f*.3);
|
||||
|
||||
gl_FragColor=vec4(color,1.);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user