From 7470df32e020e1e547da8da7f9461da1d38907f1 Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Thu, 19 Mar 2026 02:19:49 +0300 Subject: [PATCH] refactor: moved shader files --- hypr/grayscale.glsl | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 hypr/grayscale.glsl diff --git a/hypr/grayscale.glsl b/hypr/grayscale.glsl deleted file mode 100644 index 13a1b21..0000000 --- a/hypr/grayscale.glsl +++ /dev/null @@ -1,14 +0,0 @@ -#version 320 es - -precision mediump float; -in vec2 v_texcoord; // Use 'in' instead of 'varying' -uniform sampler2D tex; - -out vec4 fragColor; // Use 'out' instead of 'gl_FragColor' - -void main() { - vec4 this_colour = texture(tex, v_texcoord); - float new_colour = (this_colour.r + this_colour.g + this_colour.b) / 3.0; - fragColor = vec4(new_colour, new_colour, new_colour, 0.0); -} -