@babylonjs/loaders 8.32.2 → 8.33.0
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.
- package/glTF/2.0/glTFLoader.js +2 -2
- package/glTF/2.0/glTFLoader.js.map +1 -1
- package/glTF/2.0/index.d.ts +1 -1
- package/glTF/2.0/index.js +1 -1
- package/glTF/2.0/index.js.map +1 -1
- package/glTF/2.0/{openPbrMaterialLoadingAdapter.d.ts → openpbrMaterialLoadingAdapter.d.ts} +1 -6
- package/glTF/2.0/{openPbrMaterialLoadingAdapter.js → openpbrMaterialLoadingAdapter.js} +6 -16
- package/glTF/2.0/openpbrMaterialLoadingAdapter.js.map +1 -0
- package/package.json +3 -3
- package/glTF/2.0/openPbrMaterialLoadingAdapter.js.map +0 -1
package/glTF/2.0/glTFLoader.js
CHANGED
|
@@ -292,8 +292,8 @@ export class GLTFLoader {
|
|
|
292
292
|
if (!this.parent.skipMaterials && this._pbrMaterialImpl == null) {
|
|
293
293
|
if (this.parent.useOpenPBR || this.isExtensionUsed("KHR_materials_openpbr")) {
|
|
294
294
|
this._pbrMaterialImpl = {
|
|
295
|
-
materialClass: (await import("@babylonjs/core/Materials/PBR/
|
|
296
|
-
adapterClass: (await import("./
|
|
295
|
+
materialClass: (await import("@babylonjs/core/Materials/PBR/openpbrMaterial.js")).OpenPBRMaterial,
|
|
296
|
+
adapterClass: (await import("./openpbrMaterialLoadingAdapter.js")).OpenPBRMaterialLoadingAdapter,
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
else {
|