Browse Source

Fix Env Helper Texture

Sebastien Vandenberghe 7 years ago
parent
commit
d1615c0818
1 changed files with 1 additions and 1 deletions
  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;
             }