Explorar o código

Merge pull request #7749 from sebavan/master

Fix clear coat normal without bump in gl1
David Catuhe %!s(int64=5) %!d(string=hai) anos
pai
achega
ec3b3d244c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);