John Kessenich | 2f21fcc | 2015-06-17 16:15:09 +0000 | [diff] [blame] | 1 | #version 110 |
2 | |||||
3 | uniform sampler2D tex; | ||||
4 | varying vec2 coord; | ||||
5 | |||||
6 | void 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 | } |