瀏覽代碼

Fix Env Helper Texture

Sebastien Vandenberghe 7 年之前
父節點
當前提交
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;
             }