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.
- package/babylon.cellMaterial.js +1 -1
- package/babylon.cellMaterial.js.map +1 -1
- package/babylon.cellMaterial.min.js +1 -1
- package/babylon.cellMaterial.min.js.map +1 -1
- package/babylon.fireMaterial.js +1 -1
- package/babylon.fireMaterial.js.map +1 -1
- package/babylon.fireMaterial.min.js +1 -1
- package/babylon.fireMaterial.min.js.map +1 -1
- package/babylon.furMaterial.js +1 -1
- package/babylon.furMaterial.js.map +1 -1
- package/babylon.furMaterial.min.js +1 -1
- package/babylon.furMaterial.min.js.map +1 -1
- package/babylon.gradientMaterial.js +1 -1
- package/babylon.gradientMaterial.js.map +1 -1
- package/babylon.gradientMaterial.min.js +1 -1
- package/babylon.gradientMaterial.min.js.map +1 -1
- package/babylon.gridMaterial.js +1 -1
- package/babylon.gridMaterial.js.map +1 -1
- package/babylon.gridMaterial.min.js +1 -1
- package/babylon.gridMaterial.min.js.map +1 -1
- package/babylon.lavaMaterial.js +1 -1
- package/babylon.lavaMaterial.js.map +1 -1
- package/babylon.lavaMaterial.min.js +1 -1
- package/babylon.lavaMaterial.min.js.map +1 -1
- package/babylon.mixMaterial.js +1 -1
- package/babylon.mixMaterial.js.map +1 -1
- package/babylon.mixMaterial.min.js +1 -1
- package/babylon.mixMaterial.min.js.map +1 -1
- package/babylon.normalMaterial.js +1 -1
- package/babylon.normalMaterial.js.map +1 -1
- package/babylon.normalMaterial.min.js +1 -1
- package/babylon.normalMaterial.min.js.map +1 -1
- package/babylon.shadowOnlyMaterial.js +1 -1
- package/babylon.shadowOnlyMaterial.js.map +1 -1
- package/babylon.shadowOnlyMaterial.min.js +1 -1
- package/babylon.shadowOnlyMaterial.min.js.map +1 -1
- package/babylon.simpleMaterial.js +1 -1
- package/babylon.simpleMaterial.js.map +1 -1
- package/babylon.simpleMaterial.min.js +1 -1
- package/babylon.simpleMaterial.min.js.map +1 -1
- package/babylon.skyMaterial.js +1 -1
- package/babylon.skyMaterial.js.map +1 -1
- package/babylon.skyMaterial.min.js +1 -1
- package/babylon.skyMaterial.min.js.map +1 -1
- package/babylon.terrainMaterial.js +1 -1
- package/babylon.terrainMaterial.js.map +1 -1
- package/babylon.terrainMaterial.min.js +1 -1
- package/babylon.terrainMaterial.min.js.map +1 -1
- package/babylon.triPlanarMaterial.js +1 -1
- package/babylon.triPlanarMaterial.js.map +1 -1
- package/babylon.triPlanarMaterial.min.js +1 -1
- package/babylon.triPlanarMaterial.min.js.map +1 -1
- package/babylon.waterMaterial.js +1 -1
- package/babylon.waterMaterial.js.map +1 -1
- package/babylon.waterMaterial.min.js +1 -1
- package/babylon.waterMaterial.min.js.map +1 -1
- package/babylonjs.materials.d.ts +14 -14
- package/babylonjs.materials.es5.js +2533 -0
- package/babylonjs.materials.js +1 -1
- package/babylonjs.materials.js.map +1 -1
- package/babylonjs.materials.min.js +1 -1
- package/babylonjs.materials.min.js.map +1 -1
- package/babylonjs.materials.module.d.ts +28 -28
- package/package.json +2 -2
- package/rollup.config.umd.mjs +1 -0
package/babylonjs.materials.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ declare namespace BABYLON {
|
|
|
92
92
|
private _offsetMirror;
|
|
93
93
|
private _tempPlane;
|
|
94
94
|
private _lastTime;
|
|
95
|
-
private
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|