@babylonjs/core 7.48.0 → 7.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import { Texture } from "../Materials/Textures/texture.js";
4
4
  import { DataBuffer } from "../Buffers/dataBuffer.js";
5
5
  import { Tools } from "../Misc/tools.js";
6
6
  import { Observable } from "../Misc/observable.js";
7
- import { CreateImageDataArrayBufferViews, GetEnvInfo, UploadEnvSpherical } from "../Misc/environmentTextureTools.js";
7
+ import { CreateRadianceImageDataArrayBufferViews, GetEnvInfo, UploadEnvSpherical } from "../Misc/environmentTextureTools.js";
8
8
  import { Logger } from "../Misc/logger.js";
9
9
 
10
10
  import { ThinEngine } from "./thinEngine.js";
@@ -1665,7 +1665,7 @@ export class NativeEngine extends Engine {
1665
1665
  throw new Error(`Nothing else parsed so far`);
1666
1666
  }
1667
1667
  texture._lodGenerationScale = specularInfo.lodGenerationScale;
1668
- const imageData = CreateImageDataArrayBufferViews(data, info);
1668
+ const imageData = CreateRadianceImageDataArrayBufferViews(data, info);
1669
1669
  texture.format = 5;
1670
1670
  texture.type = 0;
1671
1671
  texture.generateMipMaps = true;