From 68081ef4f1f51b5753e25a1be6f870eb2e84f76e Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 16 May 2024 19:31:31 +0200 Subject: experiment with vertex shader --- visuals.frag | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 visuals.frag (limited to 'visuals.frag') diff --git a/visuals.frag b/visuals.frag new file mode 100644 index 0000000..3539bdc --- /dev/null +++ b/visuals.frag @@ -0,0 +1,8 @@ +#version 330 core + +#include "config.h" + +void main() { + gl_FragColor = vec4(gl_FragCoord.x / WIDTH, gl_FragCoord.y / HEIGHT, 0, 1); +} + -- cgit v1.2.3