Sebastien Vandenberghe 7 лет назад
Родитель
Сommit
d1615c0818
1 измененных файлов с 1 добавлено и 1 удалено
  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;
             }