Browse Source

Fix Env Helper Texture

Sebastien Vandenberghe 7 năm trước cách đây
mục cha
commit
d1615c0818
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
             }