@babylonjs/materials 8.2.0 → 8.2.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/cell/cellMaterial.d.ts +2 -2
- package/cell/index.d.ts +1 -1
- package/custom/index.d.ts +2 -2
- package/fire/fireMaterial.d.ts +2 -2
- package/fire/index.d.ts +1 -1
- package/fur/furMaterial.d.ts +2 -2
- package/fur/index.d.ts +1 -1
- package/gradient/gradientMaterial.d.ts +2 -2
- package/gradient/index.d.ts +1 -1
- package/grid/gridMaterial.d.ts +2 -2
- package/grid/index.d.ts +1 -1
- package/index.d.ts +15 -15
- package/lava/index.d.ts +1 -1
- package/lava/lavaMaterial.d.ts +2 -2
- package/mix/index.d.ts +1 -1
- package/mix/mixMaterial.d.ts +2 -2
- package/normal/index.d.ts +1 -1
- package/normal/normalMaterial.d.ts +2 -2
- package/package.json +2 -2
- package/shadowOnly/index.d.ts +1 -1
- package/shadowOnly/shadowOnlyMaterial.d.ts +2 -2
- package/simple/index.d.ts +1 -1
- package/simple/simpleMaterial.d.ts +2 -2
- package/sky/index.d.ts +1 -1
- package/sky/skyMaterial.d.ts +2 -2
- package/terrain/index.d.ts +1 -1
- package/terrain/terrainMaterial.d.ts +2 -2
- package/triPlanar/index.d.ts +1 -1
- package/triPlanar/triPlanarMaterial.d.ts +2 -2
- package/water/index.d.ts +1 -1
- package/water/waterMaterial.d.ts +2 -2
package/cell/cellMaterial.d.ts
CHANGED
@@ -8,8 +8,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
|
8
8
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
9
9
|
import { Scene } from "@babylonjs/core/scene.js";
|
10
10
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
11
|
-
import "./cell.fragment";
|
12
|
-
import "./cell.vertex";
|
11
|
+
import "./cell.fragment.js";
|
12
|
+
import "./cell.vertex.js";
|
13
13
|
export declare class CellMaterial extends PushMaterial {
|
14
14
|
private _diffuseTexture;
|
15
15
|
diffuseTexture: BaseTexture;
|
package/cell/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./cellMaterial";
|
1
|
+
export * from "./cellMaterial.js";
|
package/custom/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from "./customMaterial";
|
2
|
-
export * from "./pbrCustomMaterial";
|
1
|
+
export * from "./customMaterial.js";
|
2
|
+
export * from "./pbrCustomMaterial.js";
|
package/fire/fireMaterial.d.ts
CHANGED
@@ -8,8 +8,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
|
8
8
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
9
9
|
import { Scene } from "@babylonjs/core/scene.js";
|
10
10
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
11
|
-
import "./fire.fragment";
|
12
|
-
import "./fire.vertex";
|
11
|
+
import "./fire.fragment.js";
|
12
|
+
import "./fire.vertex.js";
|
13
13
|
export declare class FireMaterial extends PushMaterial {
|
14
14
|
private _diffuseTexture;
|
15
15
|
diffuseTexture: Nullable<BaseTexture>;
|
package/fire/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./fireMaterial";
|
1
|
+
export * from "./fireMaterial.js";
|
package/fur/furMaterial.d.ts
CHANGED
@@ -10,8 +10,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
10
10
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
11
11
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
12
12
|
import { Scene } from "@babylonjs/core/scene.js";
|
13
|
-
import "./fur.fragment";
|
14
|
-
import "./fur.vertex";
|
13
|
+
import "./fur.fragment.js";
|
14
|
+
import "./fur.vertex.js";
|
15
15
|
export declare class FurMaterial extends PushMaterial {
|
16
16
|
private _diffuseTexture;
|
17
17
|
diffuseTexture: BaseTexture;
|
package/fur/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./furMaterial";
|
1
|
+
export * from "./furMaterial.js";
|
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./gradient.fragment";
|
12
|
-
import "./gradient.vertex";
|
11
|
+
import "./gradient.fragment.js";
|
12
|
+
import "./gradient.vertex.js";
|
13
13
|
export declare class GradientMaterial extends PushMaterial {
|
14
14
|
private _maxSimultaneousLights;
|
15
15
|
maxSimultaneousLights: number;
|
package/gradient/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./gradientMaterial";
|
1
|
+
export * from "./gradientMaterial.js";
|
package/grid/gridMaterial.d.ts
CHANGED
@@ -7,8 +7,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
7
7
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
8
8
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
9
9
|
import type { Scene } from "@babylonjs/core/scene.js";
|
10
|
-
import "./grid.fragment";
|
11
|
-
import "./grid.vertex";
|
10
|
+
import "./grid.fragment.js";
|
11
|
+
import "./grid.vertex.js";
|
12
12
|
/**
|
13
13
|
* The grid materials allows you to wrap any shape with a grid.
|
14
14
|
* Colors are customizable.
|
package/grid/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./gridMaterial";
|
1
|
+
export * from "./gridMaterial.js";
|
package/index.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
export * from "./cell/index";
|
2
|
-
export * from "./custom/index";
|
3
|
-
export * from "./fire/index";
|
4
|
-
export * from "./fur/index";
|
5
|
-
export * from "./gradient/index";
|
6
|
-
export * from "./grid/index";
|
7
|
-
export * from "./lava/index";
|
8
|
-
export * from "./mix/index";
|
9
|
-
export * from "./normal/index";
|
10
|
-
export * from "./shadowOnly/index";
|
11
|
-
export * from "./simple/index";
|
12
|
-
export * from "./sky/index";
|
13
|
-
export * from "./terrain/index";
|
14
|
-
export * from "./triPlanar/index";
|
15
|
-
export * from "./water/index";
|
1
|
+
export * from "./cell/index.js";
|
2
|
+
export * from "./custom/index.js";
|
3
|
+
export * from "./fire/index.js";
|
4
|
+
export * from "./fur/index.js";
|
5
|
+
export * from "./gradient/index.js";
|
6
|
+
export * from "./grid/index.js";
|
7
|
+
export * from "./lava/index.js";
|
8
|
+
export * from "./mix/index.js";
|
9
|
+
export * from "./normal/index.js";
|
10
|
+
export * from "./shadowOnly/index.js";
|
11
|
+
export * from "./simple/index.js";
|
12
|
+
export * from "./sky/index.js";
|
13
|
+
export * from "./terrain/index.js";
|
14
|
+
export * from "./triPlanar/index.js";
|
15
|
+
export * from "./water/index.js";
|
package/lava/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./lavaMaterial";
|
1
|
+
export * from "./lavaMaterial.js";
|
package/lava/lavaMaterial.d.ts
CHANGED
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./lava.fragment";
|
12
|
-
import "./lava.vertex";
|
11
|
+
import "./lava.fragment.js";
|
12
|
+
import "./lava.vertex.js";
|
13
13
|
export declare class LavaMaterial extends PushMaterial {
|
14
14
|
private _diffuseTexture;
|
15
15
|
diffuseTexture: BaseTexture;
|
package/mix/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./mixMaterial";
|
1
|
+
export * from "./mixMaterial.js";
|
package/mix/mixMaterial.d.ts
CHANGED
@@ -9,8 +9,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
9
9
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
10
10
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
11
11
|
import { Scene } from "@babylonjs/core/scene.js";
|
12
|
-
import "./mix.fragment";
|
13
|
-
import "./mix.vertex";
|
12
|
+
import "./mix.fragment.js";
|
13
|
+
import "./mix.vertex.js";
|
14
14
|
export declare class MixMaterial extends PushMaterial {
|
15
15
|
/**
|
16
16
|
* Mix textures
|
package/normal/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./normalMaterial";
|
1
|
+
export * from "./normalMaterial.js";
|
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./normal.fragment";
|
12
|
-
import "./normal.vertex";
|
11
|
+
import "./normal.fragment.js";
|
12
|
+
import "./normal.vertex.js";
|
13
13
|
export declare class NormalMaterial extends PushMaterial {
|
14
14
|
private _diffuseTexture;
|
15
15
|
diffuseTexture: BaseTexture;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/materials",
|
3
|
-
"version": "8.2.
|
3
|
+
"version": "8.2.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"module": "index.js",
|
6
6
|
"types": "index.d.ts",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"postcompile": "build-tools -c add-js-to-es6"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"@babylonjs/core": "^8.2.
|
21
|
+
"@babylonjs/core": "^8.2.1",
|
22
22
|
"@dev/build-tools": "^1.0.0",
|
23
23
|
"@lts/materials": "^1.0.0"
|
24
24
|
},
|
package/shadowOnly/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./shadowOnlyMaterial";
|
1
|
+
export * from "./shadowOnlyMaterial.js";
|
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./shadowOnly.fragment";
|
12
|
-
import "./shadowOnly.vertex";
|
11
|
+
import "./shadowOnly.fragment.js";
|
12
|
+
import "./shadowOnly.vertex.js";
|
13
13
|
export declare class ShadowOnlyMaterial extends PushMaterial {
|
14
14
|
private _activeLight;
|
15
15
|
private _needAlphaBlending;
|
package/simple/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./simpleMaterial";
|
1
|
+
export * from "./simpleMaterial.js";
|
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./simple.fragment";
|
12
|
-
import "./simple.vertex";
|
11
|
+
import "./simple.fragment.js";
|
12
|
+
import "./simple.vertex.js";
|
13
13
|
export declare class SimpleMaterial extends PushMaterial {
|
14
14
|
private _diffuseTexture;
|
15
15
|
diffuseTexture: BaseTexture;
|
package/sky/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./skyMaterial";
|
1
|
+
export * from "./skyMaterial.js";
|
package/sky/skyMaterial.d.ts
CHANGED
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./sky.fragment";
|
12
|
-
import "./sky.vertex";
|
11
|
+
import "./sky.fragment.js";
|
12
|
+
import "./sky.vertex.js";
|
13
13
|
/**
|
14
14
|
* This is the sky material which allows to create dynamic and texture free effects for skyboxes.
|
15
15
|
* @see https://doc.babylonjs.com/toolsAndResources/assetLibraries/materialsLibrary/skyMat
|
package/terrain/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./terrainMaterial";
|
1
|
+
export * from "./terrainMaterial.js";
|
@@ -9,8 +9,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
9
9
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
10
10
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
11
11
|
import { Scene } from "@babylonjs/core/scene.js";
|
12
|
-
import "./terrain.fragment";
|
13
|
-
import "./terrain.vertex";
|
12
|
+
import "./terrain.fragment.js";
|
13
|
+
import "./terrain.vertex.js";
|
14
14
|
export declare class TerrainMaterial extends PushMaterial {
|
15
15
|
private _mixTexture;
|
16
16
|
mixTexture: BaseTexture;
|
package/triPlanar/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./triPlanarMaterial";
|
1
|
+
export * from "./triPlanarMaterial.js";
|
@@ -8,8 +8,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
8
8
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import { Scene } from "@babylonjs/core/scene.js";
|
11
|
-
import "./triplanar.fragment";
|
12
|
-
import "./triplanar.vertex";
|
11
|
+
import "./triplanar.fragment.js";
|
12
|
+
import "./triplanar.vertex.js";
|
13
13
|
export declare class TriPlanarMaterial extends PushMaterial {
|
14
14
|
mixTexture: BaseTexture;
|
15
15
|
private _diffuseTextureX;
|
package/water/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./waterMaterial";
|
1
|
+
export * from "./waterMaterial.js";
|
package/water/waterMaterial.d.ts
CHANGED
@@ -10,8 +10,8 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
10
10
|
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
11
11
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
12
12
|
import { Scene } from "@babylonjs/core/scene.js";
|
13
|
-
import "./water.fragment";
|
14
|
-
import "./water.vertex";
|
13
|
+
import "./water.fragment.js";
|
14
|
+
import "./water.vertex.js";
|
15
15
|
import "@babylonjs/core/Rendering/boundingBoxRenderer.js";
|
16
16
|
export declare class WaterMaterial extends PushMaterial {
|
17
17
|
renderTargetSize: Vector2;
|