David Catuhe пре 6 година
родитељ
комит
85aa8ee11f
1 измењених фајлова са 1 додато и 1 уклоњено
  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++) {
         for (var i = 0; i < len; i++) {
 
 
             let light = mesh.lightSources[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);
         }
         }
     }
     }