Create/Update assets for version 1.19.4-pre4

This commit is contained in:
InventiveBot
2023-03-08 18:28:25 +01:00
parent f8577af8a6
commit 01a5bd9a26
17881 changed files with 1191303 additions and 18 deletions

View File

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