summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Wanners <marcus@wanners.net>2009-08-10 14:39:02 +0000
committerMarcus Wanners <marcus@wanners.net>2009-08-10 14:39:02 +0000
commitb325168bb0ea51eb56ff5ce20fde54a9e09eb825 (patch)
tree016cd12dcb63a393cd120e05c395418f7035b2fb
parentf7eda5fd49355aaadf4a0e4b8dc4ea0d59d18e82 (diff)
Added note to README, new shader (sunset2), updated nightvision2 with new resolution value.
-rw-r--r--README.txt2
-rw-r--r--nightvision2.txt2
-rw-r--r--sunset2.txt7
3 files changed, 9 insertions, 2 deletions
diff --git a/README.txt b/README.txt
index 3fe2571078..7c04efcb89 100644
--- a/README.txt
+++ b/README.txt
@@ -9,7 +9,7 @@ void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
/*
And now that's over with, the contents of this readme file!
For best results, turn Wordwrap formatting on...
-The shaders shown in the dropdown box in the video plugin configuration window are kept in the directory named User/Data/Shaders. See <http://code.google.com/p/dolphin-shader-database/wiki/Documentation> for more details.
+The shaders shown in the dropdown box in the video plugin configuration window are kept in the directory named User/Data/Shaders. They are linked in to the dolphin source from the repository at <http://dolphin-shaders-database.googlecode.com/svn/trunk/>. See <http://code.google.com/p/dolphin-shader-database/wiki/Documentation> for more details on the way shaders work.
This file will hopefully hold more content in future...
*/ \ No newline at end of file
diff --git a/nightvision2.txt b/nightvision2.txt
index e3461bbe8c..13a51e598e 100644
--- a/nightvision2.txt
+++ b/nightvision2.txt
@@ -3,7 +3,7 @@ uniform samplerRECT samp0 : register(s0);
void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
{
//variables
- int internalresolution = 1282;
+ int internalresolution = 1278;
float4 c0 = texRECT(samp0, uv0).rgba;
//blur
float4 blurtotal = float4(0, 0, 0, 0);
diff --git a/sunset2.txt b/sunset2.txt
new file mode 100644
index 0000000000..5ffc4b9352
--- /dev/null
+++ b/sunset2.txt
@@ -0,0 +1,7 @@
+uniform samplerRECT samp0 : register(s0);
+
+void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
+{
+ float4 c0 = texRECT(samp0, uv0).rgba;
+ ocol0 = float4(c0.r*1.5, c0.g*1, c0.b*0.5, c0.a);
+} \ No newline at end of file