Create/Update assets for version 1.20.1

This commit is contained in:
InventiveBot
2023-06-13 15:36:04 +02:00
parent c2ee9fa864
commit af628ec0e7
17866 changed files with 1261518 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
#version 150
uniform sampler2D DiffuseSampler;
in vec2 texCoord;
in vec2 oneTexel;
uniform vec2 InSize;
out vec4 fragColor;
void main() {
vec3 Texel0 = texture(DiffuseSampler, texCoord).rgb;
vec3 Texel1 = texture(DiffuseSampler, texCoord + vec2(oneTexel.x, 0.0)).rgb;
vec3 Texel2 = texture(DiffuseSampler, texCoord + vec2(0.0, oneTexel.y)).rgb;
vec3 Texel3 = texture(DiffuseSampler, texCoord + oneTexel).rgb;
fragColor = vec4((Texel0 + Texel1 + Texel2 + Texel3) * 0.25, 1.0);
}