summaryrefslogtreecommitdiff
path: root/shaders/none.kage
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/none.kage')
-rw-r--r--shaders/none.kage12
1 files changed, 12 insertions, 0 deletions
diff --git a/shaders/none.kage b/shaders/none.kage
new file mode 100644
index 0000000..3eccc50
--- /dev/null
+++ b/shaders/none.kage
@@ -0,0 +1,12 @@
+//go:build ignore
+
+//kage:unit pixels
+
+package main
+
+var Time float
+var Cursor vec2
+
+func Fragment(dstPos vec4, srcPos vec2, color vec4) vec4 {
+ return imageSrc2UnsafeAt(srcPos);
+}