Просмотр исходного кода

Merge pull request #7749 from sebavan/master

Fix clear coat normal without bump in gl1
David Catuhe 5 лет назад
Родитель
Сommit
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);