|
@@ -37,7 +37,6 @@ export class KHR_texture_basisu implements IGLTFLoaderExtension {
|
|
const sampler = (texture.sampler == undefined ? GLTFLoader.DefaultSampler : ArrayItem.Get(`${context}/sampler`, this._loader.gltf.samplers, texture.sampler));
|
|
const sampler = (texture.sampler == undefined ? GLTFLoader.DefaultSampler : ArrayItem.Get(`${context}/sampler`, this._loader.gltf.samplers, texture.sampler));
|
|
const image = ArrayItem.Get(`${extensionContext}/source`, this._loader.gltf.images, extension.source);
|
|
const image = ArrayItem.Get(`${extensionContext}/source`, this._loader.gltf.images, extension.source);
|
|
return this._loader._createTextureAsync(context, sampler, image, (babylonTexture) => {
|
|
return this._loader._createTextureAsync(context, sampler, image, (babylonTexture) => {
|
|
- babylonTexture.gammaSpace = false;
|
|
|
|
assign(babylonTexture);
|
|
assign(babylonTexture);
|
|
});
|
|
});
|
|
});
|
|
});
|