mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
clip out eroneous test casuing issues with MFT_SubSurface
This commit is contained in:
parent
619c10bece
commit
294938b85b
1 changed files with 1 additions and 3 deletions
|
|
@ -745,10 +745,8 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
|
|||
newFeatures.addFeature( MFT_VertLit );
|
||||
newFeatures.addFeature( MFT_LightbufferMRT );
|
||||
}
|
||||
else
|
||||
else if (!fd.features.hasFeature(MFT_GlowMap))
|
||||
{
|
||||
// If this object isn't lightmapped or emissive, add a zero-output feature for render target 3
|
||||
if (!fd.features.hasFeature(MFT_IsEmissive)&&(!fd.features.hasFeature(MFT_GlowMap)))
|
||||
newFeatures.addFeature( MFT_RenderTarget3_Zero );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue