OneAvargeCoder193 735e99826e
Make the crosshair transparent (#1347)
* make crosshair transparent

* fix styling

* fixes
2025-04-27 15:14:07 +02:00

15 lines
211 B
GLSL

#version 330
layout (location=0) out vec4 frag_color;
uniform sampler2D image;
flat in vec4 fColor;
in vec2 uv;
void main() {
frag_color = texture(image, uv)*fColor;
if(frag_color.a == 0) {
discard;
}
}