test.resources.graphics.scenery.spirvcrossj.spv.conditionalDiscard.frag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spirvcrossj Show documentation
Show all versions of spirvcrossj Show documentation
Java bindings for Khronos' SPIRV-Cross
#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