Update terrFeatureHLSL.cpp

This commit is contained in:
Brian Roberts 2018-10-29 13:22:16 -05:00 committed by GitHub
parent fb25d9c5a1
commit e434d61de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;