Skip to content

Instantly share code, notes, and snippets.

@th0ma5w
Created October 19, 2011 00:28
Show Gist options
  • Save th0ma5w/1297161 to your computer and use it in GitHub Desktop.
Save th0ma5w/1297161 to your computer and use it in GitHub Desktop.
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