3
TEX temp, fragment.texcoord[0], texture[0], RECT;
5
MAD temp.rgb, -neg.a, temp, 1.0;
6
MUL temp.rgb, temp.a, temp;
7
MUL temp, fragment.color, temp;
8
SUB temp.rb, temp, temp;
9
MOV result.color, temp;
1
void negative_green_fragment () {
2
gl_FragColor.rgb = vec3(0, 1.0 - gl_FragColor.g, 0);