Browse Source

Merge pull request #31 from nevyn/patch-1

PBR example: fix normal map flag in `flags`
Bjorn 4 years ago
parent
commit
3e9c7caa79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/PBR_Materials/main.lua

+ 1 - 1
examples/PBR_Materials/main.lua

@@ -3,7 +3,7 @@ function lovr.load()
 
 
   shader = lovr.graphics.newShader('standard', {
   shader = lovr.graphics.newShader('standard', {
     flags = {
     flags = {
-      normalTexture = false,
+      normalMap = false,
       indirectLighting = true,
       indirectLighting = true,
       occlusion = true,
       occlusion = true,
       emissive = true,
       emissive = true,