Browse Source

Fix clear coat normal without bump in gl1

sebavan 5 years ago
parent
commit
b4b4dc59b1
1 changed files with 1 additions and 1 deletions
  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);