@@ -43464,6 +43464,9 @@ var BABYLON;
}
_this.isCube = true;
_this._textureMatrix = BABYLON.Matrix.Identity();
+ if (prefiltered) {
+ _this.gammaSpace = false;
+ }
return _this;
CubeTexture.CreateFromImages = function (files, scene, noMipmap) {
@@ -31349,6 +31349,9 @@ var BABYLON;
@@ -73,6 +73,10 @@
this.isCube = true;
this._textureMatrix = Matrix.Identity();
+
+ this.gammaSpace = false;
// Methods