Merge pull request #248 from Azaezel/alpha40_glowNONO

cleanup singlechannel glowmask leftovers (we use a full rgb map now)
This commit is contained in:
Brian Roberts 2020-07-14 03:22:31 -05:00 committed by GitHub
commit a6ba72bb82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -638,8 +638,6 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
if( mStages[stageNum].getTex( MFT_PBRConfigMap ) )
{
newFeatures.addFeature( MFT_PBRConfigMap );
if( mStages[stageNum].getTex( MFT_PBRConfigMap )->mHasTransparency )
newFeatures.addFeature( MFT_GlowMap );
}
else
newFeatures.addFeature( MFT_PBRConfigVars );