Browse Source

Update terrFeatureGLSL.cpp

Brian Roberts 6 năm trước cách đây
mục cha
commit
6ba442bf07
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Engine/source/terrain/glsl/terrFeatureGLSL.cpp

+ 3 - 3
Engine/source/terrain/glsl/terrFeatureGLSL.cpp

@@ -927,9 +927,9 @@ void TerrainNormalMapFeatGLSL::processVert(  Vector<ShaderComponent*> &component
 void TerrainNormalMapFeatGLSL::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;