Postprocessing: new and improved acidtrip shader :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3393 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-06-09 19:56:03 +00:00
parent 36026c62ed
commit 919ca8ac6d
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
uniform samplerRECT samp0 : register(s0);
void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
{
ocol0 = texRECT(samp0, uv0+1).rgba * 1.3 * abs(texRECT(samp0, uv0+1).rgba - texRECT(samp0, uv0-1).rgba)*8;
}