mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
Fix wrong blend ops for screen add blend func
This commit is contained in:
parent
457c3518ad
commit
3bef176676
@ -668,7 +668,7 @@ namespace IW4
|
||||
}
|
||||
else if (blendFunc == GDT_BLEND_FUNC_SCREEN_ADD)
|
||||
{
|
||||
SetBlendFunc(BlendOp_e::ADD, CustomBlendFunc_e::INV_DST_ALPHA, CustomBlendFunc_e::ONE);
|
||||
SetBlendFunc(BlendOp_e::ADD, CustomBlendFunc_e::INV_DST_COLOR, CustomBlendFunc_e::ONE);
|
||||
SetSeparateAlphaBlendFunc(BlendOp_e::DISABLE, CustomBlendFunc_e::ONE, CustomBlendFunc_e::ZERO);
|
||||
}
|
||||
else if (blendFunc == GDT_BLEND_FUNC_CUSTOM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user