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

resources.shaders.Grid.frag Maven / Gradle / Ivy

The newest version!
#version 120
#pragma include includes/StdLib.frag

in vec2 texcoord;

uniform sampler2D diffuse_sampler;

void main() {
    FragColor = texture(diffuse_sampler, texcoord);
    if(FragColor.a < 0.5)
        discard;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy