summaryrefslogtreecommitdiff
path: root/00f.glsl
diff options
context:
space:
mode:
Diffstat (limited to '00f.glsl')
-rw-r--r--00f.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/00f.glsl b/00f.glsl
new file mode 100644
index 0000000..a3e8d18
--- /dev/null
+++ b/00f.glsl
@@ -0,0 +1,7 @@
+varying vec2 pos;
+uniform float u_time;
+
+void main() {
+ float t = mod(u_time, 2.0*3.1415926536);
+ gl_FragColor = vec4(pos.x, 0.5+0.5*sin(5.0*t), pos.y, 1.0);
+}