@babylonjs/core 7.8.2 → 7.9.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.
@@ -441,8 +441,9 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
441
441
  * Fill the defines array according to the current settings of the particle system
442
442
  * @param defines Array to be updated
443
443
  * @param blendMode blend mode to take into account when updating the array
444
+ * @param fillImageProcessing fills the image processing defines
444
445
  */
445
- fillDefines(defines: Array<string>, blendMode: number): void;
446
+ fillDefines(defines: Array<string>, blendMode: number, fillImageProcessing?: boolean): void;
446
447
  /**
447
448
  * Fill the uniforms, attributes and samplers arrays according to the current settings of the particle system
448
449
  * @param uniforms Uniforms array to fill
@@ -1347,8 +1347,9 @@ export class ThinParticleSystem extends BaseParticleSystem {
1347
1347
  * Fill the defines array according to the current settings of the particle system
1348
1348
  * @param defines Array to be updated
1349
1349
  * @param blendMode blend mode to take into account when updating the array
1350
+ * @param fillImageProcessing fills the image processing defines
1350
1351
  */
1351
- fillDefines(defines, blendMode) {
1352
+ fillDefines(defines, blendMode, fillImageProcessing = true) {
1352
1353
  if (this._scene) {
1353
1354
  prepareStringDefinesForClipPlanes(this, this._scene, defines);
1354
1355
  if (this.applyFog && this._scene.fogEnabled && this._scene.fogMode !== 0) {
@@ -1387,7 +1388,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
1387
1388
  break;
1388
1389
  }
1389
1390
  }
1390
- if (this._imageProcessingConfiguration) {
1391
+ if (fillImageProcessing && this._imageProcessingConfiguration) {
1391
1392
  this._imageProcessingConfiguration.prepareDefines(this._imageProcessingConfigurationDefines);
1392
1393
  defines.push(this._imageProcessingConfigurationDefines.toString());
1393
1394
  }