Browse Source

Fix missing extension declaration in pbr fragment shader when normals are not provided

Gary Hsu 8 years ago
parent
commit
75c9c87077
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Shaders/pbr.fragment.fx

+ 1 - 1
src/Shaders/pbr.fragment.fx

@@ -1,4 +1,4 @@
-#ifdef BUMP
+#if defined(BUMP)|| !defined(NORMAL)
 #extension GL_OES_standard_derivatives : enable
 #endif