Explorar o código

Fix Falloff Switch

sebastien %!s(int64=7) %!d(string=hai) anos
pai
achega
a2ed194026
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/Materials/PBR/babylon.pbrBaseMaterial.ts

+ 2 - 2
src/Materials/PBR/babylon.pbrBaseMaterial.ts

@@ -1241,8 +1241,8 @@
                     defines.USEGLTFLIGHTFALLOFF = true;
                 }
                 else {
-                    defines.USEPHYSICALLIGHTFALLOFF = false;
-                    defines.USEGLTFLIGHTFALLOFF = true;
+                    defines.USEPHYSICALLIGHTFALLOFF = true;
+                    defines.USEGLTFLIGHTFALLOFF = false;
                 }
 
                 defines.RADIANCEOVERALPHA = this._useRadianceOverAlpha;