【GLSL】GLSLで縞模様
See the Pen my first first GLSL program by aadebdeb (@aadebdeb) on CodePen.
precision mediump float; uniform float time; uniform vec2 mouse; uniform vec2 resolution; void main(void) { gl_FragColor = vec4(abs(sin(gl_FragCoord.x * 0.1)), abs(sin(time * 0.001)), mouse.x / resolution.x, 1.0); }