summaryrefslogtreecommitdiffstats
path: root/heatwaves.gdshader
diff options
context:
space:
mode:
Diffstat (limited to 'heatwaves.gdshader')
-rw-r--r--heatwaves.gdshader14
1 files changed, 14 insertions, 0 deletions
diff --git a/heatwaves.gdshader b/heatwaves.gdshader
new file mode 100644
index 0000000..1b816d2
--- /dev/null
+++ b/heatwaves.gdshader
@@ -0,0 +1,14 @@
+shader_type canvas_item;
+
+void vertex() {
+ VERTEX.x += 5.0 * sin(0.5 * TIME + 0.5 * VERTEX.y);
+}
+
+void fragment() {
+ // Called for every pixel the material is visible on.
+}
+
+//void light() {
+// // Called for every pixel for every light affecting the CanvasItem.
+// // Uncomment to replace the default light processing function with this one.
+//}