feat: 3 neue shader (vibrance, grayscale, invert) auf F7-F9, blaulicht-duplikat entfernt

This commit is contained in:
2026-04-23 20:30:14 +02:00
parent dbac00e04a
commit 48bb02ca4b
5 changed files with 55 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#version 300 es
precision highp float;
in vec2 v_texcoord;
uniform sampler2D tex;
out vec4 fragColor;
void main() {
vec4 pixColor = texture(tex, v_texcoord);
float gray = dot(pixColor.rgb, vec3(0.2627, 0.6780, 0.0593));
fragColor = vec4(vec3(gray), pixColor.a);
}