浏览代码

Update terrFeatureHLSL.cpp

Brian Roberts 6 年之前
父节点
当前提交
4453a4ad4b
共有 1 个文件被更改,包括 3 次插入3 次删除
  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;