babylonjs-procedural-textures 7.15.2 → 7.16.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 (36) hide show
  1. package/babylon.brickProceduralTexture.js +1 -5
  2. package/babylon.brickProceduralTexture.min.js +1 -1
  3. package/babylon.brickProceduralTexture.min.js.map +1 -1
  4. package/babylon.cloudProceduralTexture.js +1 -5
  5. package/babylon.cloudProceduralTexture.min.js +1 -1
  6. package/babylon.cloudProceduralTexture.min.js.map +1 -1
  7. package/babylon.fireProceduralTexture.js +1 -5
  8. package/babylon.fireProceduralTexture.min.js +1 -1
  9. package/babylon.fireProceduralTexture.min.js.map +1 -1
  10. package/babylon.grassProceduralTexture.js +1 -5
  11. package/babylon.grassProceduralTexture.min.js +1 -1
  12. package/babylon.grassProceduralTexture.min.js.map +1 -1
  13. package/babylon.marbleProceduralTexture.js +1 -5
  14. package/babylon.marbleProceduralTexture.min.js +1 -1
  15. package/babylon.marbleProceduralTexture.min.js.map +1 -1
  16. package/babylon.normalMapProceduralTexture.js +1 -5
  17. package/babylon.normalMapProceduralTexture.min.js +1 -1
  18. package/babylon.normalMapProceduralTexture.min.js.map +1 -1
  19. package/babylon.perlinNoiseProceduralTexture.js +1 -5
  20. package/babylon.perlinNoiseProceduralTexture.min.js +1 -1
  21. package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
  22. package/babylon.roadProceduralTexture.js +1 -5
  23. package/babylon.roadProceduralTexture.min.js +1 -1
  24. package/babylon.roadProceduralTexture.min.js.map +1 -1
  25. package/babylon.starfieldProceduralTexture.js +1 -5
  26. package/babylon.starfieldProceduralTexture.min.js +1 -1
  27. package/babylon.starfieldProceduralTexture.min.js.map +1 -1
  28. package/babylon.woodProceduralTexture.js +1 -5
  29. package/babylon.woodProceduralTexture.min.js +1 -1
  30. package/babylon.woodProceduralTexture.min.js.map +1 -1
  31. package/babylonjs.proceduralTextures.d.ts +209 -209
  32. package/babylonjs.proceduralTextures.js +1 -5
  33. package/babylonjs.proceduralTextures.min.js +1 -1
  34. package/babylonjs.proceduralTextures.min.js.map +1 -1
  35. package/babylonjs.proceduralTextures.module.d.ts +517 -517
  36. package/package.json +2 -2
@@ -1,222 +1,264 @@
1
1
 
2
- declare module "babylonjs-procedural-textures/brick/brickProceduralTexture" {
2
+ declare module "babylonjs-procedural-textures/index" {
3
+ export * from "babylonjs-procedural-textures/brick/index";
4
+ export * from "babylonjs-procedural-textures/cloud/index";
5
+ export * from "babylonjs-procedural-textures/fire/index";
6
+ export * from "babylonjs-procedural-textures/grass/index";
7
+ export * from "babylonjs-procedural-textures/marble/index";
8
+ export * from "babylonjs-procedural-textures/normalMap/index";
9
+ export * from "babylonjs-procedural-textures/perlinNoise/index";
10
+ export * from "babylonjs-procedural-textures/road/index";
11
+ export * from "babylonjs-procedural-textures/starfield/index";
12
+ export * from "babylonjs-procedural-textures/wood/index";
13
+
14
+ }
15
+ declare module "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment" {
16
+ /** @internal */
17
+ export const woodProceduralTexturePixelShader: {
18
+ name: string;
19
+ shader: string;
20
+ };
21
+
22
+ }
23
+ declare module "babylonjs-procedural-textures/wood/woodProceduralTexture" {
3
24
  import { Color3 } from "babylonjs/Maths/math.color";
4
25
  import { Texture } from "babylonjs/Materials/Textures/texture";
5
26
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
6
27
  import { Scene } from "babylonjs/scene";
7
28
  import { Nullable } from "babylonjs/types";
8
- import "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment";
9
- export class BrickProceduralTexture extends ProceduralTexture {
10
- private _numberOfBricksHeight;
11
- private _numberOfBricksWidth;
12
- private _jointColor;
13
- private _brickColor;
29
+ import "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment";
30
+ export class WoodProceduralTexture extends ProceduralTexture {
31
+ private _ampScale;
32
+ private _woodColor;
14
33
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
15
34
  updateShaderUniforms(): void;
16
- get numberOfBricksHeight(): number;
17
- set numberOfBricksHeight(value: number);
18
- get numberOfBricksWidth(): number;
19
- set numberOfBricksWidth(value: number);
20
- get jointColor(): Color3;
21
- set jointColor(value: Color3);
22
- get brickColor(): Color3;
23
- set brickColor(value: Color3);
35
+ get ampScale(): number;
36
+ set ampScale(value: number);
37
+ get woodColor(): Color3;
38
+ set woodColor(value: Color3);
24
39
  /**
25
- * Serializes this brick procedural texture
26
- * @returns a serialized brick procedural texture object
40
+ * Serializes this wood procedural texture
41
+ * @returns a serialized wood procedural texture object
27
42
  */
28
43
  serialize(): any;
29
44
  /**
30
- * Creates a Brick Procedural Texture from parsed brick procedural texture data
45
+ * Creates a Wood Procedural Texture from parsed wood procedural texture data
31
46
  * @param parsedTexture defines parsed texture data
32
47
  * @param scene defines the current scene
33
- * @param rootUrl defines the root URL containing brick procedural texture information
34
- * @returns a parsed Brick Procedural Texture
48
+ * @param rootUrl defines the root URL containing wood procedural texture information
49
+ * @returns a parsed Wood Procedural Texture
35
50
  */
36
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
51
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
37
52
  }
38
53
 
39
54
  }
40
- declare module "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment" {
55
+ declare module "babylonjs-procedural-textures/wood/index" {
56
+ export * from "babylonjs-procedural-textures/wood/woodProceduralTexture";
57
+
58
+ }
59
+ declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment" {
41
60
  /** @internal */
42
- export const brickProceduralTexturePixelShader: {
61
+ export const starfieldProceduralTexturePixelShader: {
43
62
  name: string;
44
63
  shader: string;
45
64
  };
46
65
 
47
66
  }
48
- declare module "babylonjs-procedural-textures/brick/index" {
49
- export * from "babylonjs-procedural-textures/brick/brickProceduralTexture";
50
-
51
- }
52
- declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture" {
53
- import { Color4 } from "babylonjs/Maths/math.color";
67
+ declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture" {
54
68
  import { Texture } from "babylonjs/Materials/Textures/texture";
55
69
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
56
70
  import { Scene } from "babylonjs/scene";
57
71
  import { Nullable } from "babylonjs/types";
58
- import "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment";
59
- export class CloudProceduralTexture extends ProceduralTexture {
60
- private _skyColor;
61
- private _cloudColor;
62
- private _amplitude;
63
- private _numOctaves;
72
+ import "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment";
73
+ export class StarfieldProceduralTexture extends ProceduralTexture {
74
+ private _time;
75
+ private _alpha;
76
+ private _beta;
77
+ private _zoom;
78
+ private _formuparam;
79
+ private _stepsize;
80
+ private _tile;
81
+ private _brightness;
82
+ private _darkmatter;
83
+ private _distfading;
84
+ private _saturation;
64
85
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
65
86
  updateShaderUniforms(): void;
66
- get skyColor(): Color4;
67
- set skyColor(value: Color4);
68
- get cloudColor(): Color4;
69
- set cloudColor(value: Color4);
70
- get amplitude(): number;
71
- set amplitude(value: number);
72
- get numOctaves(): number;
73
- set numOctaves(value: number);
87
+ get time(): number;
88
+ set time(value: number);
89
+ get alpha(): number;
90
+ set alpha(value: number);
91
+ get beta(): number;
92
+ set beta(value: number);
93
+ get formuparam(): number;
94
+ set formuparam(value: number);
95
+ get stepsize(): number;
96
+ set stepsize(value: number);
97
+ get zoom(): number;
98
+ set zoom(value: number);
99
+ get tile(): number;
100
+ set tile(value: number);
101
+ get brightness(): number;
102
+ set brightness(value: number);
103
+ get darkmatter(): number;
104
+ set darkmatter(value: number);
105
+ get distfading(): number;
106
+ set distfading(value: number);
107
+ get saturation(): number;
108
+ set saturation(value: number);
74
109
  /**
75
- * Serializes this cloud procedural texture
76
- * @returns a serialized cloud procedural texture object
110
+ * Serializes this starfield procedural texture
111
+ * @returns a serialized starfield procedural texture object
77
112
  */
78
113
  serialize(): any;
79
114
  /**
80
- * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
115
+ * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
81
116
  * @param parsedTexture defines parsed texture data
82
117
  * @param scene defines the current scene
83
- * @param rootUrl defines the root URL containing cloud procedural texture information
84
- * @returns a parsed Cloud Procedural Texture
118
+ * @param rootUrl defines the root URL containing startfield procedural texture information
119
+ * @returns a parsed Starfield Procedural Texture
85
120
  */
86
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
121
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
87
122
  }
88
123
 
89
124
  }
90
- declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment" {
125
+ declare module "babylonjs-procedural-textures/starfield/index" {
126
+ export * from "babylonjs-procedural-textures/starfield/starfieldProceduralTexture";
127
+
128
+ }
129
+ declare module "babylonjs-procedural-textures/road/roadProceduralTexture.fragment" {
91
130
  /** @internal */
92
- export const cloudProceduralTexturePixelShader: {
131
+ export const roadProceduralTexturePixelShader: {
93
132
  name: string;
94
133
  shader: string;
95
134
  };
96
135
 
97
136
  }
98
- declare module "babylonjs-procedural-textures/cloud/index" {
99
- export * from "babylonjs-procedural-textures/cloud/cloudProceduralTexture";
100
-
101
- }
102
- declare module "babylonjs-procedural-textures/fire/fireProceduralTexture" {
103
- import { Vector2 } from "babylonjs/Maths/math.vector";
137
+ declare module "babylonjs-procedural-textures/road/roadProceduralTexture" {
104
138
  import { Color3 } from "babylonjs/Maths/math.color";
105
139
  import { Texture } from "babylonjs/Materials/Textures/texture";
106
140
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
107
141
  import { Scene } from "babylonjs/scene";
108
142
  import { Nullable } from "babylonjs/types";
109
- import "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment";
110
- export class FireProceduralTexture extends ProceduralTexture {
111
- private _time;
112
- private _speed;
113
- private _autoGenerateTime;
114
- private _fireColors;
115
- private _alphaThreshold;
143
+ import "babylonjs-procedural-textures/road/roadProceduralTexture.fragment";
144
+ export class RoadProceduralTexture extends ProceduralTexture {
145
+ private _roadColor;
116
146
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
117
147
  updateShaderUniforms(): void;
118
- render(useCameraPostProcess?: boolean): void;
119
- static get PurpleFireColors(): Color3[];
120
- static get GreenFireColors(): Color3[];
121
- static get RedFireColors(): Color3[];
122
- static get BlueFireColors(): Color3[];
123
- get autoGenerateTime(): boolean;
124
- set autoGenerateTime(value: boolean);
125
- get fireColors(): Color3[];
126
- set fireColors(value: Color3[]);
127
- get time(): number;
128
- set time(value: number);
129
- get speed(): Vector2;
130
- set speed(value: Vector2);
131
- get alphaThreshold(): number;
132
- set alphaThreshold(value: number);
148
+ get roadColor(): Color3;
149
+ set roadColor(value: Color3);
133
150
  /**
134
- * Serializes this fire procedural texture
135
- * @returns a serialized fire procedural texture object
151
+ * Serializes this road procedural texture
152
+ * @returns a serialized road procedural texture object
136
153
  */
137
154
  serialize(): any;
138
155
  /**
139
- * Creates a Fire Procedural Texture from parsed fire procedural texture data
156
+ * Creates a Road Procedural Texture from parsed road procedural texture data
140
157
  * @param parsedTexture defines parsed texture data
141
158
  * @param scene defines the current scene
142
- * @param rootUrl defines the root URL containing fire procedural texture information
143
- * @returns a parsed Fire Procedural Texture
159
+ * @param rootUrl defines the root URL containing road procedural texture information
160
+ * @returns a parsed Road Procedural Texture
144
161
  */
145
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
162
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
146
163
  }
147
164
 
148
165
  }
149
- declare module "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment" {
166
+ declare module "babylonjs-procedural-textures/road/index" {
167
+ export * from "babylonjs-procedural-textures/road/roadProceduralTexture";
168
+
169
+ }
170
+ declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment" {
150
171
  /** @internal */
151
- export const fireProceduralTexturePixelShader: {
172
+ export const perlinNoiseProceduralTexturePixelShader: {
152
173
  name: string;
153
174
  shader: string;
154
175
  };
155
176
 
156
177
  }
157
- declare module "babylonjs-procedural-textures/fire/index" {
158
- export * from "babylonjs-procedural-textures/fire/fireProceduralTexture";
159
-
160
- }
161
- declare module "babylonjs-procedural-textures/grass/grassProceduralTexture" {
162
- import { Color3 } from "babylonjs/Maths/math.color";
178
+ declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture" {
163
179
  import { Texture } from "babylonjs/Materials/Textures/texture";
164
180
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
165
181
  import { Scene } from "babylonjs/scene";
166
182
  import { Nullable } from "babylonjs/types";
167
- import "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment";
168
- export class GrassProceduralTexture extends ProceduralTexture {
169
- private _grassColors;
170
- private _groundColor;
183
+ import "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment";
184
+ export class PerlinNoiseProceduralTexture extends ProceduralTexture {
185
+ time: number;
186
+ timeScale: number;
187
+ translationSpeed: number;
188
+ private _currentTranslation;
171
189
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
172
190
  updateShaderUniforms(): void;
173
- get grassColors(): Color3[];
174
- set grassColors(value: Color3[]);
175
- get groundColor(): Color3;
176
- set groundColor(value: Color3);
191
+ render(useCameraPostProcess?: boolean): void;
192
+ resize(size: any, generateMipMaps: any): void;
177
193
  /**
178
- * Serializes this grass procedural texture
179
- * @returns a serialized grass procedural texture object
194
+ * Serializes this perlin noise procedural texture
195
+ * @returns a serialized perlin noise procedural texture object
180
196
  */
181
197
  serialize(): any;
182
198
  /**
183
- * Creates a Grass Procedural Texture from parsed grass procedural texture data
199
+ * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
184
200
  * @param parsedTexture defines parsed texture data
185
201
  * @param scene defines the current scene
186
- * @param rootUrl defines the root URL containing grass procedural texture information
187
- * @returns a parsed Grass Procedural Texture
202
+ * @param rootUrl defines the root URL containing perlin noise procedural texture information
203
+ * @returns a parsed Perlin Noise Procedural Texture
188
204
  */
189
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
205
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
190
206
  }
191
207
 
192
208
  }
193
- declare module "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment" {
209
+ declare module "babylonjs-procedural-textures/perlinNoise/index" {
210
+ export * from "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture";
211
+
212
+ }
213
+ declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment" {
194
214
  /** @internal */
195
- export const grassProceduralTexturePixelShader: {
215
+ export const normalMapProceduralTexturePixelShader: {
196
216
  name: string;
197
217
  shader: string;
198
218
  };
199
219
 
200
220
  }
201
- declare module "babylonjs-procedural-textures/grass/index" {
202
- export * from "babylonjs-procedural-textures/grass/grassProceduralTexture";
221
+ declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture" {
222
+ import { Texture } from "babylonjs/Materials/Textures/texture";
223
+ import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
224
+ import { Scene } from "babylonjs/scene";
225
+ import { Nullable } from "babylonjs/types";
226
+ import "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment";
227
+ export class NormalMapProceduralTexture extends ProceduralTexture {
228
+ private _baseTexture;
229
+ constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
230
+ updateShaderUniforms(): void;
231
+ render(useCameraPostProcess?: boolean): void;
232
+ resize(size: any, generateMipMaps: any): void;
233
+ isReady(): boolean;
234
+ get baseTexture(): Texture;
235
+ set baseTexture(texture: Texture);
236
+ /**
237
+ * Serializes this normal map procedural texture
238
+ * @returns a serialized normal map procedural texture object
239
+ */
240
+ serialize(): any;
241
+ /**
242
+ * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
243
+ * @param parsedTexture defines parsed texture data
244
+ * @param scene defines the current scene
245
+ * @param rootUrl defines the root URL containing normal map procedural texture information
246
+ * @returns a parsed Normal Map Procedural Texture
247
+ */
248
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
249
+ }
203
250
 
204
251
  }
205
- declare module "babylonjs-procedural-textures/index" {
206
- export * from "babylonjs-procedural-textures/brick/index";
207
- export * from "babylonjs-procedural-textures/cloud/index";
208
- export * from "babylonjs-procedural-textures/fire/index";
209
- export * from "babylonjs-procedural-textures/grass/index";
210
- export * from "babylonjs-procedural-textures/marble/index";
211
- export * from "babylonjs-procedural-textures/normalMap/index";
212
- export * from "babylonjs-procedural-textures/perlinNoise/index";
213
- export * from "babylonjs-procedural-textures/road/index";
214
- export * from "babylonjs-procedural-textures/starfield/index";
215
- export * from "babylonjs-procedural-textures/wood/index";
252
+ declare module "babylonjs-procedural-textures/normalMap/index" {
253
+ export * from "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture";
216
254
 
217
255
  }
218
- declare module "babylonjs-procedural-textures/marble/index" {
219
- export * from "babylonjs-procedural-textures/marble/marbleProceduralTexture";
256
+ declare module "babylonjs-procedural-textures/marble/marbleProceduralTexture.fragment" {
257
+ /** @internal */
258
+ export const marbleProceduralTexturePixelShader: {
259
+ name: string;
260
+ shader: string;
261
+ };
220
262
 
221
263
  }
222
264
  declare module "babylonjs-procedural-textures/marble/marbleProceduralTexture" {
@@ -257,297 +299,255 @@ export class MarbleProceduralTexture extends ProceduralTexture {
257
299
  }
258
300
 
259
301
  }
260
- declare module "babylonjs-procedural-textures/marble/marbleProceduralTexture.fragment" {
261
- /** @internal */
262
- export const marbleProceduralTexturePixelShader: {
263
- name: string;
264
- shader: string;
265
- };
266
-
267
- }
268
- declare module "babylonjs-procedural-textures/normalMap/index" {
269
- export * from "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture";
302
+ declare module "babylonjs-procedural-textures/marble/index" {
303
+ export * from "babylonjs-procedural-textures/marble/marbleProceduralTexture";
270
304
 
271
305
  }
272
- declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture" {
273
- import { Texture } from "babylonjs/Materials/Textures/texture";
274
- import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
275
- import { Scene } from "babylonjs/scene";
276
- import { Nullable } from "babylonjs/types";
277
- import "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment";
278
- export class NormalMapProceduralTexture extends ProceduralTexture {
279
- private _baseTexture;
280
- constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
281
- updateShaderUniforms(): void;
282
- render(useCameraPostProcess?: boolean): void;
283
- resize(size: any, generateMipMaps: any): void;
284
- isReady(): boolean;
285
- get baseTexture(): Texture;
286
- set baseTexture(texture: Texture);
287
- /**
288
- * Serializes this normal map procedural texture
289
- * @returns a serialized normal map procedural texture object
290
- */
291
- serialize(): any;
292
- /**
293
- * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
294
- * @param parsedTexture defines parsed texture data
295
- * @param scene defines the current scene
296
- * @param rootUrl defines the root URL containing normal map procedural texture information
297
- * @returns a parsed Normal Map Procedural Texture
298
- */
299
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
300
- }
306
+ declare module "babylonjs-procedural-textures/grass/index" {
307
+ export * from "babylonjs-procedural-textures/grass/grassProceduralTexture";
301
308
 
302
309
  }
303
- declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment" {
310
+ declare module "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment" {
304
311
  /** @internal */
305
- export const normalMapProceduralTexturePixelShader: {
312
+ export const grassProceduralTexturePixelShader: {
306
313
  name: string;
307
314
  shader: string;
308
315
  };
309
316
 
310
317
  }
311
- declare module "babylonjs-procedural-textures/perlinNoise/index" {
312
- export * from "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture";
313
-
314
- }
315
- declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture" {
318
+ declare module "babylonjs-procedural-textures/grass/grassProceduralTexture" {
319
+ import { Color3 } from "babylonjs/Maths/math.color";
316
320
  import { Texture } from "babylonjs/Materials/Textures/texture";
317
321
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
318
322
  import { Scene } from "babylonjs/scene";
319
323
  import { Nullable } from "babylonjs/types";
320
- import "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment";
321
- export class PerlinNoiseProceduralTexture extends ProceduralTexture {
322
- time: number;
323
- timeScale: number;
324
- translationSpeed: number;
325
- private _currentTranslation;
324
+ import "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment";
325
+ export class GrassProceduralTexture extends ProceduralTexture {
326
+ private _grassColors;
327
+ private _groundColor;
326
328
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
327
329
  updateShaderUniforms(): void;
328
- render(useCameraPostProcess?: boolean): void;
329
- resize(size: any, generateMipMaps: any): void;
330
+ get grassColors(): Color3[];
331
+ set grassColors(value: Color3[]);
332
+ get groundColor(): Color3;
333
+ set groundColor(value: Color3);
330
334
  /**
331
- * Serializes this perlin noise procedural texture
332
- * @returns a serialized perlin noise procedural texture object
335
+ * Serializes this grass procedural texture
336
+ * @returns a serialized grass procedural texture object
333
337
  */
334
338
  serialize(): any;
335
339
  /**
336
- * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
340
+ * Creates a Grass Procedural Texture from parsed grass procedural texture data
337
341
  * @param parsedTexture defines parsed texture data
338
342
  * @param scene defines the current scene
339
- * @param rootUrl defines the root URL containing perlin noise procedural texture information
340
- * @returns a parsed Perlin Noise Procedural Texture
343
+ * @param rootUrl defines the root URL containing grass procedural texture information
344
+ * @returns a parsed Grass Procedural Texture
341
345
  */
342
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
346
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
343
347
  }
344
348
 
345
349
  }
346
- declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment" {
350
+ declare module "babylonjs-procedural-textures/fire/index" {
351
+ export * from "babylonjs-procedural-textures/fire/fireProceduralTexture";
352
+
353
+ }
354
+ declare module "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment" {
347
355
  /** @internal */
348
- export const perlinNoiseProceduralTexturePixelShader: {
356
+ export const fireProceduralTexturePixelShader: {
349
357
  name: string;
350
358
  shader: string;
351
359
  };
352
360
 
353
361
  }
354
- declare module "babylonjs-procedural-textures/road/index" {
355
- export * from "babylonjs-procedural-textures/road/roadProceduralTexture";
356
-
357
- }
358
- declare module "babylonjs-procedural-textures/road/roadProceduralTexture" {
362
+ declare module "babylonjs-procedural-textures/fire/fireProceduralTexture" {
363
+ import { Vector2 } from "babylonjs/Maths/math.vector";
359
364
  import { Color3 } from "babylonjs/Maths/math.color";
360
365
  import { Texture } from "babylonjs/Materials/Textures/texture";
361
366
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
362
367
  import { Scene } from "babylonjs/scene";
363
368
  import { Nullable } from "babylonjs/types";
364
- import "babylonjs-procedural-textures/road/roadProceduralTexture.fragment";
365
- export class RoadProceduralTexture extends ProceduralTexture {
366
- private _roadColor;
369
+ import "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment";
370
+ export class FireProceduralTexture extends ProceduralTexture {
371
+ private _time;
372
+ private _speed;
373
+ private _autoGenerateTime;
374
+ private _fireColors;
375
+ private _alphaThreshold;
367
376
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
368
377
  updateShaderUniforms(): void;
369
- get roadColor(): Color3;
370
- set roadColor(value: Color3);
378
+ render(useCameraPostProcess?: boolean): void;
379
+ static get PurpleFireColors(): Color3[];
380
+ static get GreenFireColors(): Color3[];
381
+ static get RedFireColors(): Color3[];
382
+ static get BlueFireColors(): Color3[];
383
+ get autoGenerateTime(): boolean;
384
+ set autoGenerateTime(value: boolean);
385
+ get fireColors(): Color3[];
386
+ set fireColors(value: Color3[]);
387
+ get time(): number;
388
+ set time(value: number);
389
+ get speed(): Vector2;
390
+ set speed(value: Vector2);
391
+ get alphaThreshold(): number;
392
+ set alphaThreshold(value: number);
371
393
  /**
372
- * Serializes this road procedural texture
373
- * @returns a serialized road procedural texture object
394
+ * Serializes this fire procedural texture
395
+ * @returns a serialized fire procedural texture object
374
396
  */
375
397
  serialize(): any;
376
398
  /**
377
- * Creates a Road Procedural Texture from parsed road procedural texture data
399
+ * Creates a Fire Procedural Texture from parsed fire procedural texture data
378
400
  * @param parsedTexture defines parsed texture data
379
401
  * @param scene defines the current scene
380
- * @param rootUrl defines the root URL containing road procedural texture information
381
- * @returns a parsed Road Procedural Texture
402
+ * @param rootUrl defines the root URL containing fire procedural texture information
403
+ * @returns a parsed Fire Procedural Texture
382
404
  */
383
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
405
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
384
406
  }
385
407
 
386
408
  }
387
- declare module "babylonjs-procedural-textures/road/roadProceduralTexture.fragment" {
409
+ declare module "babylonjs-procedural-textures/cloud/index" {
410
+ export * from "babylonjs-procedural-textures/cloud/cloudProceduralTexture";
411
+
412
+ }
413
+ declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment" {
388
414
  /** @internal */
389
- export const roadProceduralTexturePixelShader: {
415
+ export const cloudProceduralTexturePixelShader: {
390
416
  name: string;
391
417
  shader: string;
392
418
  };
393
419
 
394
420
  }
395
- declare module "babylonjs-procedural-textures/starfield/index" {
396
- export * from "babylonjs-procedural-textures/starfield/starfieldProceduralTexture";
397
-
398
- }
399
- declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture" {
421
+ declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture" {
422
+ import { Color4 } from "babylonjs/Maths/math.color";
400
423
  import { Texture } from "babylonjs/Materials/Textures/texture";
401
424
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
402
425
  import { Scene } from "babylonjs/scene";
403
426
  import { Nullable } from "babylonjs/types";
404
- import "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment";
405
- export class StarfieldProceduralTexture extends ProceduralTexture {
406
- private _time;
407
- private _alpha;
408
- private _beta;
409
- private _zoom;
410
- private _formuparam;
411
- private _stepsize;
412
- private _tile;
413
- private _brightness;
414
- private _darkmatter;
415
- private _distfading;
416
- private _saturation;
427
+ import "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment";
428
+ export class CloudProceduralTexture extends ProceduralTexture {
429
+ private _skyColor;
430
+ private _cloudColor;
431
+ private _amplitude;
432
+ private _numOctaves;
417
433
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
418
434
  updateShaderUniforms(): void;
419
- get time(): number;
420
- set time(value: number);
421
- get alpha(): number;
422
- set alpha(value: number);
423
- get beta(): number;
424
- set beta(value: number);
425
- get formuparam(): number;
426
- set formuparam(value: number);
427
- get stepsize(): number;
428
- set stepsize(value: number);
429
- get zoom(): number;
430
- set zoom(value: number);
431
- get tile(): number;
432
- set tile(value: number);
433
- get brightness(): number;
434
- set brightness(value: number);
435
- get darkmatter(): number;
436
- set darkmatter(value: number);
437
- get distfading(): number;
438
- set distfading(value: number);
439
- get saturation(): number;
440
- set saturation(value: number);
435
+ get skyColor(): Color4;
436
+ set skyColor(value: Color4);
437
+ get cloudColor(): Color4;
438
+ set cloudColor(value: Color4);
439
+ get amplitude(): number;
440
+ set amplitude(value: number);
441
+ get numOctaves(): number;
442
+ set numOctaves(value: number);
441
443
  /**
442
- * Serializes this starfield procedural texture
443
- * @returns a serialized starfield procedural texture object
444
+ * Serializes this cloud procedural texture
445
+ * @returns a serialized cloud procedural texture object
444
446
  */
445
447
  serialize(): any;
446
448
  /**
447
- * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
449
+ * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
448
450
  * @param parsedTexture defines parsed texture data
449
451
  * @param scene defines the current scene
450
- * @param rootUrl defines the root URL containing startfield procedural texture information
451
- * @returns a parsed Starfield Procedural Texture
452
+ * @param rootUrl defines the root URL containing cloud procedural texture information
453
+ * @returns a parsed Cloud Procedural Texture
452
454
  */
453
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
455
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
454
456
  }
455
457
 
456
458
  }
457
- declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment" {
459
+ declare module "babylonjs-procedural-textures/brick/index" {
460
+ export * from "babylonjs-procedural-textures/brick/brickProceduralTexture";
461
+
462
+ }
463
+ declare module "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment" {
458
464
  /** @internal */
459
- export const starfieldProceduralTexturePixelShader: {
465
+ export const brickProceduralTexturePixelShader: {
460
466
  name: string;
461
467
  shader: string;
462
468
  };
463
469
 
464
470
  }
465
- declare module "babylonjs-procedural-textures/wood/index" {
466
- export * from "babylonjs-procedural-textures/wood/woodProceduralTexture";
467
-
468
- }
469
- declare module "babylonjs-procedural-textures/wood/woodProceduralTexture" {
471
+ declare module "babylonjs-procedural-textures/brick/brickProceduralTexture" {
470
472
  import { Color3 } from "babylonjs/Maths/math.color";
471
473
  import { Texture } from "babylonjs/Materials/Textures/texture";
472
474
  import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
473
- import { Scene } from "babylonjs/scene";
474
- import { Nullable } from "babylonjs/types";
475
- import "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment";
476
- export class WoodProceduralTexture extends ProceduralTexture {
477
- private _ampScale;
478
- private _woodColor;
475
+ import { Scene } from "babylonjs/scene";
476
+ import { Nullable } from "babylonjs/types";
477
+ import "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment";
478
+ export class BrickProceduralTexture extends ProceduralTexture {
479
+ private _numberOfBricksHeight;
480
+ private _numberOfBricksWidth;
481
+ private _jointColor;
482
+ private _brickColor;
479
483
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
480
484
  updateShaderUniforms(): void;
481
- get ampScale(): number;
482
- set ampScale(value: number);
483
- get woodColor(): Color3;
484
- set woodColor(value: Color3);
485
+ get numberOfBricksHeight(): number;
486
+ set numberOfBricksHeight(value: number);
487
+ get numberOfBricksWidth(): number;
488
+ set numberOfBricksWidth(value: number);
489
+ get jointColor(): Color3;
490
+ set jointColor(value: Color3);
491
+ get brickColor(): Color3;
492
+ set brickColor(value: Color3);
485
493
  /**
486
- * Serializes this wood procedural texture
487
- * @returns a serialized wood procedural texture object
494
+ * Serializes this brick procedural texture
495
+ * @returns a serialized brick procedural texture object
488
496
  */
489
497
  serialize(): any;
490
498
  /**
491
- * Creates a Wood Procedural Texture from parsed wood procedural texture data
499
+ * Creates a Brick Procedural Texture from parsed brick procedural texture data
492
500
  * @param parsedTexture defines parsed texture data
493
501
  * @param scene defines the current scene
494
- * @param rootUrl defines the root URL containing wood procedural texture information
495
- * @returns a parsed Wood Procedural Texture
502
+ * @param rootUrl defines the root URL containing brick procedural texture information
503
+ * @returns a parsed Brick Procedural Texture
496
504
  */
497
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
498
- }
499
-
505
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
500
506
  }
501
- declare module "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment" {
502
- /** @internal */
503
- export const woodProceduralTexturePixelShader: {
504
- name: string;
505
- shader: string;
506
- };
507
507
 
508
508
  }
509
- declare module "babylonjs-procedural-textures/legacy/legacy-brick" {
510
- export * from "babylonjs-procedural-textures/brick/index";
509
+ declare module "babylonjs-procedural-textures/legacy/legacy" {
510
+ export * from "babylonjs-procedural-textures/index";
511
511
 
512
512
  }
513
- declare module "babylonjs-procedural-textures/legacy/legacy-cloud" {
514
- export * from "babylonjs-procedural-textures/cloud/index";
513
+ declare module "babylonjs-procedural-textures/legacy/legacy-wood" {
514
+ export * from "babylonjs-procedural-textures/wood/index";
515
515
 
516
516
  }
517
- declare module "babylonjs-procedural-textures/legacy/legacy-fire" {
518
- export * from "babylonjs-procedural-textures/fire/index";
517
+ declare module "babylonjs-procedural-textures/legacy/legacy-starfield" {
518
+ export * from "babylonjs-procedural-textures/starfield/index";
519
519
 
520
520
  }
521
- declare module "babylonjs-procedural-textures/legacy/legacy-grass" {
522
- export * from "babylonjs-procedural-textures/grass/index";
521
+ declare module "babylonjs-procedural-textures/legacy/legacy-road" {
522
+ export * from "babylonjs-procedural-textures/road/index";
523
523
 
524
524
  }
525
- declare module "babylonjs-procedural-textures/legacy/legacy-marble" {
526
- export * from "babylonjs-procedural-textures/marble/index";
525
+ declare module "babylonjs-procedural-textures/legacy/legacy-perlinNoise" {
526
+ export * from "babylonjs-procedural-textures/perlinNoise/index";
527
527
 
528
528
  }
529
529
  declare module "babylonjs-procedural-textures/legacy/legacy-normalMap" {
530
530
  export * from "babylonjs-procedural-textures/normalMap/index";
531
531
 
532
532
  }
533
- declare module "babylonjs-procedural-textures/legacy/legacy-perlinNoise" {
534
- export * from "babylonjs-procedural-textures/perlinNoise/index";
533
+ declare module "babylonjs-procedural-textures/legacy/legacy-marble" {
534
+ export * from "babylonjs-procedural-textures/marble/index";
535
535
 
536
536
  }
537
- declare module "babylonjs-procedural-textures/legacy/legacy-road" {
538
- export * from "babylonjs-procedural-textures/road/index";
537
+ declare module "babylonjs-procedural-textures/legacy/legacy-grass" {
538
+ export * from "babylonjs-procedural-textures/grass/index";
539
539
 
540
540
  }
541
- declare module "babylonjs-procedural-textures/legacy/legacy-starfield" {
542
- export * from "babylonjs-procedural-textures/starfield/index";
541
+ declare module "babylonjs-procedural-textures/legacy/legacy-fire" {
542
+ export * from "babylonjs-procedural-textures/fire/index";
543
543
 
544
544
  }
545
- declare module "babylonjs-procedural-textures/legacy/legacy-wood" {
546
- export * from "babylonjs-procedural-textures/wood/index";
545
+ declare module "babylonjs-procedural-textures/legacy/legacy-cloud" {
546
+ export * from "babylonjs-procedural-textures/cloud/index";
547
547
 
548
548
  }
549
- declare module "babylonjs-procedural-textures/legacy/legacy" {
550
- export * from "babylonjs-procedural-textures/index";
549
+ declare module "babylonjs-procedural-textures/legacy/legacy-brick" {
550
+ export * from "babylonjs-procedural-textures/brick/index";
551
551
 
552
552
  }
553
553
 
@@ -557,172 +557,209 @@ declare module "babylonjs-procedural-textures" {
557
557
 
558
558
 
559
559
  declare module BABYLON {
560
- export class BrickProceduralTexture extends ProceduralTexture {
561
- private _numberOfBricksHeight;
562
- private _numberOfBricksWidth;
563
- private _jointColor;
564
- private _brickColor;
560
+
561
+
562
+ /** @internal */
563
+ export var woodProceduralTexturePixelShader: {
564
+ name: string;
565
+ shader: string;
566
+ };
567
+
568
+
569
+ export class WoodProceduralTexture extends ProceduralTexture {
570
+ private _ampScale;
571
+ private _woodColor;
565
572
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
566
573
  updateShaderUniforms(): void;
567
- get numberOfBricksHeight(): number;
568
- set numberOfBricksHeight(value: number);
569
- get numberOfBricksWidth(): number;
570
- set numberOfBricksWidth(value: number);
571
- get jointColor(): Color3;
572
- set jointColor(value: Color3);
573
- get brickColor(): Color3;
574
- set brickColor(value: Color3);
574
+ get ampScale(): number;
575
+ set ampScale(value: number);
576
+ get woodColor(): Color3;
577
+ set woodColor(value: Color3);
575
578
  /**
576
- * Serializes this brick procedural texture
577
- * @returns a serialized brick procedural texture object
579
+ * Serializes this wood procedural texture
580
+ * @returns a serialized wood procedural texture object
578
581
  */
579
582
  serialize(): any;
580
583
  /**
581
- * Creates a Brick Procedural Texture from parsed brick procedural texture data
584
+ * Creates a Wood Procedural Texture from parsed wood procedural texture data
582
585
  * @param parsedTexture defines parsed texture data
583
586
  * @param scene defines the current scene
584
- * @param rootUrl defines the root URL containing brick procedural texture information
585
- * @returns a parsed Brick Procedural Texture
587
+ * @param rootUrl defines the root URL containing wood procedural texture information
588
+ * @returns a parsed Wood Procedural Texture
586
589
  */
587
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
590
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
588
591
  }
589
592
 
590
593
 
594
+
595
+
591
596
  /** @internal */
592
- export var brickProceduralTexturePixelShader: {
597
+ export var starfieldProceduralTexturePixelShader: {
593
598
  name: string;
594
599
  shader: string;
595
600
  };
596
601
 
597
602
 
598
-
599
-
600
- export class CloudProceduralTexture extends ProceduralTexture {
601
- private _skyColor;
602
- private _cloudColor;
603
- private _amplitude;
604
- private _numOctaves;
603
+ export class StarfieldProceduralTexture extends ProceduralTexture {
604
+ private _time;
605
+ private _alpha;
606
+ private _beta;
607
+ private _zoom;
608
+ private _formuparam;
609
+ private _stepsize;
610
+ private _tile;
611
+ private _brightness;
612
+ private _darkmatter;
613
+ private _distfading;
614
+ private _saturation;
605
615
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
606
616
  updateShaderUniforms(): void;
607
- get skyColor(): Color4;
608
- set skyColor(value: Color4);
609
- get cloudColor(): Color4;
610
- set cloudColor(value: Color4);
611
- get amplitude(): number;
612
- set amplitude(value: number);
613
- get numOctaves(): number;
614
- set numOctaves(value: number);
617
+ get time(): number;
618
+ set time(value: number);
619
+ get alpha(): number;
620
+ set alpha(value: number);
621
+ get beta(): number;
622
+ set beta(value: number);
623
+ get formuparam(): number;
624
+ set formuparam(value: number);
625
+ get stepsize(): number;
626
+ set stepsize(value: number);
627
+ get zoom(): number;
628
+ set zoom(value: number);
629
+ get tile(): number;
630
+ set tile(value: number);
631
+ get brightness(): number;
632
+ set brightness(value: number);
633
+ get darkmatter(): number;
634
+ set darkmatter(value: number);
635
+ get distfading(): number;
636
+ set distfading(value: number);
637
+ get saturation(): number;
638
+ set saturation(value: number);
615
639
  /**
616
- * Serializes this cloud procedural texture
617
- * @returns a serialized cloud procedural texture object
640
+ * Serializes this starfield procedural texture
641
+ * @returns a serialized starfield procedural texture object
618
642
  */
619
643
  serialize(): any;
620
644
  /**
621
- * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
645
+ * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
622
646
  * @param parsedTexture defines parsed texture data
623
647
  * @param scene defines the current scene
624
- * @param rootUrl defines the root URL containing cloud procedural texture information
625
- * @returns a parsed Cloud Procedural Texture
648
+ * @param rootUrl defines the root URL containing startfield procedural texture information
649
+ * @returns a parsed Starfield Procedural Texture
626
650
  */
627
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
651
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
628
652
  }
629
653
 
630
654
 
655
+
656
+
631
657
  /** @internal */
632
- export var cloudProceduralTexturePixelShader: {
658
+ export var roadProceduralTexturePixelShader: {
633
659
  name: string;
634
660
  shader: string;
635
661
  };
636
662
 
637
663
 
664
+ export class RoadProceduralTexture extends ProceduralTexture {
665
+ private _roadColor;
666
+ constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
667
+ updateShaderUniforms(): void;
668
+ get roadColor(): Color3;
669
+ set roadColor(value: Color3);
670
+ /**
671
+ * Serializes this road procedural texture
672
+ * @returns a serialized road procedural texture object
673
+ */
674
+ serialize(): any;
675
+ /**
676
+ * Creates a Road Procedural Texture from parsed road procedural texture data
677
+ * @param parsedTexture defines parsed texture data
678
+ * @param scene defines the current scene
679
+ * @param rootUrl defines the root URL containing road procedural texture information
680
+ * @returns a parsed Road Procedural Texture
681
+ */
682
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
683
+ }
684
+
685
+
638
686
 
639
687
 
640
- export class FireProceduralTexture extends ProceduralTexture {
641
- private _time;
642
- private _speed;
643
- private _autoGenerateTime;
644
- private _fireColors;
645
- private _alphaThreshold;
688
+ /** @internal */
689
+ export var perlinNoiseProceduralTexturePixelShader: {
690
+ name: string;
691
+ shader: string;
692
+ };
693
+
694
+
695
+ export class PerlinNoiseProceduralTexture extends ProceduralTexture {
696
+ time: number;
697
+ timeScale: number;
698
+ translationSpeed: number;
699
+ private _currentTranslation;
646
700
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
647
701
  updateShaderUniforms(): void;
648
702
  render(useCameraPostProcess?: boolean): void;
649
- static get PurpleFireColors(): Color3[];
650
- static get GreenFireColors(): Color3[];
651
- static get RedFireColors(): Color3[];
652
- static get BlueFireColors(): Color3[];
653
- get autoGenerateTime(): boolean;
654
- set autoGenerateTime(value: boolean);
655
- get fireColors(): Color3[];
656
- set fireColors(value: Color3[]);
657
- get time(): number;
658
- set time(value: number);
659
- get speed(): Vector2;
660
- set speed(value: Vector2);
661
- get alphaThreshold(): number;
662
- set alphaThreshold(value: number);
703
+ resize(size: any, generateMipMaps: any): void;
663
704
  /**
664
- * Serializes this fire procedural texture
665
- * @returns a serialized fire procedural texture object
705
+ * Serializes this perlin noise procedural texture
706
+ * @returns a serialized perlin noise procedural texture object
666
707
  */
667
708
  serialize(): any;
668
709
  /**
669
- * Creates a Fire Procedural Texture from parsed fire procedural texture data
710
+ * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
670
711
  * @param parsedTexture defines parsed texture data
671
712
  * @param scene defines the current scene
672
- * @param rootUrl defines the root URL containing fire procedural texture information
673
- * @returns a parsed Fire Procedural Texture
713
+ * @param rootUrl defines the root URL containing perlin noise procedural texture information
714
+ * @returns a parsed Perlin Noise Procedural Texture
674
715
  */
675
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
716
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
676
717
  }
677
718
 
678
719
 
720
+
721
+
679
722
  /** @internal */
680
- export var fireProceduralTexturePixelShader: {
723
+ export var normalMapProceduralTexturePixelShader: {
681
724
  name: string;
682
725
  shader: string;
683
726
  };
684
727
 
685
728
 
686
-
687
-
688
- export class GrassProceduralTexture extends ProceduralTexture {
689
- private _grassColors;
690
- private _groundColor;
729
+ export class NormalMapProceduralTexture extends ProceduralTexture {
730
+ private _baseTexture;
691
731
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
692
732
  updateShaderUniforms(): void;
693
- get grassColors(): Color3[];
694
- set grassColors(value: Color3[]);
695
- get groundColor(): Color3;
696
- set groundColor(value: Color3);
733
+ render(useCameraPostProcess?: boolean): void;
734
+ resize(size: any, generateMipMaps: any): void;
735
+ isReady(): boolean;
736
+ get baseTexture(): Texture;
737
+ set baseTexture(texture: Texture);
697
738
  /**
698
- * Serializes this grass procedural texture
699
- * @returns a serialized grass procedural texture object
739
+ * Serializes this normal map procedural texture
740
+ * @returns a serialized normal map procedural texture object
700
741
  */
701
742
  serialize(): any;
702
743
  /**
703
- * Creates a Grass Procedural Texture from parsed grass procedural texture data
744
+ * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
704
745
  * @param parsedTexture defines parsed texture data
705
746
  * @param scene defines the current scene
706
- * @param rootUrl defines the root URL containing grass procedural texture information
707
- * @returns a parsed Grass Procedural Texture
747
+ * @param rootUrl defines the root URL containing normal map procedural texture information
748
+ * @returns a parsed Normal Map Procedural Texture
708
749
  */
709
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
750
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
710
751
  }
711
752
 
712
753
 
754
+
755
+
713
756
  /** @internal */
714
- export var grassProceduralTexturePixelShader: {
757
+ export var marbleProceduralTexturePixelShader: {
715
758
  name: string;
716
759
  shader: string;
717
760
  };
718
761
 
719
762
 
720
-
721
-
722
-
723
-
724
-
725
-
726
763
  export class MarbleProceduralTexture extends ProceduralTexture {
727
764
  private _numberOfTilesHeight;
728
765
  private _numberOfTilesWidth;
@@ -754,207 +791,170 @@ declare module BABYLON {
754
791
  }
755
792
 
756
793
 
757
- /** @internal */
758
- export var marbleProceduralTexturePixelShader: {
759
- name: string;
760
- shader: string;
761
- };
762
-
763
-
764
794
 
765
795
 
766
- export class NormalMapProceduralTexture extends ProceduralTexture {
767
- private _baseTexture;
768
- constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
769
- updateShaderUniforms(): void;
770
- render(useCameraPostProcess?: boolean): void;
771
- resize(size: any, generateMipMaps: any): void;
772
- isReady(): boolean;
773
- get baseTexture(): Texture;
774
- set baseTexture(texture: Texture);
775
- /**
776
- * Serializes this normal map procedural texture
777
- * @returns a serialized normal map procedural texture object
778
- */
779
- serialize(): any;
780
- /**
781
- * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
782
- * @param parsedTexture defines parsed texture data
783
- * @param scene defines the current scene
784
- * @param rootUrl defines the root URL containing normal map procedural texture information
785
- * @returns a parsed Normal Map Procedural Texture
786
- */
787
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
788
- }
789
796
 
790
797
 
791
798
  /** @internal */
792
- export var normalMapProceduralTexturePixelShader: {
799
+ export var grassProceduralTexturePixelShader: {
793
800
  name: string;
794
801
  shader: string;
795
802
  };
796
803
 
797
804
 
798
-
799
-
800
- export class PerlinNoiseProceduralTexture extends ProceduralTexture {
801
- time: number;
802
- timeScale: number;
803
- translationSpeed: number;
804
- private _currentTranslation;
805
+ export class GrassProceduralTexture extends ProceduralTexture {
806
+ private _grassColors;
807
+ private _groundColor;
805
808
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
806
809
  updateShaderUniforms(): void;
807
- render(useCameraPostProcess?: boolean): void;
808
- resize(size: any, generateMipMaps: any): void;
810
+ get grassColors(): Color3[];
811
+ set grassColors(value: Color3[]);
812
+ get groundColor(): Color3;
813
+ set groundColor(value: Color3);
809
814
  /**
810
- * Serializes this perlin noise procedural texture
811
- * @returns a serialized perlin noise procedural texture object
815
+ * Serializes this grass procedural texture
816
+ * @returns a serialized grass procedural texture object
812
817
  */
813
818
  serialize(): any;
814
819
  /**
815
- * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
820
+ * Creates a Grass Procedural Texture from parsed grass procedural texture data
816
821
  * @param parsedTexture defines parsed texture data
817
822
  * @param scene defines the current scene
818
- * @param rootUrl defines the root URL containing perlin noise procedural texture information
819
- * @returns a parsed Perlin Noise Procedural Texture
823
+ * @param rootUrl defines the root URL containing grass procedural texture information
824
+ * @returns a parsed Grass Procedural Texture
820
825
  */
821
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
826
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
822
827
  }
823
828
 
824
829
 
830
+
831
+
825
832
  /** @internal */
826
- export var perlinNoiseProceduralTexturePixelShader: {
833
+ export var fireProceduralTexturePixelShader: {
827
834
  name: string;
828
835
  shader: string;
829
836
  };
830
837
 
831
838
 
832
-
833
-
834
- export class RoadProceduralTexture extends ProceduralTexture {
835
- private _roadColor;
839
+ export class FireProceduralTexture extends ProceduralTexture {
840
+ private _time;
841
+ private _speed;
842
+ private _autoGenerateTime;
843
+ private _fireColors;
844
+ private _alphaThreshold;
836
845
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
837
846
  updateShaderUniforms(): void;
838
- get roadColor(): Color3;
839
- set roadColor(value: Color3);
847
+ render(useCameraPostProcess?: boolean): void;
848
+ static get PurpleFireColors(): Color3[];
849
+ static get GreenFireColors(): Color3[];
850
+ static get RedFireColors(): Color3[];
851
+ static get BlueFireColors(): Color3[];
852
+ get autoGenerateTime(): boolean;
853
+ set autoGenerateTime(value: boolean);
854
+ get fireColors(): Color3[];
855
+ set fireColors(value: Color3[]);
856
+ get time(): number;
857
+ set time(value: number);
858
+ get speed(): Vector2;
859
+ set speed(value: Vector2);
860
+ get alphaThreshold(): number;
861
+ set alphaThreshold(value: number);
840
862
  /**
841
- * Serializes this road procedural texture
842
- * @returns a serialized road procedural texture object
863
+ * Serializes this fire procedural texture
864
+ * @returns a serialized fire procedural texture object
843
865
  */
844
866
  serialize(): any;
845
867
  /**
846
- * Creates a Road Procedural Texture from parsed road procedural texture data
868
+ * Creates a Fire Procedural Texture from parsed fire procedural texture data
847
869
  * @param parsedTexture defines parsed texture data
848
870
  * @param scene defines the current scene
849
- * @param rootUrl defines the root URL containing road procedural texture information
850
- * @returns a parsed Road Procedural Texture
871
+ * @param rootUrl defines the root URL containing fire procedural texture information
872
+ * @returns a parsed Fire Procedural Texture
851
873
  */
852
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
874
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
853
875
  }
854
876
 
855
877
 
878
+
879
+
856
880
  /** @internal */
857
- export var roadProceduralTexturePixelShader: {
881
+ export var cloudProceduralTexturePixelShader: {
858
882
  name: string;
859
883
  shader: string;
860
884
  };
861
885
 
862
886
 
863
-
864
-
865
- export class StarfieldProceduralTexture extends ProceduralTexture {
866
- private _time;
867
- private _alpha;
868
- private _beta;
869
- private _zoom;
870
- private _formuparam;
871
- private _stepsize;
872
- private _tile;
873
- private _brightness;
874
- private _darkmatter;
875
- private _distfading;
876
- private _saturation;
887
+ export class CloudProceduralTexture extends ProceduralTexture {
888
+ private _skyColor;
889
+ private _cloudColor;
890
+ private _amplitude;
891
+ private _numOctaves;
877
892
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
878
893
  updateShaderUniforms(): void;
879
- get time(): number;
880
- set time(value: number);
881
- get alpha(): number;
882
- set alpha(value: number);
883
- get beta(): number;
884
- set beta(value: number);
885
- get formuparam(): number;
886
- set formuparam(value: number);
887
- get stepsize(): number;
888
- set stepsize(value: number);
889
- get zoom(): number;
890
- set zoom(value: number);
891
- get tile(): number;
892
- set tile(value: number);
893
- get brightness(): number;
894
- set brightness(value: number);
895
- get darkmatter(): number;
896
- set darkmatter(value: number);
897
- get distfading(): number;
898
- set distfading(value: number);
899
- get saturation(): number;
900
- set saturation(value: number);
894
+ get skyColor(): Color4;
895
+ set skyColor(value: Color4);
896
+ get cloudColor(): Color4;
897
+ set cloudColor(value: Color4);
898
+ get amplitude(): number;
899
+ set amplitude(value: number);
900
+ get numOctaves(): number;
901
+ set numOctaves(value: number);
901
902
  /**
902
- * Serializes this starfield procedural texture
903
- * @returns a serialized starfield procedural texture object
903
+ * Serializes this cloud procedural texture
904
+ * @returns a serialized cloud procedural texture object
904
905
  */
905
906
  serialize(): any;
906
907
  /**
907
- * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
908
+ * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
908
909
  * @param parsedTexture defines parsed texture data
909
910
  * @param scene defines the current scene
910
- * @param rootUrl defines the root URL containing startfield procedural texture information
911
- * @returns a parsed Starfield Procedural Texture
911
+ * @param rootUrl defines the root URL containing cloud procedural texture information
912
+ * @returns a parsed Cloud Procedural Texture
912
913
  */
913
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
914
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
914
915
  }
915
916
 
916
917
 
918
+
919
+
917
920
  /** @internal */
918
- export var starfieldProceduralTexturePixelShader: {
921
+ export var brickProceduralTexturePixelShader: {
919
922
  name: string;
920
923
  shader: string;
921
924
  };
922
925
 
923
926
 
924
-
925
-
926
- export class WoodProceduralTexture extends ProceduralTexture {
927
- private _ampScale;
928
- private _woodColor;
927
+ export class BrickProceduralTexture extends ProceduralTexture {
928
+ private _numberOfBricksHeight;
929
+ private _numberOfBricksWidth;
930
+ private _jointColor;
931
+ private _brickColor;
929
932
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
930
933
  updateShaderUniforms(): void;
931
- get ampScale(): number;
932
- set ampScale(value: number);
933
- get woodColor(): Color3;
934
- set woodColor(value: Color3);
934
+ get numberOfBricksHeight(): number;
935
+ set numberOfBricksHeight(value: number);
936
+ get numberOfBricksWidth(): number;
937
+ set numberOfBricksWidth(value: number);
938
+ get jointColor(): Color3;
939
+ set jointColor(value: Color3);
940
+ get brickColor(): Color3;
941
+ set brickColor(value: Color3);
935
942
  /**
936
- * Serializes this wood procedural texture
937
- * @returns a serialized wood procedural texture object
943
+ * Serializes this brick procedural texture
944
+ * @returns a serialized brick procedural texture object
938
945
  */
939
946
  serialize(): any;
940
947
  /**
941
- * Creates a Wood Procedural Texture from parsed wood procedural texture data
948
+ * Creates a Brick Procedural Texture from parsed brick procedural texture data
942
949
  * @param parsedTexture defines parsed texture data
943
950
  * @param scene defines the current scene
944
- * @param rootUrl defines the root URL containing wood procedural texture information
945
- * @returns a parsed Wood Procedural Texture
951
+ * @param rootUrl defines the root URL containing brick procedural texture information
952
+ * @returns a parsed Brick Procedural Texture
946
953
  */
947
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
954
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
948
955
  }
949
956
 
950
957
 
951
- /** @internal */
952
- export var woodProceduralTexturePixelShader: {
953
- name: string;
954
- shader: string;
955
- };
956
-
957
-
958
958
 
959
959
 
960
960