summaryrefslogtreecommitdiff
path: root/negative-blue
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@ACER-SUSE.site>2007-07-09 08:37:16 -0700
committerSam Spilsbury <Sam@ACER-SUSE.site>2007-07-09 08:37:16 -0700
commit7e4c1b46ab79d6d208866fd8fa5925cd70618fc6 (patch)
treeb5be2f5d90fc7f62a8dcb28430be44b229d8ea09 /negative-blue
parent156d9ee9b108a8e5e137115424cba42cb817f6ca (diff)
downloadcolorfilters-7e4c1b46ab79d6d208866fd8fa5925cd70618fc6.tar.gz
colorfilters-7e4c1b46ab79d6d208866fd8fa5925cd70618fc6.tar.bz2
Added some colorfilters, more coming soon :)
Diffstat (limited to 'negative-blue')
-rw-r--r--negative-blue9
1 files changed, 9 insertions, 0 deletions
diff --git a/negative-blue b/negative-blue
new file mode 100644
index 0000000..3d12008
--- /dev/null
+++ b/negative-blue
@@ -0,0 +1,9 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.rgb, 1.0, output;
+MUL output, fragment.color, output;
+SUB output.r, output.r, output;
+SUB output.g, output.g, output;
+MOV result.color, output;
+END