make alphafunc passthrough by default for default2d

This commit is contained in:
Jan
2022-08-21 01:25:29 +02:00
parent 1757caa33d
commit 59d829b789
2 changed files with 17 additions and 7 deletions

View File

@ -16,9 +16,19 @@ blendFunc
separateAlphaBlendFunc
{
mtlBlendOp == Disable:
Disable, One, Zero;
Disable, One, Zero; // Confirmed
// somecondition:
// Disable, Zero, Zero;
// somecondition:
// Disable, Zero, DestAlpha;
// somecondition:
// Disable, One, One;
// somecondition:
// Disable, One, Zero;
//default:
// Add, InvDestAlpha, One;
default:
Add, InvDestAlpha, One;
passthrough;
}
cullFace