mirror of https://github.com/PCSX2/pcsx2.git
GSdx: more alpha test magic
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1076 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
752db6056f
commit
270c8ee3d2
|
@ -458,7 +458,7 @@ PS_OUTPUT ps_main(PS_INPUT input)
|
|||
}
|
||||
else if(ATST == 4) // e
|
||||
{
|
||||
clip(0.5f / 256 - abs(c.a - AREF));
|
||||
clip(0.6f / 255 - abs(c.a - AREF)); // FIXME: 0.5f is too small
|
||||
}
|
||||
else if(ATST == 5 || ATST == 6) // ge, g
|
||||
{
|
||||
|
|
|
@ -285,7 +285,7 @@ float4 ps_main(PS_INPUT input) : COLOR
|
|||
}
|
||||
else if(ATST == 4) // e
|
||||
{
|
||||
clip(0.5f / 256 - abs(c.a - AREF));
|
||||
clip(0.6f / 256 - abs(c.a - AREF)); // FIXME: 0.5f is too small
|
||||
}
|
||||
else if(ATST == 5 || ATST == 6) // ge, g
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue