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

org.saintandreas.gl.shaders.Textured.fs Maven / Gradle / Ivy

The newest version!
#version 330

uniform sampler2D sampler;
uniform float Alpha = 1.0;

in vec2 vTexCoord;
out vec4 vFragColor;

void main() {
    vec4 c = texture(sampler, vTexCoord);
    c.a = min(Alpha, c.a);
    vFragColor = c;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy