Преглед изворни кода

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);