mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
clip out eroneous test casuing issues with MFT_SubSurface
This commit is contained in:
parent
60d2b0a0f6
commit
63a4d69a33
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