You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
199 B
15 lines
199 B
4 months ago
|
#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;
|
||
|
}
|