mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix wrong blend ops for screen add blend func
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user