mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +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
28fd38266d
commit
e8450b6f78
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