feat: 3 neue shader (vibrance, grayscale, invert) auf F7-F9, blaulicht-duplikat entfernt
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
|
||||
in vec2 v_texcoord;
|
||||
uniform sampler2D tex;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main() {
|
||||
vec4 pixColor = texture(tex, v_texcoord);
|
||||
fragColor = vec4(1.0 - pixColor.rgb, pixColor.a);
|
||||
}
|
||||
Reference in New Issue
Block a user