babylonjs-materials 9.22.2 → 9.23.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.
Files changed (65) hide show
  1. package/babylon.cellMaterial.js +1 -1
  2. package/babylon.cellMaterial.js.map +1 -1
  3. package/babylon.cellMaterial.min.js +1 -1
  4. package/babylon.cellMaterial.min.js.map +1 -1
  5. package/babylon.fireMaterial.js +1 -1
  6. package/babylon.fireMaterial.js.map +1 -1
  7. package/babylon.fireMaterial.min.js +1 -1
  8. package/babylon.fireMaterial.min.js.map +1 -1
  9. package/babylon.furMaterial.js +1 -1
  10. package/babylon.furMaterial.js.map +1 -1
  11. package/babylon.furMaterial.min.js +1 -1
  12. package/babylon.furMaterial.min.js.map +1 -1
  13. package/babylon.gradientMaterial.js +1 -1
  14. package/babylon.gradientMaterial.js.map +1 -1
  15. package/babylon.gradientMaterial.min.js +1 -1
  16. package/babylon.gradientMaterial.min.js.map +1 -1
  17. package/babylon.gridMaterial.js +1 -1
  18. package/babylon.gridMaterial.js.map +1 -1
  19. package/babylon.gridMaterial.min.js +1 -1
  20. package/babylon.gridMaterial.min.js.map +1 -1
  21. package/babylon.lavaMaterial.js +1 -1
  22. package/babylon.lavaMaterial.js.map +1 -1
  23. package/babylon.lavaMaterial.min.js +1 -1
  24. package/babylon.lavaMaterial.min.js.map +1 -1
  25. package/babylon.mixMaterial.js +1 -1
  26. package/babylon.mixMaterial.js.map +1 -1
  27. package/babylon.mixMaterial.min.js +1 -1
  28. package/babylon.mixMaterial.min.js.map +1 -1
  29. package/babylon.normalMaterial.js +1 -1
  30. package/babylon.normalMaterial.js.map +1 -1
  31. package/babylon.normalMaterial.min.js +1 -1
  32. package/babylon.normalMaterial.min.js.map +1 -1
  33. package/babylon.shadowOnlyMaterial.js +1 -1
  34. package/babylon.shadowOnlyMaterial.js.map +1 -1
  35. package/babylon.shadowOnlyMaterial.min.js +1 -1
  36. package/babylon.shadowOnlyMaterial.min.js.map +1 -1
  37. package/babylon.simpleMaterial.js +1 -1
  38. package/babylon.simpleMaterial.js.map +1 -1
  39. package/babylon.simpleMaterial.min.js +1 -1
  40. package/babylon.simpleMaterial.min.js.map +1 -1
  41. package/babylon.skyMaterial.js +1 -1
  42. package/babylon.skyMaterial.js.map +1 -1
  43. package/babylon.skyMaterial.min.js +1 -1
  44. package/babylon.skyMaterial.min.js.map +1 -1
  45. package/babylon.terrainMaterial.js +1 -1
  46. package/babylon.terrainMaterial.js.map +1 -1
  47. package/babylon.terrainMaterial.min.js +1 -1
  48. package/babylon.terrainMaterial.min.js.map +1 -1
  49. package/babylon.triPlanarMaterial.js +1 -1
  50. package/babylon.triPlanarMaterial.js.map +1 -1
  51. package/babylon.triPlanarMaterial.min.js +1 -1
  52. package/babylon.triPlanarMaterial.min.js.map +1 -1
  53. package/babylon.waterMaterial.js +1 -1
  54. package/babylon.waterMaterial.js.map +1 -1
  55. package/babylon.waterMaterial.min.js +1 -1
  56. package/babylon.waterMaterial.min.js.map +1 -1
  57. package/babylonjs.materials.d.ts +14 -14
  58. package/babylonjs.materials.es5.js +2533 -0
  59. package/babylonjs.materials.js +1 -1
  60. package/babylonjs.materials.js.map +1 -1
  61. package/babylonjs.materials.min.js +1 -1
  62. package/babylonjs.materials.min.js.map +1 -1
  63. package/babylonjs.materials.module.d.ts +28 -28
  64. package/package.json +2 -2
  65. package/rollup.config.umd.mjs +1 -0
@@ -92,7 +92,7 @@ declare namespace BABYLON {
92
92
  private _offsetMirror;
93
93
  private _tempPlane;
94
94
  private _lastTime;
95
- private _shadersLoaded;
95
+ private static readonly _ShaderLoader;
96
96
  private _lastDeltaTime;
97
97
  private _waitingRenderList;
98
98
  private _imageProcessingConfiguration;
@@ -200,7 +200,7 @@ declare namespace BABYLON {
200
200
  accessor disableLighting: boolean;
201
201
  private _maxSimultaneousLights;
202
202
  accessor maxSimultaneousLights: number;
203
- private _shadersLoaded;
203
+ private static readonly _ShaderLoader;
204
204
  /**
205
205
  * Instantiates a TriPlanar Material in the given scene
206
206
  * @param name The friendly name of the material
@@ -262,7 +262,7 @@ declare namespace BABYLON {
262
262
  accessor disableLighting: boolean;
263
263
  private _maxSimultaneousLights;
264
264
  accessor maxSimultaneousLights: number;
265
- private _shadersLoaded;
265
+ private static readonly _ShaderLoader;
266
266
  /**
267
267
  * Instantiates a Terrain Material in the given scene
268
268
  * @param name The friendly name of the material
@@ -380,7 +380,7 @@ declare namespace BABYLON {
380
380
  dithering: boolean;
381
381
  private _cameraPosition;
382
382
  private _skyOrientation;
383
- private _shadersLoaded;
383
+ private static readonly _ShaderLoader;
384
384
  /**
385
385
  * Instantiates a new sky material.
386
386
  * This material allows to create dynamic and texture free
@@ -497,7 +497,7 @@ declare namespace BABYLON {
497
497
  accessor disableLighting: boolean;
498
498
  private _maxSimultaneousLights;
499
499
  accessor maxSimultaneousLights: number;
500
- private _shadersLoaded;
500
+ private static readonly _ShaderLoader;
501
501
  /**
502
502
  * Instantiates a Simple Material in the given scene
503
503
  * @param name The friendly name of the material
@@ -554,7 +554,7 @@ declare namespace BABYLON {
554
554
  export class ShadowOnlyMaterial extends PushMaterial {
555
555
  private _activeLight;
556
556
  private _needAlphaBlending;
557
- private _shadersLoaded;
557
+ private static readonly _ShaderLoader;
558
558
  /**
559
559
  * Instantiates a ShadowOnly Material in the given scene
560
560
  * @param name The friendly name of the material
@@ -616,7 +616,7 @@ declare namespace BABYLON {
616
616
  accessor disableLighting: boolean;
617
617
  private _maxSimultaneousLights;
618
618
  accessor maxSimultaneousLights: number;
619
- private _shadersLoaded;
619
+ private static readonly _ShaderLoader;
620
620
  /**
621
621
  * Instantiates a Normal Material in the given scene
622
622
  * @param name The friendly name of the material
@@ -708,7 +708,7 @@ declare namespace BABYLON {
708
708
  accessor disableLighting: boolean;
709
709
  private _maxSimultaneousLights;
710
710
  accessor maxSimultaneousLights: number;
711
- private _shadersLoaded;
711
+ private static readonly _ShaderLoader;
712
712
  /**
713
713
  * Instantiates a Mix Material in the given scene
714
714
  * @param name The friendly name of the material
@@ -810,7 +810,7 @@ declare namespace BABYLON {
810
810
  private _maxSimultaneousLights;
811
811
  accessor maxSimultaneousLights: number;
812
812
  private _scaledDiffuse;
813
- private _shadersLoaded;
813
+ private static readonly _ShaderLoader;
814
814
  /**
815
815
  * Instantiates a Lava Material in the given scene
816
816
  * @param name The friendly name of the material
@@ -965,7 +965,7 @@ declare namespace BABYLON {
965
965
  * @param forceGLSL Use the GLSL code generation for the shader (even on WebGPU). Default is false
966
966
  */
967
967
  constructor(name: string, scene?: Scene, forceGLSL?: boolean);
968
- private _shadersLoaded;
968
+ private static readonly _ShaderLoader;
969
969
  /**
970
970
  * @returns whether or not the grid requires alpha blending.
971
971
  */
@@ -1034,7 +1034,7 @@ declare namespace BABYLON {
1034
1034
  smoothness: number;
1035
1035
  private _disableLighting;
1036
1036
  accessor disableLighting: boolean;
1037
- private _shadersLoaded;
1037
+ private static readonly _ShaderLoader;
1038
1038
  /**
1039
1039
  * Instantiates a Gradient Material in the given scene
1040
1040
  * @param name The friendly name of the material
@@ -1109,7 +1109,7 @@ declare namespace BABYLON {
1109
1109
  highLevelFur: boolean;
1110
1110
  _meshes: AbstractMesh[];
1111
1111
  private _furTime;
1112
- private _shadersLoaded;
1112
+ private static readonly _ShaderLoader;
1113
1113
  /**
1114
1114
  * Instantiates a Fur Material in the given scene
1115
1115
  * @param name The friendly name of the material
@@ -1179,7 +1179,7 @@ declare namespace BABYLON {
1179
1179
  speed: number;
1180
1180
  private _scaledDiffuse;
1181
1181
  private _lastTime;
1182
- private _shadersLoaded;
1182
+ private static readonly _ShaderLoader;
1183
1183
  /**
1184
1184
  * Instantiates a Fire Material in the given scene
1185
1185
  * @param name The friendly name of the material
@@ -1815,7 +1815,7 @@ declare namespace BABYLON {
1815
1815
  accessor disableLighting: boolean;
1816
1816
  private _maxSimultaneousLights;
1817
1817
  accessor maxSimultaneousLights: number;
1818
- private _shadersLoaded;
1818
+ private static readonly _ShaderLoader;
1819
1819
  /**
1820
1820
  * Instantiates a Cell Material in the given scene
1821
1821
  * @param name The friendly name of the material