You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
432 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
void main() {
vec2 st = gl_FragCoord.xy/u_resolution.xy;
vec3 color = vec3(0.5);
// st *= 1. + u_mouse * sin(0.0001 + u_time );
st *= 1.;
color.rb = vec2(0.1 + st);
// color.rg = vec2(0.8);
/*
color.r = 0.1;
color.g = 0.5;
color.b = 0.1;
*/
gl_FragColor = vec4(color,0.9);
}