babylonjs-toolkit 9.11.1 → 9.12.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.
package/lib/index.d.ts CHANGED
@@ -7,7 +7,7 @@ declare namespace TOOLKIT {
7
7
  * @class SceneManager - All rights reserved (c) 2024 Mackey Kinard
8
8
  */
9
9
  class SceneManager {
10
- /** Gets the toolkit framework version string (9.11.1 - R1) */
10
+ /** Gets the toolkit framework version string (9.12.1 - R1) */
11
11
  static get Version(): string;
12
12
  /** Gets the toolkit framework copyright notice */
13
13
  static get Copyright(): string;
@@ -1967,6 +1967,13 @@ declare namespace TOOLKIT {
1967
1967
  static readonly IBL_SPEC_FACTOR: number;
1968
1968
  /** The scale factor used for reflection probe power (default: 1.0) */
1969
1969
  static readonly IBL_PROBE_FACTOR: number;
1970
+ /**
1971
+ * Suppresses the derived diffuse irradiance (spherical polynomial) on a local reflection probe so it
1972
+ * contributes specular only, matching Unity's specular-only reflection probe model. Babylon lazily
1973
+ * integrates a spherical polynomial from the cube faces the first time a PBR material reads it, so
1974
+ * nulling the value alone is not enough - we must also flag it as computed to stop regeneration.
1975
+ */
1976
+ static SuppressReflectionProbeDiffuse(texture: BABYLON.BaseTexture): void;
1970
1977
  /** Defines whether this extension is enabled. */
1971
1978
  enabled: boolean;
1972
1979
  private _webgpu;
@@ -2086,8 +2093,8 @@ declare namespace TOOLKIT {
2086
2093
  private _preloadRawMaterialsAsync;
2087
2094
  private _parseMultiMaterialAsync;
2088
2095
  private _parseCommonConstantProperties;
2089
- private _applyRepoWatermark;
2090
2096
  private _parseUniformAndSamplerProperties;
2097
+ private applyRepoWatermark;
2091
2098
  }
2092
2099
  /**
2093
2100
  * Babylon Toolkit Editor - Loader Class
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-toolkit",
3
- "version": "9.11.1",
3
+ "version": "9.12.1",
4
4
  "description": "Babylon Toolkit Runtime Library (UMD)",
5
5
  "main": "lib/babylon.toolkit.js",
6
6
  "types": "lib/index.d.ts",
@@ -28,13 +28,13 @@
28
28
  "lib/**/*"
29
29
  ],
30
30
  "devDependencies": {
31
- "babylonjs": "9.11.0",
32
- "babylonjs-gltf2interface": "9.11.0",
33
- "babylonjs-gui": "9.11.0",
34
- "babylonjs-addons": "9.11.0",
35
- "babylonjs-loaders": "9.11.0",
36
- "babylonjs-materials": "9.11.0",
37
- "babylonjs-inspector": "9.11.0",
31
+ "babylonjs": "9.12.1",
32
+ "babylonjs-gltf2interface": "9.12.1",
33
+ "babylonjs-gui": "9.12.1",
34
+ "babylonjs-addons": "9.12.1",
35
+ "babylonjs-loaders": "9.12.1",
36
+ "babylonjs-materials": "9.12.1",
37
+ "babylonjs-inspector": "9.12.1",
38
38
  "abitbol": "^1.0.3",
39
39
  "lodash": "^4.17.21",
40
40
  "rimraf": "^6.0.1",
@@ -44,12 +44,12 @@
44
44
  "webpack-cli": "^5.1.4"
45
45
  },
46
46
  "peerDependencies": {
47
- "babylonjs": "9.11.0",
48
- "babylonjs-gltf2interface": "9.11.0",
49
- "babylonjs-gui": "9.11.0",
50
- "babylonjs-addons": "9.11.0",
51
- "babylonjs-loaders": "9.11.0",
52
- "babylonjs-materials": "9.11.0",
53
- "babylonjs-inspector": "9.11.0"
47
+ "babylonjs": "9.12.1",
48
+ "babylonjs-gltf2interface": "9.12.1",
49
+ "babylonjs-gui": "9.12.1",
50
+ "babylonjs-addons": "9.12.1",
51
+ "babylonjs-loaders": "9.12.1",
52
+ "babylonjs-materials": "9.12.1",
53
+ "babylonjs-inspector": "9.12.1"
54
54
  }
55
55
  }