babylonjs-loaders 8.30.5 → 8.31.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.
@@ -1117,37 +1117,32 @@ declare module BABYLON.GLTF2 {
1117
1117
  * Automatically enables iridescence.
1118
1118
  * @param value The iridescence intensity value
1119
1119
  */
1120
- set iridescenceWeight(value: number);
1120
+ set thinFilmWeight(value: number);
1121
1121
  /**
1122
1122
  * Sets the iridescence IOR (mapped to PBR iridescence.indexOfRefraction).
1123
- * Automatically enables iridescence.
1124
1123
  * @param value The iridescence IOR value
1125
1124
  */
1126
- set iridescenceIor(value: number);
1125
+ set thinFilmIor(value: number);
1127
1126
  /**
1128
1127
  * Sets the iridescence thickness minimum (mapped to PBR iridescence.minimumThickness).
1129
- * Automatically enables iridescence.
1130
1128
  * @param value The minimum thickness value in nanometers
1131
1129
  */
1132
- set iridescenceThicknessMinimum(value: number);
1130
+ set thinFilmThicknessMinimum(value: number);
1133
1131
  /**
1134
1132
  * Sets the iridescence thickness maximum (mapped to PBR iridescence.maximumThickness).
1135
- * Automatically enables iridescence.
1136
1133
  * @param value The maximum thickness value in nanometers
1137
1134
  */
1138
- set iridescenceThicknessMaximum(value: number);
1135
+ set thinFilmThicknessMaximum(value: number);
1139
1136
  /**
1140
- * Sets the iridescence texture (mapped to PBR iridescence.texture).
1141
- * Automatically enables iridescence.
1142
- * @param value The iridescence intensity texture or null
1137
+ * Sets the thin film weight texture (mapped to PBR iridescence.texture).
1138
+ * @param value The thin film weight texture or null
1143
1139
  */
1144
- set iridescenceTexture(value: Nullable<BaseTexture>);
1140
+ set thinFilmWeightTexture(value: Nullable<BaseTexture>);
1145
1141
  /**
1146
1142
  * Sets the iridescence thickness texture (mapped to PBR iridescence.thicknessTexture).
1147
- * Automatically enables iridescence.
1148
1143
  * @param value The iridescence thickness texture or null
1149
1144
  */
1150
- set iridescenceThicknessTexture(value: Nullable<BaseTexture>);
1145
+ set thinFilmThicknessTexture(value: Nullable<BaseTexture>);
1151
1146
  /**
1152
1147
  * Sets the transmission dispersion value.
1153
1148
  * Note: PBR doesn't have direct dispersion support, so this stores it as metadata.
@@ -1721,41 +1716,35 @@ declare module BABYLON.GLTF2 {
1721
1716
  */
1722
1717
  configureGltfStyleAnisotropy(useGltfStyle?: boolean): void;
1723
1718
  /**
1724
- * Sets the iridescence weight.
1725
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1726
- * @param value The iridescence intensity value
1719
+ * Sets the thin film weight.
1720
+ * @param value The thin film weight value
1727
1721
  */
1728
- set iridescenceWeight(value: number);
1722
+ set thinFilmWeight(value: number);
1729
1723
  /**
1730
- * Sets the iridescence IOR.
1731
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1732
- * @param value The iridescence IOR value
1724
+ * Sets the thin film IOR.
1725
+ * @param value The thin film IOR value
1733
1726
  */
1734
- set iridescenceIor(value: number);
1727
+ set thinFilmIor(value: number);
1735
1728
  /**
1736
- * Sets the iridescence thickness minimum.
1737
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1729
+ * Sets the thin film thickness minimum.
1738
1730
  * @param value The minimum thickness value in nanometers
1739
1731
  */
1740
- set iridescenceThicknessMinimum(value: number);
1732
+ set thinFilmThicknessMinimum(value: number);
1741
1733
  /**
1742
- * Sets the iridescence thickness maximum.
1743
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1734
+ * Sets the thin film thickness maximum.
1744
1735
  * @param value The maximum thickness value in nanometers
1745
1736
  */
1746
- set iridescenceThicknessMaximum(value: number);
1737
+ set thinFilmThicknessMaximum(value: number);
1747
1738
  /**
1748
- * Sets the iridescence texture.
1749
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1750
- * @param value The iridescence intensity texture or null
1739
+ * Sets the thin film weight texture.
1740
+ * @param value The thin film weight texture or null
1751
1741
  */
1752
- set iridescenceTexture(value: Nullable<BaseTexture>);
1742
+ set thinFilmWeightTexture(value: Nullable<BaseTexture>);
1753
1743
  /**
1754
- * Sets the iridescence thickness texture.
1755
- * TODO: Implementation pending OpenPBR iridescence feature availability.
1756
- * @param value The iridescence thickness texture or null
1744
+ * Sets the thin film thickness texture.
1745
+ * @param value The thin film thickness texture or null
1757
1746
  */
1758
- set iridescenceThicknessTexture(value: Nullable<BaseTexture>);
1747
+ set thinFilmThicknessTexture(value: Nullable<BaseTexture>);
1759
1748
  /**
1760
1749
  * Sets whether the OpenPBR material is unlit.
1761
1750
  * @param value True to make the material unlit
@@ -2077,29 +2066,29 @@ declare module BABYLON.GLTF2 {
2077
2066
  */
2078
2067
  configureGltfStyleAnisotropy(useGltfStyle?: boolean): void;
2079
2068
  /**
2080
- * Sets the iridescence weight (OpenPBR: iridescenceWeight, PBR: iridescence.intensity)
2069
+ * Sets the thin film weight
2081
2070
  */
2082
- iridescenceWeight: number;
2071
+ thinFilmWeight: number;
2083
2072
  /**
2084
- * Sets the iridescence IOR (OpenPBR: iridescenceIor, PBR: iridescence.indexOfRefraction)
2073
+ * Sets the thin film IOR
2085
2074
  */
2086
- iridescenceIor: number;
2075
+ thinFilmIor: number;
2087
2076
  /**
2088
- * Sets the iridescence thickness minimum (OpenPBR: iridescenceThicknessMinimum, PBR: iridescence.minimumThickness)
2077
+ * Sets the thin film thickness minimum
2089
2078
  */
2090
- iridescenceThicknessMinimum: number;
2079
+ thinFilmThicknessMinimum: number;
2091
2080
  /**
2092
- * Sets the iridescence thickness maximum (OpenPBR: iridescenceThicknessMaximum, PBR: iridescence.maximumThickness)
2081
+ * Sets the thin film thickness maximum
2093
2082
  */
2094
- iridescenceThicknessMaximum: number;
2083
+ thinFilmThicknessMaximum: number;
2095
2084
  /**
2096
- * Sets the iridescence texture (OpenPBR: iridescenceTexture, PBR: iridescence.intensityTexture)
2085
+ * Sets the thin film iridescence texture
2097
2086
  */
2098
- iridescenceTexture: Nullable<BaseTexture>;
2087
+ thinFilmWeightTexture: Nullable<BaseTexture>;
2099
2088
  /**
2100
- * Sets the iridescence thickness texture (OpenPBR: iridescenceThicknessTexture, PBR: iridescence.thicknessTexture)
2089
+ * Sets the thin film thickness texture
2101
2090
  */
2102
- iridescenceThicknessTexture: Nullable<BaseTexture>;
2091
+ thinFilmThicknessTexture: Nullable<BaseTexture>;
2103
2092
  /**
2104
2093
  * Sets the unlit flag (OpenPBR: unlit, PBR: unlit)
2105
2094
  */
@@ -6374,6 +6363,11 @@ declare module BABYLON {
6374
6363
  * Spatial Y Flip for splat position and orientation
6375
6364
  */
6376
6365
  flipY?: boolean;
6366
+ /**
6367
+ * URL to load fflate from. If null or undefined, will load from unpkg.com
6368
+ * (https://unpkg.com/fflate/umd/index.js)
6369
+ */
6370
+ deflateURL?: string;
6377
6371
  };
6378
6372
 
6379
6373