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

shaders.Textured.fs Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show 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 - 2024 Weber Informatics LLC | Privacy Policy