babylonjs-procedural-textures 6.10.0 → 6.11.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.brickProceduralTexture.js +113 -100
- package/babylon.brickProceduralTexture.js.map +1 -1
- package/babylon.brickProceduralTexture.min.js +1 -1
- package/babylon.brickProceduralTexture.min.js.map +1 -1
- package/babylon.cloudProceduralTexture.js +111 -100
- package/babylon.cloudProceduralTexture.js.map +1 -1
- package/babylon.cloudProceduralTexture.min.js +1 -1
- package/babylon.cloudProceduralTexture.min.js.map +1 -1
- package/babylon.fireProceduralTexture.js +130 -146
- package/babylon.fireProceduralTexture.js.map +1 -1
- package/babylon.fireProceduralTexture.min.js +1 -1
- package/babylon.fireProceduralTexture.min.js.map +1 -1
- package/babylon.grassProceduralTexture.js +87 -70
- package/babylon.grassProceduralTexture.js.map +1 -1
- package/babylon.grassProceduralTexture.min.js +1 -1
- package/babylon.grassProceduralTexture.min.js.map +1 -1
- package/babylon.marbleProceduralTexture.js +100 -100
- package/babylon.marbleProceduralTexture.js.map +1 -1
- package/babylon.marbleProceduralTexture.min.js +1 -1
- package/babylon.marbleProceduralTexture.min.js.map +1 -1
- package/babylon.normalMapProceduralTexture.js +79 -63
- package/babylon.normalMapProceduralTexture.js.map +1 -1
- package/babylon.normalMapProceduralTexture.min.js +1 -1
- package/babylon.normalMapProceduralTexture.min.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.js +115 -61
- package/babylon.perlinNoiseProceduralTexture.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.min.js +1 -1
- package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
- package/babylon.roadProceduralTexture.js +77 -55
- package/babylon.roadProceduralTexture.js.map +1 -1
- package/babylon.roadProceduralTexture.min.js +1 -1
- package/babylon.roadProceduralTexture.min.js.map +1 -1
- package/babylon.starfieldProceduralTexture.js +197 -210
- package/babylon.starfieldProceduralTexture.js.map +1 -1
- package/babylon.starfieldProceduralTexture.min.js +1 -1
- package/babylon.starfieldProceduralTexture.min.js.map +1 -1
- package/babylon.woodProceduralTexture.js +87 -70
- package/babylon.woodProceduralTexture.js.map +1 -1
- package/babylon.woodProceduralTexture.min.js +1 -1
- package/babylon.woodProceduralTexture.min.js.map +1 -1
- package/babylonjs.proceduralTextures.d.ts +20 -20
- package/babylonjs.proceduralTextures.js +826 -905
- package/babylonjs.proceduralTextures.js.map +1 -1
- package/babylonjs.proceduralTextures.min.js +1 -1
- package/babylonjs.proceduralTextures.min.js.map +1 -1
- package/babylonjs.proceduralTextures.module.d.ts +64 -64
- package/config.json +1 -1
- package/package.json +2 -2
- package/src/brick.ts +3 -14
- package/src/cloud.ts +3 -14
- package/src/fire.ts +3 -14
- package/src/grass.ts +3 -14
- package/src/index.ts +1 -1
- package/src/marble.ts +3 -14
- package/src/normalMap.ts +3 -14
- package/src/perlinNoise.ts +3 -14
- package/src/road.ts +3 -14
- package/src/starfield.ts +3 -14
- package/src/wood.ts +3 -14
- package/tsconfig.build.json +2 -1
- package/tsconfig.json +2 -1
- package/webpack.config.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-procedural-textures",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.0",
|
|
4
4
|
"main": "babylonjs.proceduralTextures.js",
|
|
5
5
|
"types": "babylonjs.proceduralTextures.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^6.
|
|
17
|
+
"babylonjs": "^6.11.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|
package/src/brick.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/brick
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/brick/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-brick";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/cloud.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/cloud
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/cloud/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-cloud";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/fire.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/fire
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/fire/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-fire";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/grass.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/grass
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/grass/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-grass";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/index.ts
CHANGED
package/src/marble.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/marble
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/marble/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-marble";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/normalMap.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/normalMap
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/normalMap/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-normalMap";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/perlinNoise.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/perlinNoise
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/perlinNoise/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-perlinNoise";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/road.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/road
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/road/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-road";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/starfield.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/starfield
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/starfield/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-starfield";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/src/wood.ts
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
|
-
import * as proceduralTexture from "procedural-textures/wood
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* This is the entry point for the UMD module.
|
|
6
|
-
* The entry point for a future ESM package should be index.ts
|
|
7
|
-
*/
|
|
8
|
-
const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
|
9
|
-
if (typeof globalObject !== "undefined") {
|
|
10
|
-
for (const key in proceduralTexture) {
|
|
11
|
-
(<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export * from "procedural-textures/wood/index";
|
|
2
|
+
import * as proceduralTexture from "@lts/procedural-textures/legacy/legacy-wood";
|
|
3
|
+
export { proceduralTexture };
|
|
4
|
+
export default proceduralTexture;
|
package/tsconfig.build.json
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
"rootDir": "./src",
|
|
7
7
|
"declaration": false,
|
|
8
8
|
"paths": {
|
|
9
|
-
"procedural-textures/*": ["
|
|
9
|
+
"procedural-textures/*": ["dev/proceduralTextures/dist/*"],
|
|
10
|
+
"@lts/procedural-textures/*": ["lts/proceduralTextures/dist/*"],
|
|
10
11
|
}
|
|
11
12
|
},
|
|
12
13
|
"include": ["./src/**/*"]
|
package/tsconfig.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -19,6 +19,10 @@ module.exports = (env) => {
|
|
|
19
19
|
starfield: "./src/starfield.ts",
|
|
20
20
|
wood: "./src/wood.ts",
|
|
21
21
|
},
|
|
22
|
+
alias: {
|
|
23
|
+
"procedural-textures": path.resolve(__dirname, "../../../dev/proceduralTextures/dist"),
|
|
24
|
+
"@lts/procedural-textures": path.resolve(__dirname, "../../../lts/proceduralTextures/dist"),
|
|
25
|
+
},
|
|
22
26
|
overrideFilename: (pathData) => {
|
|
23
27
|
return pathData.chunk.name === "proceduralTextures" ? `babylonjs.[name]${env.production ? ".min" : ""}.js` : `babylon.[name]ProceduralTexture${env.production ? ".min" : ""}.js`;
|
|
24
28
|
},
|