GSdx: Newest scanlines shader looks much nicer this way :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5814 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2.code 2014-01-13 18:23:53 +00:00
parent bdf5e650a6
commit 4015db8403
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ PS_OUTPUT ps_main9(PS_INPUT input) // triangular
if (ddy(input.t.y) * texdim.y > 0.5)
output.c = sample_c(input.t);
else
output.c = (0.5 - 0.5 * cos(2 * PI * input.t.y * texdim.y)) * sample_c(float2(input.t.x, (floor(input.t.y * texdim.y) + 0.5) / texdim.y));
output.c = (0.9 - 0.4 * cos(2 * PI * input.t.y * texdim.y)) * sample_c(float2(input.t.x, (floor(input.t.y * texdim.y) + 0.5) / texdim.y));
return output;
}