babylonjs-serializers 5.3.0 → 5.4.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.
@@ -61,6 +61,26 @@ declare module BABYLON {
61
61
  }
62
62
 
63
63
 
64
+ /**
65
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
66
+ */
67
+ export class KHR_materials_ior implements IGLTFExporterExtensionV2 {
68
+ /** Name of this extension */
69
+ readonly name = "KHR_materials_ior";
70
+ /** Defines whether this extension is enabled */
71
+ enabled: boolean;
72
+ /** Defines whether this extension is required */
73
+ required: boolean;
74
+ private _wasUsed;
75
+ constructor();
76
+ dispose(): void;
77
+ /** @hidden */
78
+ get wasUsed(): boolean;
79
+ private _isExtensionEnabled;
80
+ postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
81
+ }
82
+
83
+
64
84
  /**
65
85
  * @hidden
66
86
  */
@@ -126,6 +146,29 @@ declare module BABYLON {
126
146
  }
127
147
 
128
148
 
149
+ /**
150
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
151
+ */
152
+ export class KHR_materials_transmission implements IGLTFExporterExtensionV2 {
153
+ /** Name of this extension */
154
+ readonly name = "KHR_materials_transmission";
155
+ /** Defines whether this extension is enabled */
156
+ enabled: boolean;
157
+ /** Defines whether this extension is required */
158
+ required: boolean;
159
+ private _exporter;
160
+ private _wasUsed;
161
+ constructor(exporter: _Exporter);
162
+ dispose(): void;
163
+ /** @hidden */
164
+ get wasUsed(): boolean;
165
+ postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
166
+ private _isExtensionEnabled;
167
+ private _hasTexturesExtension;
168
+ postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
169
+ }
170
+
171
+
129
172
  /**
130
173
  * @hidden
131
174
  */
@@ -145,6 +188,29 @@ declare module BABYLON {
145
188
  }
146
189
 
147
190
 
191
+ /**
192
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
193
+ */
194
+ export class KHR_materials_volume implements IGLTFExporterExtensionV2 {
195
+ /** Name of this extension */
196
+ readonly name = "KHR_materials_volume";
197
+ /** Defines whether this extension is enabled */
198
+ enabled: boolean;
199
+ /** Defines whether this extension is required */
200
+ required: boolean;
201
+ private _exporter;
202
+ private _wasUsed;
203
+ constructor(exporter: _Exporter);
204
+ dispose(): void;
205
+ /** @hidden */
206
+ get wasUsed(): boolean;
207
+ postExportMaterialAdditionalTextures?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): BaseTexture[];
208
+ private _isExtensionEnabled;
209
+ private _hasTexturesExtension;
210
+ postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
211
+ }
212
+
213
+
148
214
  /**
149
215
  * @hidden
150
216
  */
@@ -806,6 +806,75 @@ var KHR_materials_clearcoat = /** @class */ (function () {
806
806
  _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function (exporter) { return new KHR_materials_clearcoat(exporter); });
807
807
 
808
808
 
809
+ /***/ }),
810
+
811
+ /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_ior.js":
812
+ /*!******************************************************************************!*\
813
+ !*** ../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_ior.js ***!
814
+ \******************************************************************************/
815
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
816
+
817
+ __webpack_require__.r(__webpack_exports__);
818
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
819
+ /* harmony export */ "KHR_materials_ior": () => (/* binding */ KHR_materials_ior)
820
+ /* harmony export */ });
821
+ /* harmony import */ var _glTFExporter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../glTFExporter */ "../../../lts/serializers/dist/glTF/2.0/glTFExporter.js");
822
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Materials/PBR/pbrMaterial */ "core/Maths/math.vector");
823
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__);
824
+
825
+
826
+ var NAME = "KHR_materials_ior";
827
+ /**
828
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
829
+ */
830
+ // eslint-disable-next-line @typescript-eslint/naming-convention
831
+ var KHR_materials_ior = /** @class */ (function () {
832
+ function KHR_materials_ior() {
833
+ /** Name of this extension */
834
+ this.name = NAME;
835
+ /** Defines whether this extension is enabled */
836
+ this.enabled = true;
837
+ /** Defines whether this extension is required */
838
+ this.required = false;
839
+ this._wasUsed = false;
840
+ }
841
+ KHR_materials_ior.prototype.dispose = function () { };
842
+ Object.defineProperty(KHR_materials_ior.prototype, "wasUsed", {
843
+ /** @hidden */
844
+ get: function () {
845
+ return this._wasUsed;
846
+ },
847
+ enumerable: false,
848
+ configurable: true
849
+ });
850
+ KHR_materials_ior.prototype._isExtensionEnabled = function (mat) {
851
+ // This extension must not be used on a material that also uses KHR_materials_unlit
852
+ if (mat.unlit) {
853
+ return false;
854
+ }
855
+ return mat.indexOfRefraction != undefined && mat.indexOfRefraction != 1.5; // 1.5 is normative default value.
856
+ };
857
+ KHR_materials_ior.prototype.postExportMaterialAsync = function (context, node, babylonMaterial) {
858
+ var _this = this;
859
+ return new Promise(function (resolve) {
860
+ if (babylonMaterial instanceof core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.PBRMaterial && _this._isExtensionEnabled(babylonMaterial)) {
861
+ _this._wasUsed = true;
862
+ var iorInfo = {
863
+ ior: babylonMaterial.indexOfRefraction,
864
+ };
865
+ node.extensions = node.extensions || {};
866
+ node.extensions[NAME] = iorInfo;
867
+ }
868
+ resolve(node);
869
+ });
870
+ };
871
+ return KHR_materials_ior;
872
+ }());
873
+
874
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
875
+ _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function (exporter) { return new KHR_materials_ior(); });
876
+
877
+
809
878
  /***/ }),
810
879
 
811
880
  /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_iridescence.js":
@@ -1045,6 +1114,10 @@ var KHR_materials_specular = /** @class */ (function () {
1045
1114
  return additionalTextures;
1046
1115
  };
1047
1116
  KHR_materials_specular.prototype._isExtensionEnabled = function (mat) {
1117
+ // This extension must not be used on a material that also uses KHR_materials_unlit
1118
+ if (mat.unlit) {
1119
+ return false;
1120
+ }
1048
1121
  return ((mat.metallicF0Factor != undefined && mat.metallicF0Factor != 1.0) ||
1049
1122
  (mat.metallicReflectanceColor != undefined && !mat.metallicReflectanceColor.equalsFloats(1.0, 1.0, 1.0)) ||
1050
1123
  this._hasTexturesExtension(mat));
@@ -1085,6 +1158,99 @@ var KHR_materials_specular = /** @class */ (function () {
1085
1158
  _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function (exporter) { return new KHR_materials_specular(exporter); });
1086
1159
 
1087
1160
 
1161
+ /***/ }),
1162
+
1163
+ /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_transmission.js":
1164
+ /*!***************************************************************************************!*\
1165
+ !*** ../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_transmission.js ***!
1166
+ \***************************************************************************************/
1167
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1168
+
1169
+ __webpack_require__.r(__webpack_exports__);
1170
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1171
+ /* harmony export */ "KHR_materials_transmission": () => (/* binding */ KHR_materials_transmission)
1172
+ /* harmony export */ });
1173
+ /* harmony import */ var _glTFExporter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../glTFExporter */ "../../../lts/serializers/dist/glTF/2.0/glTFExporter.js");
1174
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Materials/PBR/pbrMaterial */ "core/Maths/math.vector");
1175
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__);
1176
+
1177
+
1178
+ var NAME = "KHR_materials_transmission";
1179
+ /**
1180
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
1181
+ */
1182
+ // eslint-disable-next-line @typescript-eslint/naming-convention
1183
+ var KHR_materials_transmission = /** @class */ (function () {
1184
+ function KHR_materials_transmission(exporter) {
1185
+ /** Name of this extension */
1186
+ this.name = NAME;
1187
+ /** Defines whether this extension is enabled */
1188
+ this.enabled = true;
1189
+ /** Defines whether this extension is required */
1190
+ this.required = false;
1191
+ this._wasUsed = false;
1192
+ this._exporter = exporter;
1193
+ }
1194
+ KHR_materials_transmission.prototype.dispose = function () { };
1195
+ Object.defineProperty(KHR_materials_transmission.prototype, "wasUsed", {
1196
+ /** @hidden */
1197
+ get: function () {
1198
+ return this._wasUsed;
1199
+ },
1200
+ enumerable: false,
1201
+ configurable: true
1202
+ });
1203
+ KHR_materials_transmission.prototype.postExportMaterialAdditionalTextures = function (context, node, babylonMaterial) {
1204
+ var additionalTextures = [];
1205
+ if (babylonMaterial instanceof core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.PBRMaterial) {
1206
+ if (this._isExtensionEnabled(babylonMaterial)) {
1207
+ if (babylonMaterial.subSurface.thicknessTexture) {
1208
+ additionalTextures.push(babylonMaterial.subSurface.thicknessTexture);
1209
+ }
1210
+ return additionalTextures;
1211
+ }
1212
+ }
1213
+ return additionalTextures;
1214
+ };
1215
+ KHR_materials_transmission.prototype._isExtensionEnabled = function (mat) {
1216
+ // This extension must not be used on a material that also uses KHR_materials_unlit
1217
+ if (mat.unlit) {
1218
+ return false;
1219
+ }
1220
+ var subs = mat.subSurface;
1221
+ return (subs.isRefractionEnabled && subs.refractionIntensity != undefined && subs.refractionIntensity != 0) || this._hasTexturesExtension(mat);
1222
+ };
1223
+ KHR_materials_transmission.prototype._hasTexturesExtension = function (mat) {
1224
+ return mat.subSurface.refractionIntensityTexture != null;
1225
+ };
1226
+ KHR_materials_transmission.prototype.postExportMaterialAsync = function (context, node, babylonMaterial) {
1227
+ var _this = this;
1228
+ return new Promise(function (resolve) {
1229
+ var _a;
1230
+ if (babylonMaterial instanceof core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.PBRMaterial && _this._isExtensionEnabled(babylonMaterial)) {
1231
+ _this._wasUsed = true;
1232
+ var subs = babylonMaterial.subSurface;
1233
+ var transmissionFactor = subs.refractionIntensity === 0 ? undefined : subs.refractionIntensity;
1234
+ var transmissionTexture = (_a = _this._exporter._glTFMaterialExporter._getTextureInfo(subs.refractionIntensityTexture)) !== null && _a !== void 0 ? _a : undefined;
1235
+ var volumeInfo = {
1236
+ transmissionFactor: transmissionFactor,
1237
+ transmissionTexture: transmissionTexture,
1238
+ hasTextures: function () {
1239
+ return _this._hasTexturesExtension(babylonMaterial);
1240
+ },
1241
+ };
1242
+ node.extensions = node.extensions || {};
1243
+ node.extensions[NAME] = volumeInfo;
1244
+ }
1245
+ resolve(node);
1246
+ });
1247
+ };
1248
+ return KHR_materials_transmission;
1249
+ }());
1250
+
1251
+ _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function (exporter) { return new KHR_materials_transmission(exporter); });
1252
+
1253
+
1088
1254
  /***/ }),
1089
1255
 
1090
1256
  /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_unlit.js":
@@ -1153,6 +1319,111 @@ var KHR_materials_unlit = /** @class */ (function () {
1153
1319
  _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function () { return new KHR_materials_unlit(); });
1154
1320
 
1155
1321
 
1322
+ /***/ }),
1323
+
1324
+ /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_volume.js":
1325
+ /*!*********************************************************************************!*\
1326
+ !*** ../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_volume.js ***!
1327
+ \*********************************************************************************/
1328
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1329
+
1330
+ __webpack_require__.r(__webpack_exports__);
1331
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1332
+ /* harmony export */ "KHR_materials_volume": () => (/* binding */ KHR_materials_volume)
1333
+ /* harmony export */ });
1334
+ /* harmony import */ var _glTFExporter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../glTFExporter */ "../../../lts/serializers/dist/glTF/2.0/glTFExporter.js");
1335
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Maths/math.color */ "core/Maths/math.vector");
1336
+ /* harmony import */ var core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__);
1337
+
1338
+
1339
+
1340
+ var NAME = "KHR_materials_volume";
1341
+ /**
1342
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
1343
+ */
1344
+ // eslint-disable-next-line @typescript-eslint/naming-convention
1345
+ var KHR_materials_volume = /** @class */ (function () {
1346
+ function KHR_materials_volume(exporter) {
1347
+ /** Name of this extension */
1348
+ this.name = NAME;
1349
+ /** Defines whether this extension is enabled */
1350
+ this.enabled = true;
1351
+ /** Defines whether this extension is required */
1352
+ this.required = false;
1353
+ this._wasUsed = false;
1354
+ this._exporter = exporter;
1355
+ }
1356
+ KHR_materials_volume.prototype.dispose = function () { };
1357
+ Object.defineProperty(KHR_materials_volume.prototype, "wasUsed", {
1358
+ /** @hidden */
1359
+ get: function () {
1360
+ return this._wasUsed;
1361
+ },
1362
+ enumerable: false,
1363
+ configurable: true
1364
+ });
1365
+ KHR_materials_volume.prototype.postExportMaterialAdditionalTextures = function (context, node, babylonMaterial) {
1366
+ var additionalTextures = [];
1367
+ if (babylonMaterial instanceof core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.PBRMaterial) {
1368
+ if (this._isExtensionEnabled(babylonMaterial)) {
1369
+ if (babylonMaterial.subSurface.thicknessTexture) {
1370
+ additionalTextures.push(babylonMaterial.subSurface.thicknessTexture);
1371
+ }
1372
+ return additionalTextures;
1373
+ }
1374
+ }
1375
+ return additionalTextures;
1376
+ };
1377
+ KHR_materials_volume.prototype._isExtensionEnabled = function (mat) {
1378
+ // This extension must not be used on a material that also uses KHR_materials_unlit
1379
+ if (mat.unlit) {
1380
+ return false;
1381
+ }
1382
+ var subs = mat.subSurface;
1383
+ // this extension requires either the KHR_materials_transmission or KHR_materials_translucency extensions.
1384
+ if (!subs.isRefractionEnabled && !subs.isTranslucencyEnabled) {
1385
+ return false;
1386
+ }
1387
+ return ((subs.maximumThickness != undefined && subs.maximumThickness != 0) ||
1388
+ (subs.tintColorAtDistance != undefined && subs.tintColorAtDistance != Number.POSITIVE_INFINITY) ||
1389
+ (subs.tintColor != undefined && subs.tintColor != core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.Color3.White()) ||
1390
+ this._hasTexturesExtension(mat));
1391
+ };
1392
+ KHR_materials_volume.prototype._hasTexturesExtension = function (mat) {
1393
+ return mat.subSurface.thicknessTexture != null;
1394
+ };
1395
+ KHR_materials_volume.prototype.postExportMaterialAsync = function (context, node, babylonMaterial) {
1396
+ var _this = this;
1397
+ return new Promise(function (resolve) {
1398
+ var _a;
1399
+ if (babylonMaterial instanceof core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.PBRMaterial && _this._isExtensionEnabled(babylonMaterial)) {
1400
+ _this._wasUsed = true;
1401
+ var subs = babylonMaterial.subSurface;
1402
+ var thicknessFactor = subs.maximumThickness == 0 ? undefined : subs.maximumThickness;
1403
+ var thicknessTexture = (_a = _this._exporter._glTFMaterialExporter._getTextureInfo(subs.thicknessTexture)) !== null && _a !== void 0 ? _a : undefined;
1404
+ var attenuationDistance = subs.tintColorAtDistance == Number.POSITIVE_INFINITY ? undefined : subs.tintColorAtDistance;
1405
+ var attenuationColor = subs.tintColor.equalsFloats(1.0, 1.0, 1.0) ? undefined : subs.tintColor.asArray();
1406
+ var volumeInfo = {
1407
+ thicknessFactor: thicknessFactor,
1408
+ thicknessTexture: thicknessTexture,
1409
+ attenuationDistance: attenuationDistance,
1410
+ attenuationColor: attenuationColor,
1411
+ hasTextures: function () {
1412
+ return _this._hasTexturesExtension(babylonMaterial);
1413
+ },
1414
+ };
1415
+ node.extensions = node.extensions || {};
1416
+ node.extensions[NAME] = volumeInfo;
1417
+ }
1418
+ resolve(node);
1419
+ });
1420
+ };
1421
+ return KHR_materials_volume;
1422
+ }());
1423
+
1424
+ _glTFExporter__WEBPACK_IMPORTED_MODULE_0__._Exporter.RegisterExtension(NAME, function (exporter) { return new KHR_materials_volume(exporter); });
1425
+
1426
+
1156
1427
  /***/ }),
1157
1428
 
1158
1429
  /***/ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_texture_transform.js":
@@ -1320,10 +1591,13 @@ __webpack_require__.r(__webpack_exports__);
1320
1591
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1321
1592
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _KHR_lights_punctual__WEBPACK_IMPORTED_MODULE_1__.KHR_lights_punctual),
1322
1593
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _KHR_materials_clearcoat__WEBPACK_IMPORTED_MODULE_2__.KHR_materials_clearcoat),
1594
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _KHR_materials_ior__WEBPACK_IMPORTED_MODULE_6__.KHR_materials_ior),
1323
1595
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _KHR_materials_iridescence__WEBPACK_IMPORTED_MODULE_3__.KHR_materials_iridescence),
1324
1596
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _KHR_materials_sheen__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_sheen),
1325
- /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _KHR_materials_specular__WEBPACK_IMPORTED_MODULE_6__.KHR_materials_specular),
1597
+ /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _KHR_materials_specular__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_specular),
1598
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _KHR_materials_transmission__WEBPACK_IMPORTED_MODULE_9__.KHR_materials_transmission),
1326
1599
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _KHR_materials_unlit__WEBPACK_IMPORTED_MODULE_5__.KHR_materials_unlit),
1600
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _KHR_materials_volume__WEBPACK_IMPORTED_MODULE_8__.KHR_materials_volume),
1327
1601
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _KHR_texture_transform__WEBPACK_IMPORTED_MODULE_0__.KHR_texture_transform)
1328
1602
  /* harmony export */ });
1329
1603
  /* harmony import */ var _KHR_texture_transform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KHR_texture_transform */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_texture_transform.js");
@@ -1332,7 +1606,13 @@ __webpack_require__.r(__webpack_exports__);
1332
1606
  /* harmony import */ var _KHR_materials_iridescence__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KHR_materials_iridescence */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_iridescence.js");
1333
1607
  /* harmony import */ var _KHR_materials_sheen__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./KHR_materials_sheen */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_sheen.js");
1334
1608
  /* harmony import */ var _KHR_materials_unlit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./KHR_materials_unlit */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_unlit.js");
1335
- /* harmony import */ var _KHR_materials_specular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./KHR_materials_specular */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_specular.js");
1609
+ /* harmony import */ var _KHR_materials_ior__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./KHR_materials_ior */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_ior.js");
1610
+ /* harmony import */ var _KHR_materials_specular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./KHR_materials_specular */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_specular.js");
1611
+ /* harmony import */ var _KHR_materials_volume__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./KHR_materials_volume */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_volume.js");
1612
+ /* harmony import */ var _KHR_materials_transmission__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./KHR_materials_transmission */ "../../../lts/serializers/dist/glTF/2.0/Extensions/KHR_materials_transmission.js");
1613
+
1614
+
1615
+
1336
1616
 
1337
1617
 
1338
1618
 
@@ -5649,10 +5929,13 @@ __webpack_require__.r(__webpack_exports__);
5649
5929
  /* harmony export */ "GLTFData": () => (/* reexport safe */ _glTFData__WEBPACK_IMPORTED_MODULE_1__.GLTFData),
5650
5930
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_lights_punctual),
5651
5931
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_clearcoat),
5932
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_ior),
5652
5933
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_iridescence),
5653
5934
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_sheen),
5654
5935
  /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_specular),
5936
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_transmission),
5655
5937
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_unlit),
5938
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_materials_volume),
5656
5939
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _Extensions_index__WEBPACK_IMPORTED_MODULE_7__.KHR_texture_transform),
5657
5940
  /* harmony export */ "_BinaryWriter": () => (/* reexport safe */ _glTFExporter__WEBPACK_IMPORTED_MODULE_2__._BinaryWriter),
5658
5941
  /* harmony export */ "_Exporter": () => (/* reexport safe */ _glTFExporter__WEBPACK_IMPORTED_MODULE_2__._Exporter),
@@ -5735,10 +6018,13 @@ __webpack_require__.r(__webpack_exports__);
5735
6018
  /* harmony export */ "GLTFData": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.GLTFData),
5736
6019
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_lights_punctual),
5737
6020
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_clearcoat),
6021
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_ior),
5738
6022
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_iridescence),
5739
6023
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_sheen),
5740
6024
  /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_specular),
6025
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_transmission),
5741
6026
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_unlit),
6027
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_volume),
5742
6028
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__.KHR_texture_transform),
5743
6029
  /* harmony export */ "_BinaryWriter": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__._BinaryWriter),
5744
6030
  /* harmony export */ "_Exporter": () => (/* reexport safe */ _2_0_index__WEBPACK_IMPORTED_MODULE_1__._Exporter),
@@ -5769,10 +6055,13 @@ __webpack_require__.r(__webpack_exports__);
5769
6055
  /* harmony export */ "GLTFData": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.GLTFData),
5770
6056
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_lights_punctual),
5771
6057
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_clearcoat),
6058
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_ior),
5772
6059
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_iridescence),
5773
6060
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_sheen),
5774
6061
  /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_specular),
6062
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_transmission),
5775
6063
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_unlit),
6064
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_volume),
5776
6065
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _glTF_index__WEBPACK_IMPORTED_MODULE_1__.KHR_texture_transform),
5777
6066
  /* harmony export */ "OBJExport": () => (/* reexport safe */ _OBJ_index__WEBPACK_IMPORTED_MODULE_0__.OBJExport),
5778
6067
  /* harmony export */ "STLExport": () => (/* reexport safe */ _stl_index__WEBPACK_IMPORTED_MODULE_2__.STLExport),
@@ -5807,10 +6096,13 @@ __webpack_require__.r(__webpack_exports__);
5807
6096
  /* harmony export */ "GLTFData": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.GLTFData),
5808
6097
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_lights_punctual),
5809
6098
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_clearcoat),
6099
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_ior),
5810
6100
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_iridescence),
5811
6101
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_sheen),
5812
6102
  /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_specular),
6103
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_transmission),
5813
6104
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_unlit),
6105
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_materials_volume),
5814
6106
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__.KHR_texture_transform),
5815
6107
  /* harmony export */ "_BinaryWriter": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__._BinaryWriter),
5816
6108
  /* harmony export */ "_Exporter": () => (/* reexport safe */ _glTF_2_0_index__WEBPACK_IMPORTED_MODULE_4__._Exporter),
@@ -5941,10 +6233,13 @@ __webpack_require__.r(__webpack_exports__);
5941
6233
  /* harmony export */ "GLTFData": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.GLTFData),
5942
6234
  /* harmony export */ "KHR_lights_punctual": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_lights_punctual),
5943
6235
  /* harmony export */ "KHR_materials_clearcoat": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_clearcoat),
6236
+ /* harmony export */ "KHR_materials_ior": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_ior),
5944
6237
  /* harmony export */ "KHR_materials_iridescence": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_iridescence),
5945
6238
  /* harmony export */ "KHR_materials_sheen": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_sheen),
5946
6239
  /* harmony export */ "KHR_materials_specular": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_specular),
6240
+ /* harmony export */ "KHR_materials_transmission": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_transmission),
5947
6241
  /* harmony export */ "KHR_materials_unlit": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_unlit),
6242
+ /* harmony export */ "KHR_materials_volume": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_materials_volume),
5948
6243
  /* harmony export */ "KHR_texture_transform": () => (/* reexport safe */ _legacy_glTF2Serializer__WEBPACK_IMPORTED_MODULE_1__.KHR_texture_transform),
5949
6244
  /* harmony export */ "OBJExport": () => (/* reexport safe */ _legacy_objSerializer__WEBPACK_IMPORTED_MODULE_2__.OBJExport),
5950
6245
  /* harmony export */ "STLExport": () => (/* reexport safe */ _legacy_stlSerializer__WEBPACK_IMPORTED_MODULE_3__.STLExport),