Fix grayscale shader to gles 3

This commit is contained in:
Emmet
2025-08-04 10:12:39 -05:00
parent 62fc76cfd9
commit 29c347ff9c

View File

@ -575,10 +575,12 @@ in
/*
* Grayscale
*/
#version 300 es
precision highp float;
varying vec2 v_texcoord;
in vec2 v_texcoord;
uniform sampler2D tex;
out vec4 fragColor;
// Enum for type of grayscale conversion
const int LUMINOSITY = 0;
@ -623,7 +625,7 @@ in
}
vec3 grayscale = vec3(gray);
gl_FragColor = vec4(grayscale, pixColor.a);
fragColor = vec4(grayscale, pixColor.a);
}
'';
home.file.".config/ashell/config.toml".text = ''