From 2d6d9f97093544e0d2faccc94f3b8bf369c03819 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 21 Apr 2024 21:23:21 +0100 Subject: add placing objects --- shaders/none.kage | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shaders/none.kage (limited to 'shaders/none.kage') 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); +} -- cgit v1.2.1