Browse Source

Fix build

David Catuhe 6 năm trước cách đây
mục cha
commit
85aa8ee11f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Materials/materialHelper.ts

+ 1 - 1
src/Materials/materialHelper.ts

@@ -719,7 +719,7 @@ export class MaterialHelper {
         for (var i = 0; i < len; i++) {
 
             let light = mesh.lightSources[i];
-            this.BindLight(light, i, scene, mesh, effect, typeof defines === "boolean" ? defines : defines["SPECULAR"], usePhysicalLightFalloff);
+            this.BindLight(light, i, scene, mesh, effect, typeof defines === "boolean" ? defines : defines["SPECULARTERM"], usePhysicalLightFalloff);
         }
     }