From 46f8178ab15564c58bee6307d1214634c34f863e Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Wed, 10 Jun 2009 09:08:05 +0000 Subject: [PATCH] New shader: Everything looks like the sun is setting. Otherwise called 'crazy colors' git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3404 8ced0084-cf51-0410-be5f-012b33b47a6e --- Data/User/Shaders/sunset.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Data/User/Shaders/sunset.txt diff --git a/Data/User/Shaders/sunset.txt b/Data/User/Shaders/sunset.txt new file mode 100644 index 0000000000..e92562461e --- /dev/null +++ b/Data/User/Shaders/sunset.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.b, c0.g, c0.r, c0.a); +}