Skip to content

Instantly share code, notes, and snippets.

@th0ma5w

th0ma5w/gist:1297161

Created Oct 19, 2011
Embed
What would you like to do?
dim blue-green (traffic light mix) color filter for compiz
!!ARBfp1.0
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;
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment