summaryrefslogtreecommitdiff
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
parent156d9ee9b108a8e5e137115424cba42cb817f6ca (diff)
downloadcolorfilters-7e4c1b46ab79d6d208866fd8fa5925cd70618fc6.tar.gz
colorfilters-7e4c1b46ab79d6d208866fd8fa5925cd70618fc6.tar.bz2
Added some colorfilters, more coming soon :)
-rw-r--r--README.txt1
-rw-r--r--dull-blue6
-rw-r--r--dull-green6
-rw-r--r--dull-red6
-rw-r--r--neg-something5
-rw-r--r--negative-blue9
-rw-r--r--negative-red9
7 files changed, 42 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..522ecb6
--- /dev/null
+++ b/README.txt
@@ -0,0 +1 @@
+Copy the items in here (Except dummy and this file) to the directory where you keep your color filters. Load them using the colorfilter plugin from iXce (git://git.opencompositing.org/users/ixce/colorfilter afaik) by specifing the EXACT PATH to the filter. The current filters do this : Neg-Blue, Neg-Red, Dull-Blue, Dull-Red, Dull-Green, Dull-Neg
diff --git a/dull-blue b/dull-blue
new file mode 100644
index 0000000..fdb643d
--- /dev/null
+++ b/dull-blue
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.b, 0.51, output;
+MOV result.color, output;
+END
diff --git a/dull-green b/dull-green
new file mode 100644
index 0000000..d273858
--- /dev/null
+++ b/dull-green
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.g, 0.51, output;
+MOV result.color, output;
+END
diff --git a/dull-red b/dull-red
new file mode 100644
index 0000000..030eda8
--- /dev/null
+++ b/dull-red
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.r, 0.51, output;
+MOV result.color, output;
+END
diff --git a/neg-something b/neg-something
new file mode 100644
index 0000000..eac36c7
--- /dev/null
+++ b/neg-something
@@ -0,0 +1,5 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.rgb, 0.7, output;
+END
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
diff --git a/negative-red b/negative-red
new file mode 100644
index 0000000..add3d2d
--- /dev/null
+++ b/negative-red
@@ -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.g, output.g, output;
+SUB output.b, output.b, output;
+MOV result.color, output;
+END