|
@@ -195,6 +195,8 @@ export class KhronosTextureContainer2 {
|
|
throw new Error("KTX2 container - could not transcode the data. " + data.errors);
|
|
throw new Error("KTX2 container - could not transcode the data. " + data.errors);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ internalTexture._gammaSpace = data.isInGammaSpace;
|
|
|
|
+
|
|
for (let t = 0; t < data.mipmaps.length; ++t) {
|
|
for (let t = 0; t < data.mipmaps.length; ++t) {
|
|
let mipmap = data.mipmaps[t];
|
|
let mipmap = data.mipmaps[t];
|
|
|
|
|