mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge branch 'alpha40_premul' of https://github.com/Azaezel/Torque3D into Preview4_0
This commit is contained in:
commit
27ee09e491
6 changed files with 37 additions and 13 deletions
|
|
@ -128,6 +128,12 @@ void ProcessedMaterial::_setBlendState(Material::BlendOp blendOp, GFXStateBlockD
|
|||
desc.blendDest = GFXBlendInvSrcAlpha;
|
||||
break;
|
||||
}
|
||||
case Material::PreMul:
|
||||
{
|
||||
desc.blendSrc = GFXBlendOne;
|
||||
desc.blendDest = GFXBlendInvSrcAlpha;
|
||||
break;
|
||||
}
|
||||
case Material::LerpAlpha:
|
||||
{
|
||||
desc.blendSrc = GFXBlendSrcAlpha;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue