1#version 110 2 3uniform sampler2D tex; 4varying vec2 coord; 5 6void main (void) 7{ 8 vec4 v = texture2D(tex, coord); 9 10 if (v == vec4(0.1,0.2,0.3,0.4)) 11 discard; 12 13 gl_FragColor = v; 14} 15