mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-01 07:01:12 +00:00
15 lines
199 B
GLSL
15 lines
199 B
GLSL
#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;
|
|
}
|