From b325168bb0ea51eb56ff5ce20fde54a9e09eb825 Mon Sep 17 00:00:00 2001 From: Marcus Wanners Date: Mon, 10 Aug 2009 14:39:02 +0000 Subject: [PATCH] Added note to README, new shader (sunset2), updated nightvision2 with new resolution value. --- README.txt | 2 +- nightvision2.txt | 2 +- sunset2.txt | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 sunset2.txt 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 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 . See 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