Explorar o código

Fix Env Helper Texture

Sebastien Vandenberghe %!s(int64=7) %!d(string=hai) anos
pai
achega
d1615c0818
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Helpers/babylon.environmentHelper.ts

+ 1 - 1
src/Helpers/babylon.environmentHelper.ts

@@ -680,7 +680,7 @@ module BABYLON {
             }
 
             if (this._options.skyboxTexture instanceof BaseTexture) {
-                this._skyboxMaterial.reflectionTexture = this._skyboxTexture;
+                this._skyboxMaterial.reflectionTexture = this._options.skyboxTexture;
                 return;
             }