Update terrFeatureHLSL.cpp

This commit is contained in:
Brian Roberts 2018-10-29 13:22:16 -05:00 committed by GitHub
parent 6ba442bf07
commit 4453a4ad4b

View file

@ -908,9 +908,9 @@ void TerrainNormalMapFeatHLSL::processVert( Vector<ShaderComponent*> &component
void TerrainNormalMapFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
const MaterialFeatureData &fd )
{
// We only need to process normals during the deferred.
if (!fd.features.hasFeature(MFT_DeferredConditioner))
return;
// We only need to process normals during the deferred.
if (!fd.features.hasFeature(MFT_DeferredConditioner))
return;
MultiLine *meta = new MultiLine;