babylonjs-addons 8.46.2 → 8.47.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.
@@ -2505,6 +2505,10 @@ declare module ADDONS {
2505
2505
  * @param _isAerialPerspectiveEnabled - Whether to apply aerial perspective.
2506
2506
  */
2507
2507
  constructor(material: BABYLON.Material, _atmosphere: Atmosphere, _isAerialPerspectiveEnabled?: boolean);
2508
+ /**
2509
+ * @override
2510
+ */
2511
+ isCompatible(): boolean;
2508
2512
  /**
2509
2513
  * @override
2510
2514
  */
@@ -2544,7 +2548,7 @@ declare module ADDONS {
2544
2548
  /**
2545
2549
  * @override
2546
2550
  */
2547
- getCustomCode(shaderType: string): BABYLON.Nullable<Record<string, string>>;
2551
+ getCustomCode(shaderType: string, shaderLanguage: BABYLON.ShaderLanguage): BABYLON.Nullable<Record<string, string>>;
2548
2552
  }
2549
2553
 
2550
2554
 
@@ -2991,11 +2995,6 @@ declare module ADDONS {
2991
2995
  * @returns The result color.
2992
2996
  */
2993
2997
  getDiffuseSkyIrradianceToRef: <T extends BABYLON.IColor3Like>(directionToLight: BABYLON.IVector3Like, pointRadius: number, pointGeocentricNormal: BABYLON.IVector3Like, lightIrradiance: number, result: T) => T;
2994
- /**
2995
- * Creates a new {@link EffectWrapper} for the multiple scattering LUT
2996
- * @returns The newly created {@link EffectWrapper}.
2997
- */
2998
- private _createMultiScatteringEffectWrapper;
2999
2998
  /**
3000
2999
  * Draws the multiple scattering LUT using {@link EffectWrapper} and {@link EffectRenderer}.
3001
3000
  */
@@ -3036,7 +3035,7 @@ declare module ADDONS {
3036
3035
  */
3037
3036
  bindUniformBufferToEffect(effect: BABYLON.Effect): void;
3038
3037
  /**
3039
- * Updates the atmosphere's uniform buffer.
3038
+ * Updates the values in the atmosphere's uniform buffer.
3040
3039
  */
3041
3040
  updateUniformBuffer(): void;
3042
3041
  /**
@@ -3051,6 +3050,20 @@ declare module ADDONS {
3051
3050
  }
3052
3051
 
3053
3052
 
3053
+ /** @internal */
3054
+ export var atmosphereUboDeclarationWGSL: {
3055
+ name: string;
3056
+ shader: string;
3057
+ };
3058
+
3059
+
3060
+ /** @internal */
3061
+ export var atmosphereFunctionsWGSL: {
3062
+ name: string;
3063
+ shader: string;
3064
+ };
3065
+
3066
+
3054
3067
  /** @internal */
3055
3068
  export var transmittancePixelShader: {
3056
3069
  name: string;