19 lines
324 B
GLSL
19 lines
324 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
uniform vec2 u_resolution;
|
|
uniform vec2 u_mouse;
|
|
uniform float u_time;
|
|
|
|
void main() {
|
|
vec3 color = vec3(0);
|
|
vec2 st = (gl_FragCoord.xy-.5*u_resolution.xy)/u_resolution.y;
|
|
|
|
float m = smoothstep(0.05, 0.0, abs(st.x));
|
|
color += m;
|
|
|
|
gl_FragColor = vec4(color,1.0);
|
|
}
|
|
|