Browse Source

Merge pull request #7749 from sebavan/master

Fix clear coat normal without bump in gl1
David Catuhe 5 năm trước cách đây
mục cha
commit
ec3b3d244c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);