Skip to content

Instantly share code, notes, and snippets.



Created Oct 19, 2011
What would you like to do?
dim blue-green (traffic light mix) color filter for compiz
TEMP tex, temp;
TEX tex, fragment.texcoord[0], texture[0], RECT;
DP3 temp.r, tex, {0.01, 0.01, 0.01, 0};
DP3 temp.g, tex, {0.05, 0.05, 0.05, 0};
DP3 temp.b, tex, {0.04, 0.04, 0.04, 0};
MOV temp.a, tex.a;
MOV result.color, temp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment