summaryrefslogtreecommitdiff
path: root/shaders/overlay.vert.glsl
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-04 00:57:06 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commite36e946f9a56c4ab1d10cef3aace20fe7d274dfa (patch)
treebaccd0be04b9b901bb74b4f3647bdb531c8dd450 /shaders/overlay.vert.glsl
parentf3f0e27372d8cf111269dde674d4581cf4cb0c41 (diff)
downloadpardes-e36e946f9a56c4ab1d10cef3aace20fe7d274dfa.tar.gz
pardes-e36e946f9a56c4ab1d10cef3aace20fe7d274dfa.zip
touch debug overlay: multi-touch circles with trails, finger event handling, 4x larger, fade trails, SDL GPU + WebGL overlay shaders, touch-action:none in HTML, --debug-overlay flag, pinch event dispatch for all SDL backends
Diffstat (limited to 'shaders/overlay.vert.glsl')
-rw-r--r--shaders/overlay.vert.glsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/shaders/overlay.vert.glsl b/shaders/overlay.vert.glsl
new file mode 100644
index 00000000..5f6be593
--- /dev/null
+++ b/shaders/overlay.vert.glsl
@@ -0,0 +1,11 @@
+#version 450
+
+layout(location = 0) in vec2 a_pos;
+layout(location = 1) in vec4 a_color;
+
+layout(location = 0) out vec4 v_color;
+
+void main() {
+ v_color = a_color;
+ gl_Position = vec4(a_pos, 0.0, 1.0);
+}