Sfoglia il codice sorgente

Update terrFeatureHLSL.cpp

Brian Roberts 6 anni fa
parent
commit
4453a4ad4b
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      Engine/source/terrain/hlsl/terrFeatureHLSL.cpp

+ 3 - 3
Engine/source/terrain/hlsl/terrFeatureHLSL.cpp

@@ -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;