Explorar o código

Fix bad encoding space for the texture

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
070e7d6c4c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      loaders/src/glTF/2.0/Extensions/KHR_texture_basisu.ts

+ 0 - 1
loaders/src/glTF/2.0/Extensions/KHR_texture_basisu.ts

@@ -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 image = ArrayItem.Get(`${extensionContext}/source`, this._loader.gltf.images, extension.source);
             return this._loader._createTextureAsync(context, sampler, image, (babylonTexture) => {
-                babylonTexture.gammaSpace = false;
                 assign(babylonTexture);
             });
         });