9 lines
227 B
Plaintext
9 lines
227 B
Plaintext
|
precision highp float;
|
||
|
varying vec2 v_texcoord;
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
void main() {
|
||
|
vec4 pixColor = texture2D(tex, v_texcoord);
|
||
|
gl_FragColor = vec4(1.0 - pixColor.r, 1.0 - pixColor.g, 1.0 - pixColor.b, pixColor.a);
|
||
|
}
|