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

test.resources.graphics.scenery.spirvcrossj.spv.conditionalDiscard.frag Maven / Gradle / Ivy

There is a newer version: 0.8.0-1.1.106.0
Show newest version
#version 400

uniform sampler2D tex;
in vec2 coord;

void main (void)
{
    vec4 v = texture(tex, coord);

    if (v == vec4(0.1,0.2,0.3,0.4))
        discard;

    gl_FragColor = v;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy