summaryrefslogtreecommitdiff
path: root/src/vector/shaders/stencil.frag
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-25 21:47:58 -0300
committerGabriel Schneider <[email protected]>2026-09-25 21:48:16 -0300
commit9c33714591a2147f7e5879e77212ca9886d0c967 (patch)
treed250be9d9bc365d7894d49455c0f6376966b58be /src/vector/shaders/stencil.frag
downloadsketchbook-9c33714591a2147f7e5879e77212ca9886d0c967.tar.gz
sketchbook-9c33714591a2147f7e5879e77212ca9886d0c967.zip
Put the game first: lib/sketchbook, sketches/vecanim
The root is the game. The platform library moves to lib/sketchbook (with serve_web.py, which serves any sketch's web build, as a tool of it), and vecanim to sketches/vecanim, still its own package on the same library.
Diffstat (limited to 'src/vector/shaders/stencil.frag')
-rw-r--r--src/vector/shaders/stencil.frag7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vector/shaders/stencil.frag b/src/vector/shaders/stencil.frag
new file mode 100644
index 0000000..caf85f4
--- /dev/null
+++ b/src/vector/shaders/stencil.frag
@@ -0,0 +1,7 @@
+#version 450
+// Stencil passes write no color; the pipeline masks it out anyway.
+layout(location = 0) out vec4 color;
+
+void main() {
+ color = vec4(0.0);
+}