mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
From @rextimmy was missing the stateblock handling for the Transparency mode Sub
Added Open Recent functionality to File menubar item Added new editor setting for Startup Mode to dictate if it'll open the most recent level edited or the blank level, instead of utilizing a game UI control for level selection. Properly re-enabled the handling for the forceSidebarToSide setting to track to the setting value
This commit is contained in:
parent
c1e99364b7
commit
62fabf6894
9 changed files with 314 additions and 227 deletions
|
|
@ -134,6 +134,13 @@ void ProcessedMaterial::_setBlendState(Material::BlendOp blendOp, GFXStateBlockD
|
|||
desc.blendDest = GFXBlendInvSrcAlpha;
|
||||
break;
|
||||
}
|
||||
case Material::Sub:
|
||||
{
|
||||
desc.blendOp = GFXBlendOpSubtract;
|
||||
desc.blendSrc = GFXBlendOne;
|
||||
desc.blendDest = GFXBlendOne;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue