mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
commit
3082bb3adc
28 changed files with 132 additions and 74 deletions
|
|
@ -368,7 +368,7 @@ void ProcessedFFMaterial::_initPassStateBlock( RenderPassData *rpd, GFXStateBloc
|
|||
result.blendDefined = true;
|
||||
result.blendEnable = true;
|
||||
result.blendSrc = GFXBlendOne;
|
||||
result.blendSrc = GFXBlendOne;
|
||||
result.blendDest = GFXBlendZero;
|
||||
}
|
||||
|
||||
// This is here for generic FF shader fallbacks.
|
||||
|
|
|
|||
|
|
@ -328,6 +328,7 @@ void ProcessedShaderMaterial::_determineFeatures( U32 stageNum,
|
|||
if ( features.hasFeature( MFT_UseInstancing ) &&
|
||||
mMaxStages == 1 &&
|
||||
!mMaterial->mGlow[0] &&
|
||||
!mMaterial->mDynamicCubemap &&
|
||||
shaderVersion >= 3.0f )
|
||||
fd.features.addFeature( MFT_UseInstancing );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue