Create/Update assets for version 24w35a

This commit is contained in:
InventiveBot
2024-08-28 18:32:16 +02:00
parent 21bbee0a31
commit 3e98ff7b04
20230 changed files with 1432404 additions and 18 deletions

View File

@@ -0,0 +1,16 @@
#version 150
uniform sampler2D InSampler;
in vec2 texCoord;
uniform float InverseAmount;
out vec4 fragColor;
void main(){
vec4 diffuseColor = texture(InSampler, texCoord);
vec4 invertColor = 1.0 - diffuseColor;
vec4 outColor = mix(diffuseColor, invertColor, InverseAmount);
fragColor = vec4(outColor.rgb, 1.0);
}