All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assets.minecraft.shaders.program.textswap.fsh Maven / Gradle / Ivy

The newest version!
#version 150

uniform sampler2D DiffuseSampler;
uniform sampler2D TextSwapSampler;

uniform vec4 ColorModulate;

in vec2 texCoord;
in vec2 oneTexel;

out vec4 fragColor;

void main() {
    vec4 a = texture(TextSwapSampler, texCoord);
    fragColor = mix(texture(DiffuseSampler, texCoord), vec4(a.rgb, 1.0), a.a);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy