/* * Original shader from: https://www.shadertoy.com/view/4dGfDy */ #ifdef GL_ES precision mediump float; #endif // glslsandbox uniforms uniform float time; uniform vec2 resolution; // shadertoy globals #define iTime time #define iResolution resolution // --------[ Original ShaderToy begins here ]---------- // float circle(vec2 uv, vec2 position, float radius, float blur) { uv -=0.5; // position of the circle || to make (0,0) center of the screen uv.y*=iResolution.y/iResolution.x; //to make it a circle float d = length(uv-position); float c = smoothstep(radius,radius-blur,d); //if(d