@babylonjs/procedural-textures 5.0.0-rc.7 → 5.0.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.
Files changed (108) hide show
  1. package/brick/brickProceduralTexture.d.ts +35 -35
  2. package/brick/brickProceduralTexture.fragment.d.ts +5 -5
  3. package/brick/brickProceduralTexture.fragment.js +8 -8
  4. package/brick/brickProceduralTexture.js +104 -104
  5. package/brick/brickProceduralTexture.js.map +1 -1
  6. package/brick/index.d.ts +1 -1
  7. package/brick/index.js +1 -1
  8. package/cloud/cloudProceduralTexture.d.ts +35 -35
  9. package/cloud/cloudProceduralTexture.fragment.d.ts +5 -5
  10. package/cloud/cloudProceduralTexture.fragment.js +8 -8
  11. package/cloud/cloudProceduralTexture.js +104 -104
  12. package/cloud/cloudProceduralTexture.js.map +1 -1
  13. package/cloud/index.d.ts +1 -1
  14. package/cloud/index.js +1 -1
  15. package/fire/fireProceduralTexture.d.ts +44 -44
  16. package/fire/fireProceduralTexture.fragment.d.ts +5 -5
  17. package/fire/fireProceduralTexture.fragment.js +8 -8
  18. package/fire/fireProceduralTexture.js +166 -166
  19. package/fire/fireProceduralTexture.js.map +1 -1
  20. package/fire/index.d.ts +1 -1
  21. package/fire/index.js +1 -1
  22. package/grass/grassProceduralTexture.d.ts +29 -29
  23. package/grass/grassProceduralTexture.fragment.d.ts +5 -5
  24. package/grass/grassProceduralTexture.fragment.js +8 -8
  25. package/grass/grassProceduralTexture.js +80 -80
  26. package/grass/grassProceduralTexture.js.map +1 -1
  27. package/grass/index.d.ts +1 -1
  28. package/grass/index.js +1 -1
  29. package/index.d.ts +10 -10
  30. package/index.js +11 -10
  31. package/index.js.map +1 -1
  32. package/legacy/legacy-brick.d.ts +1 -1
  33. package/legacy/legacy-brick.js +13 -12
  34. package/legacy/legacy-brick.js.map +1 -1
  35. package/legacy/legacy-cloud.d.ts +1 -1
  36. package/legacy/legacy-cloud.js +13 -12
  37. package/legacy/legacy-cloud.js.map +1 -1
  38. package/legacy/legacy-fire.d.ts +1 -1
  39. package/legacy/legacy-fire.js +13 -12
  40. package/legacy/legacy-fire.js.map +1 -1
  41. package/legacy/legacy-grass.d.ts +1 -1
  42. package/legacy/legacy-grass.js +13 -12
  43. package/legacy/legacy-grass.js.map +1 -1
  44. package/legacy/legacy-marble.d.ts +1 -1
  45. package/legacy/legacy-marble.js +13 -12
  46. package/legacy/legacy-marble.js.map +1 -1
  47. package/legacy/legacy-normalMap.d.ts +1 -1
  48. package/legacy/legacy-normalMap.js +13 -12
  49. package/legacy/legacy-normalMap.js.map +1 -1
  50. package/legacy/legacy-perlinNoise.d.ts +1 -1
  51. package/legacy/legacy-perlinNoise.js +13 -12
  52. package/legacy/legacy-perlinNoise.js.map +1 -1
  53. package/legacy/legacy-road.d.ts +1 -1
  54. package/legacy/legacy-road.js +13 -12
  55. package/legacy/legacy-road.js.map +1 -1
  56. package/legacy/legacy-starfield.d.ts +1 -1
  57. package/legacy/legacy-starfield.js +13 -12
  58. package/legacy/legacy-starfield.js.map +1 -1
  59. package/legacy/legacy-wood.d.ts +1 -1
  60. package/legacy/legacy-wood.js +13 -12
  61. package/legacy/legacy-wood.js.map +1 -1
  62. package/legacy/legacy.d.ts +1 -1
  63. package/legacy/legacy.js +16 -15
  64. package/legacy/legacy.js.map +1 -1
  65. package/license.md +71 -0
  66. package/marble/index.d.ts +1 -1
  67. package/marble/index.js +1 -1
  68. package/marble/marbleProceduralTexture.d.ts +35 -35
  69. package/marble/marbleProceduralTexture.fragment.d.ts +5 -5
  70. package/marble/marbleProceduralTexture.fragment.js +8 -8
  71. package/marble/marbleProceduralTexture.js +104 -104
  72. package/marble/marbleProceduralTexture.js.map +1 -1
  73. package/normalMap/index.d.ts +1 -1
  74. package/normalMap/index.js +1 -1
  75. package/normalMap/normalMapProceduralTexture.d.ts +28 -28
  76. package/normalMap/normalMapProceduralTexture.fragment.d.ts +5 -5
  77. package/normalMap/normalMapProceduralTexture.fragment.js +8 -8
  78. package/normalMap/normalMapProceduralTexture.js +69 -69
  79. package/normalMap/normalMapProceduralTexture.js.map +1 -1
  80. package/package.json +24 -5
  81. package/perlinNoise/index.d.ts +1 -1
  82. package/perlinNoise/index.js +1 -1
  83. package/perlinNoise/perlinNoiseProceduralTexture.d.ts +28 -28
  84. package/perlinNoise/perlinNoiseProceduralTexture.fragment.d.ts +5 -5
  85. package/perlinNoise/perlinNoiseProceduralTexture.fragment.js +8 -8
  86. package/perlinNoise/perlinNoiseProceduralTexture.js +69 -69
  87. package/perlinNoise/perlinNoiseProceduralTexture.js.map +1 -1
  88. package/road/index.d.ts +1 -1
  89. package/road/index.js +1 -1
  90. package/road/roadProceduralTexture.d.ts +26 -26
  91. package/road/roadProceduralTexture.fragment.d.ts +5 -5
  92. package/road/roadProceduralTexture.fragment.js +8 -8
  93. package/road/roadProceduralTexture.js +56 -56
  94. package/road/roadProceduralTexture.js.map +1 -1
  95. package/starfield/index.d.ts +1 -1
  96. package/starfield/index.js +1 -1
  97. package/starfield/starfieldProceduralTexture.d.ts +55 -55
  98. package/starfield/starfieldProceduralTexture.fragment.d.ts +5 -5
  99. package/starfield/starfieldProceduralTexture.fragment.js +8 -8
  100. package/starfield/starfieldProceduralTexture.js +215 -215
  101. package/starfield/starfieldProceduralTexture.js.map +1 -1
  102. package/wood/index.d.ts +1 -1
  103. package/wood/index.js +1 -1
  104. package/wood/woodProceduralTexture.d.ts +29 -29
  105. package/wood/woodProceduralTexture.fragment.d.ts +5 -5
  106. package/wood/woodProceduralTexture.fragment.js +8 -8
  107. package/wood/woodProceduralTexture.js +72 -72
  108. package/wood/woodProceduralTexture.js.map +1 -1
@@ -1,81 +1,81 @@
1
- import { __decorate, __extends } from "tslib";
2
- import { serializeAsColor3, SerializationHelper } from "@babylonjs/core/Misc/decorators.js";
3
- import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
- import { ProceduralTexture } from "@babylonjs/core/Materials/Textures/Procedurals/proceduralTexture.js";
5
- import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
- import "./grassProceduralTexture.fragment.js";
7
- var GrassProceduralTexture = /** @class */ (function (_super) {
8
- __extends(GrassProceduralTexture, _super);
9
- function GrassProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
10
- if (scene === void 0) { scene = null; }
11
- var _this = _super.call(this, name, size, "grassProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
12
- _this._groundColor = new Color3(1, 1, 1);
13
- _this._grassColors = [new Color3(0.29, 0.38, 0.02), new Color3(0.36, 0.49, 0.09), new Color3(0.51, 0.6, 0.28)];
14
- _this.updateShaderUniforms();
15
- return _this;
16
- }
17
- GrassProceduralTexture.prototype.updateShaderUniforms = function () {
18
- this.setColor3("herb1Color", this._grassColors[0]);
19
- this.setColor3("herb2Color", this._grassColors[1]);
20
- this.setColor3("herb3Color", this._grassColors[2]);
21
- this.setColor3("groundColor", this._groundColor);
22
- };
23
- Object.defineProperty(GrassProceduralTexture.prototype, "grassColors", {
24
- get: function () {
25
- return this._grassColors;
26
- },
27
- set: function (value) {
28
- this._grassColors = value;
29
- this.updateShaderUniforms();
30
- },
31
- enumerable: false,
32
- configurable: true
33
- });
34
- Object.defineProperty(GrassProceduralTexture.prototype, "groundColor", {
35
- get: function () {
36
- return this._groundColor;
37
- },
38
- set: function (value) {
39
- this._groundColor = value;
40
- this.updateShaderUniforms();
41
- },
42
- enumerable: false,
43
- configurable: true
44
- });
45
- /**
46
- * Serializes this grass procedural texture
47
- * @returns a serialized grass procedural texture object
48
- */
49
- GrassProceduralTexture.prototype.serialize = function () {
50
- var serializationObject = SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
51
- serializationObject.customType = "BABYLON.GrassProceduralTexture";
52
- serializationObject.grassColors = [];
53
- for (var i = 0; i < this._grassColors.length; i++) {
54
- serializationObject.grassColors.push(this._grassColors[i].asArray());
55
- }
56
- return serializationObject;
57
- };
58
- /**
59
- * Creates a Grass Procedural Texture from parsed grass procedural texture data
60
- * @param parsedTexture defines parsed texture data
61
- * @param scene defines the current scene
62
- * @param rootUrl defines the root URL containing grass procedural texture information
63
- * @returns a parsed Grass Procedural Texture
64
- */
65
- GrassProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
66
- var texture = SerializationHelper.Parse(function () { return new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
67
- var colors = [];
68
- for (var i = 0; i < parsedTexture.grassColors.length; i++) {
69
- colors.push(Color3.FromArray(parsedTexture.grassColors[i]));
70
- }
71
- texture.grassColors = colors;
72
- return texture;
73
- };
74
- __decorate([
75
- serializeAsColor3()
76
- ], GrassProceduralTexture.prototype, "groundColor", null);
77
- return GrassProceduralTexture;
78
- }(ProceduralTexture));
79
- export { GrassProceduralTexture };
80
- RegisterClass("BABYLON.GrassProceduralTexture", GrassProceduralTexture);
1
+ import { __decorate, __extends } from "tslib";
2
+ import { serializeAsColor3, SerializationHelper } from "@babylonjs/core/Misc/decorators.js";
3
+ import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
+ import { ProceduralTexture } from "@babylonjs/core/Materials/Textures/Procedurals/proceduralTexture.js";
5
+ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
+ import "./grassProceduralTexture.fragment.js";
7
+ var GrassProceduralTexture = /** @class */ (function (_super) {
8
+ __extends(GrassProceduralTexture, _super);
9
+ function GrassProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
10
+ if (scene === void 0) { scene = null; }
11
+ var _this = _super.call(this, name, size, "grassProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
12
+ _this._groundColor = new Color3(1, 1, 1);
13
+ _this._grassColors = [new Color3(0.29, 0.38, 0.02), new Color3(0.36, 0.49, 0.09), new Color3(0.51, 0.6, 0.28)];
14
+ _this.updateShaderUniforms();
15
+ return _this;
16
+ }
17
+ GrassProceduralTexture.prototype.updateShaderUniforms = function () {
18
+ this.setColor3("herb1Color", this._grassColors[0]);
19
+ this.setColor3("herb2Color", this._grassColors[1]);
20
+ this.setColor3("herb3Color", this._grassColors[2]);
21
+ this.setColor3("groundColor", this._groundColor);
22
+ };
23
+ Object.defineProperty(GrassProceduralTexture.prototype, "grassColors", {
24
+ get: function () {
25
+ return this._grassColors;
26
+ },
27
+ set: function (value) {
28
+ this._grassColors = value;
29
+ this.updateShaderUniforms();
30
+ },
31
+ enumerable: false,
32
+ configurable: true
33
+ });
34
+ Object.defineProperty(GrassProceduralTexture.prototype, "groundColor", {
35
+ get: function () {
36
+ return this._groundColor;
37
+ },
38
+ set: function (value) {
39
+ this._groundColor = value;
40
+ this.updateShaderUniforms();
41
+ },
42
+ enumerable: false,
43
+ configurable: true
44
+ });
45
+ /**
46
+ * Serializes this grass procedural texture
47
+ * @returns a serialized grass procedural texture object
48
+ */
49
+ GrassProceduralTexture.prototype.serialize = function () {
50
+ var serializationObject = SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
51
+ serializationObject.customType = "BABYLON.GrassProceduralTexture";
52
+ serializationObject.grassColors = [];
53
+ for (var i = 0; i < this._grassColors.length; i++) {
54
+ serializationObject.grassColors.push(this._grassColors[i].asArray());
55
+ }
56
+ return serializationObject;
57
+ };
58
+ /**
59
+ * Creates a Grass Procedural Texture from parsed grass procedural texture data
60
+ * @param parsedTexture defines parsed texture data
61
+ * @param scene defines the current scene
62
+ * @param rootUrl defines the root URL containing grass procedural texture information
63
+ * @returns a parsed Grass Procedural Texture
64
+ */
65
+ GrassProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
66
+ var texture = SerializationHelper.Parse(function () { return new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
67
+ var colors = [];
68
+ for (var i = 0; i < parsedTexture.grassColors.length; i++) {
69
+ colors.push(Color3.FromArray(parsedTexture.grassColors[i]));
70
+ }
71
+ texture.grassColors = colors;
72
+ return texture;
73
+ };
74
+ __decorate([
75
+ serializeAsColor3()
76
+ ], GrassProceduralTexture.prototype, "groundColor", null);
77
+ return GrassProceduralTexture;
78
+ }(ProceduralTexture));
79
+ export { GrassProceduralTexture };
80
+ RegisterClass("BABYLON.GrassProceduralTexture", GrassProceduralTexture);
81
81
  //# sourceMappingURL=grassProceduralTexture.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"grassProceduralTexture.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/grass/grassProceduralTexture.ts"],"names":[],"mappings":"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","sourcesContent":["import { serializeAsColor3, SerializationHelper } from \"core/Misc/decorators\";\r\nimport { Color3 } from \"core/Maths/math.color\";\r\nimport { Texture } from \"core/Materials/Textures/texture\";\r\nimport { ProceduralTexture } from \"core/Materials/Textures/Procedurals/proceduralTexture\";\r\nimport { Scene } from \"core/scene\";\r\nimport { RegisterClass } from \"core/Misc/typeStore\";\r\nimport { Nullable } from \"core/types\";\r\n\r\nimport \"./grassProceduralTexture.fragment\";\r\n\r\nexport class GrassProceduralTexture extends ProceduralTexture {\r\n private _grassColors: Color3[];\r\n private _groundColor = new Color3(1, 1, 1);\r\n\r\n constructor(name: string, size: number, scene: Nullable<Scene> = null, fallbackTexture?: Texture, generateMipMaps?: boolean) {\r\n super(name, size, \"grassProceduralTexture\", scene, fallbackTexture, generateMipMaps);\r\n\r\n this._grassColors = [new Color3(0.29, 0.38, 0.02), new Color3(0.36, 0.49, 0.09), new Color3(0.51, 0.6, 0.28)];\r\n\r\n this.updateShaderUniforms();\r\n }\r\n\r\n public updateShaderUniforms() {\r\n this.setColor3(\"herb1Color\", this._grassColors[0]);\r\n this.setColor3(\"herb2Color\", this._grassColors[1]);\r\n this.setColor3(\"herb3Color\", this._grassColors[2]);\r\n this.setColor3(\"groundColor\", this._groundColor);\r\n }\r\n\r\n public get grassColors(): Color3[] {\r\n return this._grassColors;\r\n }\r\n\r\n public set grassColors(value: Color3[]) {\r\n this._grassColors = value;\r\n this.updateShaderUniforms();\r\n }\r\n\r\n @serializeAsColor3()\r\n public get groundColor(): Color3 {\r\n return this._groundColor;\r\n }\r\n\r\n public set groundColor(value: Color3) {\r\n this._groundColor = value;\r\n this.updateShaderUniforms();\r\n }\r\n\r\n /**\r\n * Serializes this grass procedural texture\r\n * @returns a serialized grass procedural texture object\r\n */\r\n public serialize(): any {\r\n const serializationObject = SerializationHelper.Serialize(this, super.serialize());\r\n serializationObject.customType = \"BABYLON.GrassProceduralTexture\";\r\n\r\n serializationObject.grassColors = [];\r\n for (let i = 0; i < this._grassColors.length; i++) {\r\n serializationObject.grassColors.push(this._grassColors[i].asArray());\r\n }\r\n\r\n return serializationObject;\r\n }\r\n\r\n /**\r\n * Creates a Grass Procedural Texture from parsed grass procedural texture data\r\n * @param parsedTexture defines parsed texture data\r\n * @param scene defines the current scene\r\n * @param rootUrl defines the root URL containing grass procedural texture information\r\n * @returns a parsed Grass Procedural Texture\r\n */\r\n public static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture {\r\n const texture = SerializationHelper.Parse(\r\n () => new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps),\r\n parsedTexture,\r\n scene,\r\n rootUrl\r\n );\r\n\r\n const colors: Color3[] = [];\r\n for (let i = 0; i < parsedTexture.grassColors.length; i++) {\r\n colors.push(Color3.FromArray(parsedTexture.grassColors[i]));\r\n }\r\n\r\n texture.grassColors = colors;\r\n\r\n return texture;\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.GrassProceduralTexture\", GrassProceduralTexture);\r\n"]}
1
+ {"version":3,"file":"grassProceduralTexture.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/grass/grassProceduralTexture.ts"],"names":[],"mappings":"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","sourcesContent":["import { serializeAsColor3, SerializationHelper } from \"core/Misc/decorators\";\r\nimport { Color3 } from \"core/Maths/math.color\";\r\nimport type { Texture } from \"core/Materials/Textures/texture\";\r\nimport { ProceduralTexture } from \"core/Materials/Textures/Procedurals/proceduralTexture\";\r\nimport type { Scene } from \"core/scene\";\r\nimport { RegisterClass } from \"core/Misc/typeStore\";\r\nimport type { Nullable } from \"core/types\";\r\n\r\nimport \"./grassProceduralTexture.fragment\";\r\n\r\nexport class GrassProceduralTexture extends ProceduralTexture {\r\n private _grassColors: Color3[];\r\n private _groundColor = new Color3(1, 1, 1);\r\n\r\n constructor(name: string, size: number, scene: Nullable<Scene> = null, fallbackTexture?: Texture, generateMipMaps?: boolean) {\r\n super(name, size, \"grassProceduralTexture\", scene, fallbackTexture, generateMipMaps);\r\n\r\n this._grassColors = [new Color3(0.29, 0.38, 0.02), new Color3(0.36, 0.49, 0.09), new Color3(0.51, 0.6, 0.28)];\r\n\r\n this.updateShaderUniforms();\r\n }\r\n\r\n public updateShaderUniforms() {\r\n this.setColor3(\"herb1Color\", this._grassColors[0]);\r\n this.setColor3(\"herb2Color\", this._grassColors[1]);\r\n this.setColor3(\"herb3Color\", this._grassColors[2]);\r\n this.setColor3(\"groundColor\", this._groundColor);\r\n }\r\n\r\n public get grassColors(): Color3[] {\r\n return this._grassColors;\r\n }\r\n\r\n public set grassColors(value: Color3[]) {\r\n this._grassColors = value;\r\n this.updateShaderUniforms();\r\n }\r\n\r\n @serializeAsColor3()\r\n public get groundColor(): Color3 {\r\n return this._groundColor;\r\n }\r\n\r\n public set groundColor(value: Color3) {\r\n this._groundColor = value;\r\n this.updateShaderUniforms();\r\n }\r\n\r\n /**\r\n * Serializes this grass procedural texture\r\n * @returns a serialized grass procedural texture object\r\n */\r\n public serialize(): any {\r\n const serializationObject = SerializationHelper.Serialize(this, super.serialize());\r\n serializationObject.customType = \"BABYLON.GrassProceduralTexture\";\r\n\r\n serializationObject.grassColors = [];\r\n for (let i = 0; i < this._grassColors.length; i++) {\r\n serializationObject.grassColors.push(this._grassColors[i].asArray());\r\n }\r\n\r\n return serializationObject;\r\n }\r\n\r\n /**\r\n * Creates a Grass Procedural Texture from parsed grass procedural texture data\r\n * @param parsedTexture defines parsed texture data\r\n * @param scene defines the current scene\r\n * @param rootUrl defines the root URL containing grass procedural texture information\r\n * @returns a parsed Grass Procedural Texture\r\n */\r\n public static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture {\r\n const texture = SerializationHelper.Parse(\r\n () => new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps),\r\n parsedTexture,\r\n scene,\r\n rootUrl\r\n );\r\n\r\n const colors: Color3[] = [];\r\n for (let i = 0; i < parsedTexture.grassColors.length; i++) {\r\n colors.push(Color3.FromArray(parsedTexture.grassColors[i]));\r\n }\r\n\r\n texture.grassColors = colors;\r\n\r\n return texture;\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.GrassProceduralTexture\", GrassProceduralTexture);\r\n"]}
package/grass/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./grassProceduralTexture";
1
+ export * from "./grassProceduralTexture";
package/grass/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./grassProceduralTexture.js";
1
+ export * from "./grassProceduralTexture.js";
2
2
  //# sourceMappingURL=index.js.map
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export * from "./brick/index";
2
- export * from "./cloud/index";
3
- export * from "./fire/index";
4
- export * from "./grass/index";
5
- export * from "./marble/index";
6
- export * from "./normalMap/index";
7
- export * from "./perlinNoise/index";
8
- export * from "./road/index";
9
- export * from "./starfield/index";
10
- export * from "./wood/index";
1
+ export * from "./brick/index";
2
+ export * from "./cloud/index";
3
+ export * from "./fire/index";
4
+ export * from "./grass/index";
5
+ export * from "./marble/index";
6
+ export * from "./normalMap/index";
7
+ export * from "./perlinNoise/index";
8
+ export * from "./road/index";
9
+ export * from "./starfield/index";
10
+ export * from "./wood/index";
package/index.js CHANGED
@@ -1,11 +1,12 @@
1
- export * from "./brick/index.js";
2
- export * from "./cloud/index.js";
3
- export * from "./fire/index.js";
4
- export * from "./grass/index.js";
5
- export * from "./marble/index.js";
6
- export * from "./normalMap/index.js";
7
- export * from "./perlinNoise/index.js";
8
- export * from "./road/index.js";
9
- export * from "./starfield/index.js";
10
- export * from "./wood/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ export * from "./brick/index.js";
3
+ export * from "./cloud/index.js";
4
+ export * from "./fire/index.js";
5
+ export * from "./grass/index.js";
6
+ export * from "./marble/index.js";
7
+ export * from "./normalMap/index.js";
8
+ export * from "./perlinNoise/index.js";
9
+ export * from "./road/index.js";
10
+ export * from "./starfield/index.js";
11
+ export * from "./wood/index.js";
11
12
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lts/proceduralTextures/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC","sourcesContent":["export * from \"./brick/index\";\r\nexport * from \"./cloud/index\";\r\nexport * from \"./fire/index\";\r\nexport * from \"./grass/index\";\r\nexport * from \"./marble/index\";\r\nexport * from \"./normalMap/index\";\r\nexport * from \"./perlinNoise/index\";\r\nexport * from \"./road/index\";\r\nexport * from \"./starfield/index\";\r\nexport * from \"./wood/index\";\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lts/proceduralTextures/generated/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nexport * from \"./brick/index\";\r\nexport * from \"./cloud/index\";\r\nexport * from \"./fire/index\";\r\nexport * from \"./grass/index\";\r\nexport * from \"./marble/index\";\r\nexport * from \"./normalMap/index\";\r\nexport * from \"./perlinNoise/index\";\r\nexport * from \"./road/index\";\r\nexport * from \"./starfield/index\";\r\nexport * from \"./wood/index\";\r\n"]}
@@ -1 +1 @@
1
- export * from "./brick/index.js";
1
+ export * from "../brick/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./brick/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./brick/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../brick/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../brick/index.js";
13
14
  //# sourceMappingURL=legacy-brick.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-brick.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-brick.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,yBAAwC;AAErE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,iCAAgD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/brick/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/brick/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-brick.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-brick.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAC;AACpD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,gBAAgB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../brick/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../brick/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./cloud/index.js";
1
+ export * from "../cloud/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./cloud/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./cloud/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../cloud/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../cloud/index.js";
13
14
  //# sourceMappingURL=legacy-cloud.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-cloud.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,yBAAwC;AAErE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,iCAAgD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/cloud/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/cloud/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-cloud.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-cloud.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAC;AACpD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,gBAAgB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../cloud/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../cloud/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./fire/index.js";
1
+ export * from "../fire/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./fire/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./fire/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../fire/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../fire/index.js";
13
14
  //# sourceMappingURL=legacy-fire.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-fire.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-fire.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,wBAAuC;AAEpE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,gCAA+C","sourcesContent":["import * as proceduralTexture from \"procedural-textures/fire/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/fire/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-fire.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-fire.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,eAAe,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../fire/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../fire/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./grass/index.js";
1
+ export * from "../grass/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./grass/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./grass/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../grass/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../grass/index.js";
13
14
  //# sourceMappingURL=legacy-grass.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-grass.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-grass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,yBAAwC;AAErE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,iCAAgD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/grass/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/grass/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-grass.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-grass.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAC;AACpD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,gBAAgB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../grass/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../grass/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./marble/index.js";
1
+ export * from "../marble/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./marble/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./marble/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../marble/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../marble/index.js";
13
14
  //# sourceMappingURL=legacy-marble.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-marble.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-marble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,0BAAyC;AAEtE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,kCAAiD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/marble/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/marble/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-marble.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-marble.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAC;AACrD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,iBAAiB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../marble/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../marble/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./normalMap/index.js";
1
+ export * from "../normalMap/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./normalMap/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./normalMap/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../normalMap/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../normalMap/index.js";
13
14
  //# sourceMappingURL=legacy-normalMap.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-normalMap.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-normalMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,6BAA4C;AAEzE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,qCAAoD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/normalMap/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/normalMap/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-normalMap.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-normalMap.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,oBAAoB,CAAC;AACxD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,oBAAoB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../normalMap/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../normalMap/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./perlinNoise/index.js";
1
+ export * from "../perlinNoise/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./perlinNoise/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./perlinNoise/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../perlinNoise/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../perlinNoise/index.js";
13
14
  //# sourceMappingURL=legacy-perlinNoise.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-perlinNoise.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-perlinNoise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,+BAA8C;AAE3E;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,uCAAsD","sourcesContent":["import * as proceduralTexture from \"procedural-textures/perlinNoise/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/perlinNoise/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-perlinNoise.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-perlinNoise.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,sBAAsB,CAAC;AAC1D;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,sBAAsB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../perlinNoise/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../perlinNoise/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./road/index.js";
1
+ export * from "../road/index";
@@ -1,13 +1,14 @@
1
- import * as proceduralTexture from "./road/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in proceduralTexture) {
9
- globalObject.BABYLON[key] = proceduralTexture[key];
10
- }
11
- }
12
- export * from "./road/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as proceduralTexture from "../road/index.js";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in proceduralTexture) {
10
+ globalObject.BABYLON[key] = proceduralTexture[key];
11
+ }
12
+ }
13
+ export * from "../road/index.js";
13
14
  //# sourceMappingURL=legacy-road.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-road.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-road.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,wBAAuC;AAEpE;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AAED,gCAA+C","sourcesContent":["import * as proceduralTexture from \"procedural-textures/road/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in proceduralTexture) {\r\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\r\n }\r\n}\r\n\r\nexport * from \"procedural-textures/road/index\";\r\n"]}
1
+ {"version":3,"file":"legacy-road.js","sourceRoot":"","sources":["../../../../../lts/proceduralTextures/generated/legacy/legacy-road.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,iBAAiB,EAAE;QAC3B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,iBAAkB,CAAC,GAAG,CAAC,CAAC;KACpE;CACJ;AACD,cAAc,eAAe,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as proceduralTexture from \"../road/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in proceduralTexture) {\n (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];\n }\n}\nexport * from \"../road/index\";\n"]}
@@ -1 +1 @@
1
- export * from "./starfield/index.js";
1
+ export * from "../starfield/index";