DeferredBumpFeat order of operations corrections. Clean.

This commit is contained in:
LuisAntonRebollo 2015-03-08 22:30:03 +01:00
parent 0325aaf5bb
commit ae3128b28b
2 changed files with 23 additions and 21 deletions

View file

@ -237,6 +237,7 @@ void DeferredBumpFeatGLSL::processVert( Vector<ShaderComponent*> &componentLis
meta, meta,
componentList ); componentList );
} }
if ( fd.features.hasFeature( MFT_DetailNormalMap ) ) if ( fd.features.hasFeature( MFT_DetailNormalMap ) )
addOutDetailTexCoord( componentList, addOutDetailTexCoord( componentList,
meta, meta,

View file

@ -237,6 +237,7 @@ void DeferredBumpFeatHLSL::processVert( Vector<ShaderComponent*> &componentLis
meta, meta,
componentList ); componentList );
} }
if ( fd.features.hasFeature( MFT_DetailNormalMap ) ) if ( fd.features.hasFeature( MFT_DetailNormalMap ) )
addOutDetailTexCoord( componentList, addOutDetailTexCoord( componentList,
meta, meta,