Create/Update assets for version 22w06a

This commit is contained in:
InventiveBot
2022-02-09 18:34:10 +00:00
parent 6f5e5da4d7
commit 5211dec8d5
14402 changed files with 984930 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);
}