瀏覽代碼

Merge pull request #7749 from sebavan/master

Fix clear coat normal without bump in gl1
David Catuhe 5 年之前
父節點
當前提交
ec3b3d244c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Shaders/ShadersInclude/bumpFragmentFunctions.fx

+ 1 - 1
src/Shaders/ShadersInclude/bumpFragmentFunctions.fx

@@ -62,7 +62,7 @@
 	}
 #endif
 
-#if defined(BUMP) || defined(CLEARCOAT_BUMP)
+#if defined(BUMP)
 	vec3 perturbNormal(mat3 cotangentFrame, vec3 color)
 	{
 		return perturbNormal(cotangentFrame, color, vBumpInfos.y);