babylonjs-procedural-textures 6.7.0 → 6.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.brickProceduralTexture.js +387 -359
- package/babylon.brickProceduralTexture.js.map +1 -1
- package/babylon.brickProceduralTexture.min.js.map +1 -1
- package/babylon.cloudProceduralTexture.js +387 -359
- package/babylon.cloudProceduralTexture.js.map +1 -1
- package/babylon.cloudProceduralTexture.min.js.map +1 -1
- package/babylon.fireProceduralTexture.js +391 -363
- package/babylon.fireProceduralTexture.js.map +1 -1
- package/babylon.fireProceduralTexture.min.js.map +1 -1
- package/babylon.grassProceduralTexture.js +382 -354
- package/babylon.grassProceduralTexture.js.map +1 -1
- package/babylon.grassProceduralTexture.min.js.map +1 -1
- package/babylon.marbleProceduralTexture.js +386 -358
- package/babylon.marbleProceduralTexture.js.map +1 -1
- package/babylon.marbleProceduralTexture.min.js.map +1 -1
- package/babylon.normalMapProceduralTexture.js +379 -351
- package/babylon.normalMapProceduralTexture.js.map +1 -1
- package/babylon.normalMapProceduralTexture.min.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.js +383 -355
- package/babylon.perlinNoiseProceduralTexture.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
- package/babylon.roadProceduralTexture.js +380 -352
- package/babylon.roadProceduralTexture.js.map +1 -1
- package/babylon.roadProceduralTexture.min.js.map +1 -1
- package/babylon.starfieldProceduralTexture.js +399 -371
- package/babylon.starfieldProceduralTexture.js.map +1 -1
- package/babylon.starfieldProceduralTexture.min.js.map +1 -1
- package/babylon.woodProceduralTexture.js +382 -354
- package/babylon.woodProceduralTexture.js.map +1 -1
- package/babylon.woodProceduralTexture.min.js.map +1 -1
- package/babylonjs.proceduralTextures.js +591 -572
- package/babylonjs.proceduralTextures.js.map +1 -1
- package/babylonjs.proceduralTextures.min.js.map +1 -1
- package/package.json +2 -4
|
@@ -12,341 +12,6 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ "../../../../node_modules/tslib/tslib.es6.js":
|
|
16
|
-
/*!***************************************************!*\
|
|
17
|
-
!*** ../../../../node_modules/tslib/tslib.es6.js ***!
|
|
18
|
-
\***************************************************/
|
|
19
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
20
|
-
|
|
21
|
-
__webpack_require__.r(__webpack_exports__);
|
|
22
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23
|
-
/* harmony export */ "__assign": () => (/* binding */ __assign),
|
|
24
|
-
/* harmony export */ "__asyncDelegator": () => (/* binding */ __asyncDelegator),
|
|
25
|
-
/* harmony export */ "__asyncGenerator": () => (/* binding */ __asyncGenerator),
|
|
26
|
-
/* harmony export */ "__asyncValues": () => (/* binding */ __asyncValues),
|
|
27
|
-
/* harmony export */ "__await": () => (/* binding */ __await),
|
|
28
|
-
/* harmony export */ "__awaiter": () => (/* binding */ __awaiter),
|
|
29
|
-
/* harmony export */ "__classPrivateFieldGet": () => (/* binding */ __classPrivateFieldGet),
|
|
30
|
-
/* harmony export */ "__classPrivateFieldIn": () => (/* binding */ __classPrivateFieldIn),
|
|
31
|
-
/* harmony export */ "__classPrivateFieldSet": () => (/* binding */ __classPrivateFieldSet),
|
|
32
|
-
/* harmony export */ "__createBinding": () => (/* binding */ __createBinding),
|
|
33
|
-
/* harmony export */ "__decorate": () => (/* binding */ __decorate),
|
|
34
|
-
/* harmony export */ "__esDecorate": () => (/* binding */ __esDecorate),
|
|
35
|
-
/* harmony export */ "__exportStar": () => (/* binding */ __exportStar),
|
|
36
|
-
/* harmony export */ "__extends": () => (/* binding */ __extends),
|
|
37
|
-
/* harmony export */ "__generator": () => (/* binding */ __generator),
|
|
38
|
-
/* harmony export */ "__importDefault": () => (/* binding */ __importDefault),
|
|
39
|
-
/* harmony export */ "__importStar": () => (/* binding */ __importStar),
|
|
40
|
-
/* harmony export */ "__makeTemplateObject": () => (/* binding */ __makeTemplateObject),
|
|
41
|
-
/* harmony export */ "__metadata": () => (/* binding */ __metadata),
|
|
42
|
-
/* harmony export */ "__param": () => (/* binding */ __param),
|
|
43
|
-
/* harmony export */ "__propKey": () => (/* binding */ __propKey),
|
|
44
|
-
/* harmony export */ "__read": () => (/* binding */ __read),
|
|
45
|
-
/* harmony export */ "__rest": () => (/* binding */ __rest),
|
|
46
|
-
/* harmony export */ "__runInitializers": () => (/* binding */ __runInitializers),
|
|
47
|
-
/* harmony export */ "__setFunctionName": () => (/* binding */ __setFunctionName),
|
|
48
|
-
/* harmony export */ "__spread": () => (/* binding */ __spread),
|
|
49
|
-
/* harmony export */ "__spreadArray": () => (/* binding */ __spreadArray),
|
|
50
|
-
/* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
|
|
51
|
-
/* harmony export */ "__values": () => (/* binding */ __values)
|
|
52
|
-
/* harmony export */ });
|
|
53
|
-
/******************************************************************************
|
|
54
|
-
Copyright (c) Microsoft Corporation.
|
|
55
|
-
|
|
56
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
57
|
-
purpose with or without fee is hereby granted.
|
|
58
|
-
|
|
59
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
60
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
61
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
62
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
63
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
64
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
65
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
66
|
-
***************************************************************************** */
|
|
67
|
-
/* global Reflect, Promise */
|
|
68
|
-
|
|
69
|
-
var extendStatics = function(d, b) {
|
|
70
|
-
extendStatics = Object.setPrototypeOf ||
|
|
71
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
72
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
73
|
-
return extendStatics(d, b);
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
function __extends(d, b) {
|
|
77
|
-
if (typeof b !== "function" && b !== null)
|
|
78
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
79
|
-
extendStatics(d, b);
|
|
80
|
-
function __() { this.constructor = d; }
|
|
81
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
var __assign = function() {
|
|
85
|
-
__assign = Object.assign || function __assign(t) {
|
|
86
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
87
|
-
s = arguments[i];
|
|
88
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
}
|
|
92
|
-
return __assign.apply(this, arguments);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function __rest(s, e) {
|
|
96
|
-
var t = {};
|
|
97
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
98
|
-
t[p] = s[p];
|
|
99
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
100
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
101
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
102
|
-
t[p[i]] = s[p[i]];
|
|
103
|
-
}
|
|
104
|
-
return t;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function __decorate(decorators, target, key, desc) {
|
|
108
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
109
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
110
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
111
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function __param(paramIndex, decorator) {
|
|
115
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
119
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
120
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
121
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
122
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
123
|
-
var _, done = false;
|
|
124
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
125
|
-
var context = {};
|
|
126
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
127
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
128
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
129
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
130
|
-
if (kind === "accessor") {
|
|
131
|
-
if (result === void 0) continue;
|
|
132
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
133
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
|
134
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
|
135
|
-
if (_ = accept(result.init)) initializers.push(_);
|
|
136
|
-
}
|
|
137
|
-
else if (_ = accept(result)) {
|
|
138
|
-
if (kind === "field") initializers.push(_);
|
|
139
|
-
else descriptor[key] = _;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
143
|
-
done = true;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
147
|
-
var useValue = arguments.length > 2;
|
|
148
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
149
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
150
|
-
}
|
|
151
|
-
return useValue ? value : void 0;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
function __propKey(x) {
|
|
155
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
function __setFunctionName(f, name, prefix) {
|
|
159
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
160
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
function __metadata(metadataKey, metadataValue) {
|
|
164
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
168
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
169
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
170
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
171
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
172
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
173
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function __generator(thisArg, body) {
|
|
178
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
179
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
180
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
181
|
-
function step(op) {
|
|
182
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
183
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
184
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
185
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
186
|
-
switch (op[0]) {
|
|
187
|
-
case 0: case 1: t = op; break;
|
|
188
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
189
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
190
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
191
|
-
default:
|
|
192
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
193
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
194
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
195
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
196
|
-
if (t[2]) _.ops.pop();
|
|
197
|
-
_.trys.pop(); continue;
|
|
198
|
-
}
|
|
199
|
-
op = body.call(thisArg, _);
|
|
200
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
201
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
206
|
-
if (k2 === undefined) k2 = k;
|
|
207
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
208
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
209
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
210
|
-
}
|
|
211
|
-
Object.defineProperty(o, k2, desc);
|
|
212
|
-
}) : (function(o, m, k, k2) {
|
|
213
|
-
if (k2 === undefined) k2 = k;
|
|
214
|
-
o[k2] = m[k];
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
function __exportStar(m, o) {
|
|
218
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
function __values(o) {
|
|
222
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
223
|
-
if (m) return m.call(o);
|
|
224
|
-
if (o && typeof o.length === "number") return {
|
|
225
|
-
next: function () {
|
|
226
|
-
if (o && i >= o.length) o = void 0;
|
|
227
|
-
return { value: o && o[i++], done: !o };
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function __read(o, n) {
|
|
234
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
235
|
-
if (!m) return o;
|
|
236
|
-
var i = m.call(o), r, ar = [], e;
|
|
237
|
-
try {
|
|
238
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
239
|
-
}
|
|
240
|
-
catch (error) { e = { error: error }; }
|
|
241
|
-
finally {
|
|
242
|
-
try {
|
|
243
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
244
|
-
}
|
|
245
|
-
finally { if (e) throw e.error; }
|
|
246
|
-
}
|
|
247
|
-
return ar;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/** @deprecated */
|
|
251
|
-
function __spread() {
|
|
252
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
253
|
-
ar = ar.concat(__read(arguments[i]));
|
|
254
|
-
return ar;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/** @deprecated */
|
|
258
|
-
function __spreadArrays() {
|
|
259
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
260
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
261
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
262
|
-
r[k] = a[j];
|
|
263
|
-
return r;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
function __spreadArray(to, from, pack) {
|
|
267
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
268
|
-
if (ar || !(i in from)) {
|
|
269
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
270
|
-
ar[i] = from[i];
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
function __await(v) {
|
|
277
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
281
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
282
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
283
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
284
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
285
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
286
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
287
|
-
function fulfill(value) { resume("next", value); }
|
|
288
|
-
function reject(value) { resume("throw", value); }
|
|
289
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
function __asyncDelegator(o) {
|
|
293
|
-
var i, p;
|
|
294
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
295
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
function __asyncValues(o) {
|
|
299
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
300
|
-
var m = o[Symbol.asyncIterator], i;
|
|
301
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
302
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
303
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
function __makeTemplateObject(cooked, raw) {
|
|
307
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
308
|
-
return cooked;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
312
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
313
|
-
}) : function(o, v) {
|
|
314
|
-
o["default"] = v;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
function __importStar(mod) {
|
|
318
|
-
if (mod && mod.__esModule) return mod;
|
|
319
|
-
var result = {};
|
|
320
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
321
|
-
__setModuleDefault(result, mod);
|
|
322
|
-
return result;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
function __importDefault(mod) {
|
|
326
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
330
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
331
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
332
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
336
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
337
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
338
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
339
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
343
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
344
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
/***/ }),
|
|
349
|
-
|
|
350
15
|
/***/ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js":
|
|
351
16
|
/*!*************************************************************************************!*\
|
|
352
17
|
!*** ../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js ***!
|
|
@@ -355,7 +20,7 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
355
20
|
|
|
356
21
|
__webpack_require__.r(__webpack_exports__);
|
|
357
22
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
358
|
-
/* harmony export */
|
|
23
|
+
/* harmony export */ brickProceduralTexturePixelShader: () => (/* binding */ brickProceduralTexturePixelShader)
|
|
359
24
|
/* harmony export */ });
|
|
360
25
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
361
26
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -379,12 +44,12 @@ var brickProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
379
44
|
|
|
380
45
|
__webpack_require__.r(__webpack_exports__);
|
|
381
46
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
382
|
-
/* harmony export */
|
|
47
|
+
/* harmony export */ BrickProceduralTexture: () => (/* binding */ BrickProceduralTexture)
|
|
383
48
|
/* harmony export */ });
|
|
384
|
-
/* harmony import */ var
|
|
385
|
-
/* harmony import */ var
|
|
386
|
-
/* harmony import */ var
|
|
387
|
-
/* harmony import */ var
|
|
49
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
50
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
51
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
52
|
+
/* harmony import */ var _brickProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./brickProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js");
|
|
388
53
|
|
|
389
54
|
|
|
390
55
|
|
|
@@ -392,14 +57,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
392
57
|
|
|
393
58
|
|
|
394
59
|
var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
395
|
-
(0,
|
|
60
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(BrickProceduralTexture, _super);
|
|
396
61
|
function BrickProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
397
62
|
if (scene === void 0) { scene = null; }
|
|
398
63
|
var _this = _super.call(this, name, size, "brickProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
399
64
|
_this._numberOfBricksHeight = 15;
|
|
400
65
|
_this._numberOfBricksWidth = 5;
|
|
401
|
-
_this._jointColor = new
|
|
402
|
-
_this._brickColor = new
|
|
66
|
+
_this._jointColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.72, 0.72, 0.72);
|
|
67
|
+
_this._brickColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.77, 0.47, 0.4);
|
|
403
68
|
_this.updateShaderUniforms();
|
|
404
69
|
return _this;
|
|
405
70
|
}
|
|
@@ -458,7 +123,7 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
458
123
|
* @returns a serialized brick procedural texture object
|
|
459
124
|
*/
|
|
460
125
|
BrickProceduralTexture.prototype.serialize = function () {
|
|
461
|
-
var serializationObject =
|
|
126
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
462
127
|
serializationObject.customType = "BABYLON.BrickProceduralTexture";
|
|
463
128
|
return serializationObject;
|
|
464
129
|
};
|
|
@@ -470,25 +135,24 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
470
135
|
* @returns a parsed Brick Procedural Texture
|
|
471
136
|
*/
|
|
472
137
|
BrickProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
473
|
-
var texture =
|
|
138
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new BrickProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
474
139
|
return texture;
|
|
475
140
|
};
|
|
476
|
-
(0,
|
|
477
|
-
(0,
|
|
141
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
142
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
478
143
|
], BrickProceduralTexture.prototype, "numberOfBricksHeight", null);
|
|
479
|
-
(0,
|
|
480
|
-
(0,
|
|
144
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
145
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
481
146
|
], BrickProceduralTexture.prototype, "numberOfBricksWidth", null);
|
|
482
|
-
(0,
|
|
483
|
-
(0,
|
|
147
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
148
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
484
149
|
], BrickProceduralTexture.prototype, "jointColor", null);
|
|
485
|
-
(0,
|
|
486
|
-
(0,
|
|
150
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
151
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
487
152
|
], BrickProceduralTexture.prototype, "brickColor", null);
|
|
488
153
|
return BrickProceduralTexture;
|
|
489
|
-
}(
|
|
490
|
-
|
|
491
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.BrickProceduralTexture", BrickProceduralTexture);
|
|
154
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
155
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.BrickProceduralTexture", BrickProceduralTexture);
|
|
492
156
|
|
|
493
157
|
|
|
494
158
|
/***/ }),
|
|
@@ -501,7 +165,7 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
501
165
|
|
|
502
166
|
__webpack_require__.r(__webpack_exports__);
|
|
503
167
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
504
|
-
/* harmony export */
|
|
168
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _brickProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture)
|
|
505
169
|
/* harmony export */ });
|
|
506
170
|
/* harmony import */ var _brickProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./brickProceduralTexture */ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.js");
|
|
507
171
|
|
|
@@ -517,7 +181,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
517
181
|
|
|
518
182
|
__webpack_require__.r(__webpack_exports__);
|
|
519
183
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
520
|
-
/* harmony export */
|
|
184
|
+
/* harmony export */ cloudProceduralTexturePixelShader: () => (/* binding */ cloudProceduralTexturePixelShader)
|
|
521
185
|
/* harmony export */ });
|
|
522
186
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
523
187
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -541,12 +205,12 @@ var cloudProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
541
205
|
|
|
542
206
|
__webpack_require__.r(__webpack_exports__);
|
|
543
207
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
544
|
-
/* harmony export */
|
|
208
|
+
/* harmony export */ CloudProceduralTexture: () => (/* binding */ CloudProceduralTexture)
|
|
545
209
|
/* harmony export */ });
|
|
546
|
-
/* harmony import */ var
|
|
547
|
-
/* harmony import */ var
|
|
548
|
-
/* harmony import */ var
|
|
549
|
-
/* harmony import */ var
|
|
210
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
211
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
212
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
213
|
+
/* harmony import */ var _cloudProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cloudProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/cloud/cloudProceduralTexture.fragment.js");
|
|
550
214
|
|
|
551
215
|
|
|
552
216
|
|
|
@@ -554,12 +218,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
554
218
|
|
|
555
219
|
|
|
556
220
|
var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
557
|
-
(0,
|
|
221
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(CloudProceduralTexture, _super);
|
|
558
222
|
function CloudProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
559
223
|
if (scene === void 0) { scene = null; }
|
|
560
224
|
var _this = _super.call(this, name, size, "cloudProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
561
|
-
_this._skyColor = new
|
|
562
|
-
_this._cloudColor = new
|
|
225
|
+
_this._skyColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color4(0.15, 0.68, 1.0, 1.0);
|
|
226
|
+
_this._cloudColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color4(1, 1, 1, 1.0);
|
|
563
227
|
_this._amplitude = 1;
|
|
564
228
|
_this._numOctaves = 4;
|
|
565
229
|
_this.updateShaderUniforms();
|
|
@@ -620,7 +284,7 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
620
284
|
* @returns a serialized cloud procedural texture object
|
|
621
285
|
*/
|
|
622
286
|
CloudProceduralTexture.prototype.serialize = function () {
|
|
623
|
-
var serializationObject =
|
|
287
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
624
288
|
serializationObject.customType = "BABYLON.CloudProceduralTexture";
|
|
625
289
|
return serializationObject;
|
|
626
290
|
};
|
|
@@ -632,25 +296,24 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
632
296
|
* @returns a parsed Cloud Procedural Texture
|
|
633
297
|
*/
|
|
634
298
|
CloudProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
635
|
-
var texture =
|
|
299
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new CloudProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
636
300
|
return texture;
|
|
637
301
|
};
|
|
638
|
-
(0,
|
|
639
|
-
(0,
|
|
302
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
303
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor4)()
|
|
640
304
|
], CloudProceduralTexture.prototype, "skyColor", null);
|
|
641
|
-
(0,
|
|
642
|
-
(0,
|
|
305
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
306
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor4)()
|
|
643
307
|
], CloudProceduralTexture.prototype, "cloudColor", null);
|
|
644
|
-
(0,
|
|
645
|
-
(0,
|
|
308
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
309
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
646
310
|
], CloudProceduralTexture.prototype, "amplitude", null);
|
|
647
|
-
(0,
|
|
648
|
-
(0,
|
|
311
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
312
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
649
313
|
], CloudProceduralTexture.prototype, "numOctaves", null);
|
|
650
314
|
return CloudProceduralTexture;
|
|
651
|
-
}(
|
|
652
|
-
|
|
653
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.CloudProceduralTexture", CloudProceduralTexture);
|
|
315
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
316
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.CloudProceduralTexture", CloudProceduralTexture);
|
|
654
317
|
|
|
655
318
|
|
|
656
319
|
/***/ }),
|
|
@@ -663,7 +326,7 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
663
326
|
|
|
664
327
|
__webpack_require__.r(__webpack_exports__);
|
|
665
328
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
666
|
-
/* harmony export */
|
|
329
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _cloudProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.CloudProceduralTexture)
|
|
667
330
|
/* harmony export */ });
|
|
668
331
|
/* harmony import */ var _cloudProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloudProceduralTexture */ "../../../lts/proceduralTextures/dist/cloud/cloudProceduralTexture.js");
|
|
669
332
|
|
|
@@ -679,7 +342,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
679
342
|
|
|
680
343
|
__webpack_require__.r(__webpack_exports__);
|
|
681
344
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
682
|
-
/* harmony export */
|
|
345
|
+
/* harmony export */ fireProceduralTexturePixelShader: () => (/* binding */ fireProceduralTexturePixelShader)
|
|
683
346
|
/* harmony export */ });
|
|
684
347
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
685
348
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -703,12 +366,12 @@ var fireProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
703
366
|
|
|
704
367
|
__webpack_require__.r(__webpack_exports__);
|
|
705
368
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
706
|
-
/* harmony export */
|
|
369
|
+
/* harmony export */ FireProceduralTexture: () => (/* binding */ FireProceduralTexture)
|
|
707
370
|
/* harmony export */ });
|
|
708
|
-
/* harmony import */ var
|
|
709
|
-
/* harmony import */ var
|
|
710
|
-
/* harmony import */ var
|
|
711
|
-
/* harmony import */ var
|
|
371
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
372
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
373
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
374
|
+
/* harmony import */ var _fireProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fireProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/fire/fireProceduralTexture.fragment.js");
|
|
712
375
|
|
|
713
376
|
|
|
714
377
|
|
|
@@ -717,12 +380,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
717
380
|
|
|
718
381
|
|
|
719
382
|
var FireProceduralTexture = /** @class */ (function (_super) {
|
|
720
|
-
(0,
|
|
383
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(FireProceduralTexture, _super);
|
|
721
384
|
function FireProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
722
385
|
if (scene === void 0) { scene = null; }
|
|
723
386
|
var _this = _super.call(this, name, size, "fireProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
724
387
|
_this._time = 0.0;
|
|
725
|
-
_this._speed = new
|
|
388
|
+
_this._speed = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Vector2(0.5, 0.3);
|
|
726
389
|
_this._autoGenerateTime = true;
|
|
727
390
|
_this._alphaThreshold = 0.5;
|
|
728
391
|
_this._fireColors = FireProceduralTexture.RedFireColors;
|
|
@@ -750,28 +413,28 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
750
413
|
};
|
|
751
414
|
Object.defineProperty(FireProceduralTexture, "PurpleFireColors", {
|
|
752
415
|
get: function () {
|
|
753
|
-
return [new
|
|
416
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1.0, 0.9, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.1, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.9, 1.0)];
|
|
754
417
|
},
|
|
755
418
|
enumerable: false,
|
|
756
419
|
configurable: true
|
|
757
420
|
});
|
|
758
421
|
Object.defineProperty(FireProceduralTexture, "GreenFireColors", {
|
|
759
422
|
get: function () {
|
|
760
|
-
return [new
|
|
423
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.3, 0.4, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0)];
|
|
761
424
|
},
|
|
762
425
|
enumerable: false,
|
|
763
426
|
configurable: true
|
|
764
427
|
});
|
|
765
428
|
Object.defineProperty(FireProceduralTexture, "RedFireColors", {
|
|
766
429
|
get: function () {
|
|
767
|
-
return [new
|
|
430
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 0.0, 0.1), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1.0, 0.9, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.1, 0.1), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.9, 0.9)];
|
|
768
431
|
},
|
|
769
432
|
enumerable: false,
|
|
770
433
|
configurable: true
|
|
771
434
|
});
|
|
772
435
|
Object.defineProperty(FireProceduralTexture, "BlueFireColors", {
|
|
773
436
|
get: function () {
|
|
774
|
-
return [new
|
|
437
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.0, 0.5), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.0, 0.5), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.0, 0.2), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.2, 0.3), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.2, 0.9)];
|
|
775
438
|
},
|
|
776
439
|
enumerable: false,
|
|
777
440
|
configurable: true
|
|
@@ -835,7 +498,7 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
835
498
|
* @returns a serialized fire procedural texture object
|
|
836
499
|
*/
|
|
837
500
|
FireProceduralTexture.prototype.serialize = function () {
|
|
838
|
-
var serializationObject =
|
|
501
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
839
502
|
serializationObject.customType = "BABYLON.FireProceduralTexture";
|
|
840
503
|
serializationObject.fireColors = [];
|
|
841
504
|
for (var i = 0; i < this._fireColors.length; i++) {
|
|
@@ -851,30 +514,29 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
851
514
|
* @returns a parsed Fire Procedural Texture
|
|
852
515
|
*/
|
|
853
516
|
FireProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
854
|
-
var texture =
|
|
517
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new FireProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
855
518
|
var colors = [];
|
|
856
519
|
for (var i = 0; i < parsedTexture.fireColors.length; i++) {
|
|
857
|
-
colors.push(
|
|
520
|
+
colors.push(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3.FromArray(parsedTexture.fireColors[i]));
|
|
858
521
|
}
|
|
859
522
|
texture.fireColors = colors;
|
|
860
523
|
return texture;
|
|
861
524
|
};
|
|
862
|
-
(0,
|
|
863
|
-
(0,
|
|
525
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
526
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
864
527
|
], FireProceduralTexture.prototype, "autoGenerateTime", null);
|
|
865
|
-
(0,
|
|
866
|
-
(0,
|
|
528
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
529
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
867
530
|
], FireProceduralTexture.prototype, "time", null);
|
|
868
|
-
(0,
|
|
869
|
-
(0,
|
|
531
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
532
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsVector2)()
|
|
870
533
|
], FireProceduralTexture.prototype, "speed", null);
|
|
871
|
-
(0,
|
|
872
|
-
(0,
|
|
534
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
535
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
873
536
|
], FireProceduralTexture.prototype, "alphaThreshold", null);
|
|
874
537
|
return FireProceduralTexture;
|
|
875
|
-
}(
|
|
876
|
-
|
|
877
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.FireProceduralTexture", FireProceduralTexture);
|
|
538
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
539
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.FireProceduralTexture", FireProceduralTexture);
|
|
878
540
|
|
|
879
541
|
|
|
880
542
|
/***/ }),
|
|
@@ -887,7 +549,7 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
887
549
|
|
|
888
550
|
__webpack_require__.r(__webpack_exports__);
|
|
889
551
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
890
|
-
/* harmony export */
|
|
552
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _fireProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.FireProceduralTexture)
|
|
891
553
|
/* harmony export */ });
|
|
892
554
|
/* harmony import */ var _fireProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fireProceduralTexture */ "../../../lts/proceduralTextures/dist/fire/fireProceduralTexture.js");
|
|
893
555
|
|
|
@@ -903,7 +565,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
903
565
|
|
|
904
566
|
__webpack_require__.r(__webpack_exports__);
|
|
905
567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
906
|
-
/* harmony export */
|
|
568
|
+
/* harmony export */ grassProceduralTexturePixelShader: () => (/* binding */ grassProceduralTexturePixelShader)
|
|
907
569
|
/* harmony export */ });
|
|
908
570
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
909
571
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -927,12 +589,12 @@ var grassProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
927
589
|
|
|
928
590
|
__webpack_require__.r(__webpack_exports__);
|
|
929
591
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
930
|
-
/* harmony export */
|
|
592
|
+
/* harmony export */ GrassProceduralTexture: () => (/* binding */ GrassProceduralTexture)
|
|
931
593
|
/* harmony export */ });
|
|
932
|
-
/* harmony import */ var
|
|
933
|
-
/* harmony import */ var
|
|
934
|
-
/* harmony import */ var
|
|
935
|
-
/* harmony import */ var
|
|
594
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
595
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
596
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
597
|
+
/* harmony import */ var _grassProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./grassProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/grass/grassProceduralTexture.fragment.js");
|
|
936
598
|
|
|
937
599
|
|
|
938
600
|
|
|
@@ -940,12 +602,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
940
602
|
|
|
941
603
|
|
|
942
604
|
var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
943
|
-
(0,
|
|
605
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(GrassProceduralTexture, _super);
|
|
944
606
|
function GrassProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
945
607
|
if (scene === void 0) { scene = null; }
|
|
946
608
|
var _this = _super.call(this, name, size, "grassProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
947
|
-
_this._groundColor = new
|
|
948
|
-
_this._grassColors = [new
|
|
609
|
+
_this._groundColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1, 1, 1);
|
|
610
|
+
_this._grassColors = [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.29, 0.38, 0.02), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.36, 0.49, 0.09), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.51, 0.6, 0.28)];
|
|
949
611
|
_this.updateShaderUniforms();
|
|
950
612
|
return _this;
|
|
951
613
|
}
|
|
@@ -982,7 +644,7 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
982
644
|
* @returns a serialized grass procedural texture object
|
|
983
645
|
*/
|
|
984
646
|
GrassProceduralTexture.prototype.serialize = function () {
|
|
985
|
-
var serializationObject =
|
|
647
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
986
648
|
serializationObject.customType = "BABYLON.GrassProceduralTexture";
|
|
987
649
|
serializationObject.grassColors = [];
|
|
988
650
|
for (var i = 0; i < this._grassColors.length; i++) {
|
|
@@ -998,21 +660,20 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
998
660
|
* @returns a parsed Grass Procedural Texture
|
|
999
661
|
*/
|
|
1000
662
|
GrassProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1001
|
-
var texture =
|
|
663
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1002
664
|
var colors = [];
|
|
1003
665
|
for (var i = 0; i < parsedTexture.grassColors.length; i++) {
|
|
1004
|
-
colors.push(
|
|
666
|
+
colors.push(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3.FromArray(parsedTexture.grassColors[i]));
|
|
1005
667
|
}
|
|
1006
668
|
texture.grassColors = colors;
|
|
1007
669
|
return texture;
|
|
1008
670
|
};
|
|
1009
|
-
(0,
|
|
1010
|
-
(0,
|
|
671
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
672
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
1011
673
|
], GrassProceduralTexture.prototype, "groundColor", null);
|
|
1012
674
|
return GrassProceduralTexture;
|
|
1013
|
-
}(
|
|
1014
|
-
|
|
1015
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.GrassProceduralTexture", GrassProceduralTexture);
|
|
675
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
676
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.GrassProceduralTexture", GrassProceduralTexture);
|
|
1016
677
|
|
|
1017
678
|
|
|
1018
679
|
/***/ }),
|
|
@@ -1025,7 +686,7 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
1025
686
|
|
|
1026
687
|
__webpack_require__.r(__webpack_exports__);
|
|
1027
688
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1028
|
-
/* harmony export */
|
|
689
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _grassProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.GrassProceduralTexture)
|
|
1029
690
|
/* harmony export */ });
|
|
1030
691
|
/* harmony import */ var _grassProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./grassProceduralTexture */ "../../../lts/proceduralTextures/dist/grass/grassProceduralTexture.js");
|
|
1031
692
|
|
|
@@ -1041,16 +702,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1041
702
|
|
|
1042
703
|
__webpack_require__.r(__webpack_exports__);
|
|
1043
704
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1044
|
-
/* harmony export */
|
|
1045
|
-
/* harmony export */
|
|
1046
|
-
/* harmony export */
|
|
1047
|
-
/* harmony export */
|
|
1048
|
-
/* harmony export */
|
|
1049
|
-
/* harmony export */
|
|
1050
|
-
/* harmony export */
|
|
1051
|
-
/* harmony export */
|
|
1052
|
-
/* harmony export */
|
|
1053
|
-
/* harmony export */
|
|
705
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _brick_index__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture),
|
|
706
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _cloud_index__WEBPACK_IMPORTED_MODULE_1__.CloudProceduralTexture),
|
|
707
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _fire_index__WEBPACK_IMPORTED_MODULE_2__.FireProceduralTexture),
|
|
708
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _grass_index__WEBPACK_IMPORTED_MODULE_3__.GrassProceduralTexture),
|
|
709
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _marble_index__WEBPACK_IMPORTED_MODULE_4__.MarbleProceduralTexture),
|
|
710
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _normalMap_index__WEBPACK_IMPORTED_MODULE_5__.NormalMapProceduralTexture),
|
|
711
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _perlinNoise_index__WEBPACK_IMPORTED_MODULE_6__.PerlinNoiseProceduralTexture),
|
|
712
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _road_index__WEBPACK_IMPORTED_MODULE_7__.RoadProceduralTexture),
|
|
713
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _starfield_index__WEBPACK_IMPORTED_MODULE_8__.StarfieldProceduralTexture),
|
|
714
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _wood_index__WEBPACK_IMPORTED_MODULE_9__.WoodProceduralTexture)
|
|
1054
715
|
/* harmony export */ });
|
|
1055
716
|
/* harmony import */ var _brick_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./brick/index */ "../../../lts/proceduralTextures/dist/brick/index.js");
|
|
1056
717
|
/* harmony import */ var _cloud_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cloud/index */ "../../../lts/proceduralTextures/dist/cloud/index.js");
|
|
@@ -1085,16 +746,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1085
746
|
|
|
1086
747
|
__webpack_require__.r(__webpack_exports__);
|
|
1087
748
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1088
|
-
/* harmony export */
|
|
1089
|
-
/* harmony export */
|
|
1090
|
-
/* harmony export */
|
|
1091
|
-
/* harmony export */
|
|
1092
|
-
/* harmony export */
|
|
1093
|
-
/* harmony export */
|
|
1094
|
-
/* harmony export */
|
|
1095
|
-
/* harmony export */
|
|
1096
|
-
/* harmony export */
|
|
1097
|
-
/* harmony export */
|
|
749
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture),
|
|
750
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.CloudProceduralTexture),
|
|
751
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.FireProceduralTexture),
|
|
752
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.GrassProceduralTexture),
|
|
753
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.MarbleProceduralTexture),
|
|
754
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.NormalMapProceduralTexture),
|
|
755
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.PerlinNoiseProceduralTexture),
|
|
756
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.RoadProceduralTexture),
|
|
757
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.StarfieldProceduralTexture),
|
|
758
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.WoodProceduralTexture)
|
|
1098
759
|
/* harmony export */ });
|
|
1099
760
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../index */ "../../../lts/proceduralTextures/dist/index.js");
|
|
1100
761
|
/* eslint-disable import/no-internal-modules */
|
|
@@ -1125,7 +786,7 @@ if (typeof globalObject !== "undefined") {
|
|
|
1125
786
|
|
|
1126
787
|
__webpack_require__.r(__webpack_exports__);
|
|
1127
788
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1128
|
-
/* harmony export */
|
|
789
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _marbleProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.MarbleProceduralTexture)
|
|
1129
790
|
/* harmony export */ });
|
|
1130
791
|
/* harmony import */ var _marbleProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./marbleProceduralTexture */ "../../../lts/proceduralTextures/dist/marble/marbleProceduralTexture.js");
|
|
1131
792
|
|
|
@@ -1141,7 +802,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1141
802
|
|
|
1142
803
|
__webpack_require__.r(__webpack_exports__);
|
|
1143
804
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1144
|
-
/* harmony export */
|
|
805
|
+
/* harmony export */ marbleProceduralTexturePixelShader: () => (/* binding */ marbleProceduralTexturePixelShader)
|
|
1145
806
|
/* harmony export */ });
|
|
1146
807
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1147
808
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1165,12 +826,12 @@ var marbleProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1165
826
|
|
|
1166
827
|
__webpack_require__.r(__webpack_exports__);
|
|
1167
828
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1168
|
-
/* harmony export */
|
|
829
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* binding */ MarbleProceduralTexture)
|
|
1169
830
|
/* harmony export */ });
|
|
1170
|
-
/* harmony import */ var
|
|
1171
|
-
/* harmony import */ var
|
|
1172
|
-
/* harmony import */ var
|
|
1173
|
-
/* harmony import */ var
|
|
831
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
832
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
833
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
834
|
+
/* harmony import */ var _marbleProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./marbleProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/marble/marbleProceduralTexture.fragment.js");
|
|
1174
835
|
|
|
1175
836
|
|
|
1176
837
|
|
|
@@ -1178,14 +839,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1178
839
|
|
|
1179
840
|
|
|
1180
841
|
var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
1181
|
-
(0,
|
|
842
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(MarbleProceduralTexture, _super);
|
|
1182
843
|
function MarbleProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1183
844
|
if (scene === void 0) { scene = null; }
|
|
1184
845
|
var _this = _super.call(this, name, size, "marbleProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1185
846
|
_this._numberOfTilesHeight = 3;
|
|
1186
847
|
_this._numberOfTilesWidth = 3;
|
|
1187
848
|
_this._amplitude = 9.0;
|
|
1188
|
-
_this._jointColor = new
|
|
849
|
+
_this._jointColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.72, 0.72, 0.72);
|
|
1189
850
|
_this.updateShaderUniforms();
|
|
1190
851
|
return _this;
|
|
1191
852
|
}
|
|
@@ -1244,7 +905,7 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1244
905
|
* @returns a serialized marble procedural texture object
|
|
1245
906
|
*/
|
|
1246
907
|
MarbleProceduralTexture.prototype.serialize = function () {
|
|
1247
|
-
var serializationObject =
|
|
908
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1248
909
|
serializationObject.customType = "BABYLON.MarbleProceduralTexture";
|
|
1249
910
|
return serializationObject;
|
|
1250
911
|
};
|
|
@@ -1256,25 +917,24 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1256
917
|
* @returns a parsed Marble Procedural Texture
|
|
1257
918
|
*/
|
|
1258
919
|
MarbleProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1259
|
-
var texture =
|
|
920
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new MarbleProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1260
921
|
return texture;
|
|
1261
922
|
};
|
|
1262
|
-
(0,
|
|
1263
|
-
(0,
|
|
923
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
924
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1264
925
|
], MarbleProceduralTexture.prototype, "numberOfTilesHeight", null);
|
|
1265
|
-
(0,
|
|
1266
|
-
(0,
|
|
926
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
927
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1267
928
|
], MarbleProceduralTexture.prototype, "amplitude", null);
|
|
1268
|
-
(0,
|
|
1269
|
-
(0,
|
|
929
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
930
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1270
931
|
], MarbleProceduralTexture.prototype, "numberOfTilesWidth", null);
|
|
1271
|
-
(0,
|
|
1272
|
-
(0,
|
|
932
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
933
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1273
934
|
], MarbleProceduralTexture.prototype, "jointColor", null);
|
|
1274
935
|
return MarbleProceduralTexture;
|
|
1275
|
-
}(
|
|
1276
|
-
|
|
1277
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.MarbleProceduralTexture", MarbleProceduralTexture);
|
|
936
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
937
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.MarbleProceduralTexture", MarbleProceduralTexture);
|
|
1278
938
|
|
|
1279
939
|
|
|
1280
940
|
/***/ }),
|
|
@@ -1287,7 +947,7 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1287
947
|
|
|
1288
948
|
__webpack_require__.r(__webpack_exports__);
|
|
1289
949
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1290
|
-
/* harmony export */
|
|
950
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _normalMapProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.NormalMapProceduralTexture)
|
|
1291
951
|
/* harmony export */ });
|
|
1292
952
|
/* harmony import */ var _normalMapProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./normalMapProceduralTexture */ "../../../lts/proceduralTextures/dist/normalMap/normalMapProceduralTexture.js");
|
|
1293
953
|
|
|
@@ -1303,7 +963,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1303
963
|
|
|
1304
964
|
__webpack_require__.r(__webpack_exports__);
|
|
1305
965
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1306
|
-
/* harmony export */
|
|
966
|
+
/* harmony export */ normalMapProceduralTexturePixelShader: () => (/* binding */ normalMapProceduralTexturePixelShader)
|
|
1307
967
|
/* harmony export */ });
|
|
1308
968
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1309
969
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1327,19 +987,19 @@ var normalMapProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1327
987
|
|
|
1328
988
|
__webpack_require__.r(__webpack_exports__);
|
|
1329
989
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1330
|
-
/* harmony export */
|
|
990
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* binding */ NormalMapProceduralTexture)
|
|
1331
991
|
/* harmony export */ });
|
|
1332
|
-
/* harmony import */ var
|
|
1333
|
-
/* harmony import */ var
|
|
1334
|
-
/* harmony import */ var
|
|
1335
|
-
/* harmony import */ var
|
|
992
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
993
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
994
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
995
|
+
/* harmony import */ var _normalMapProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./normalMapProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/normalMap/normalMapProceduralTexture.fragment.js");
|
|
1336
996
|
|
|
1337
997
|
|
|
1338
998
|
|
|
1339
999
|
|
|
1340
1000
|
|
|
1341
1001
|
var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
1342
|
-
(0,
|
|
1002
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(NormalMapProceduralTexture, _super);
|
|
1343
1003
|
function NormalMapProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1344
1004
|
if (scene === void 0) { scene = null; }
|
|
1345
1005
|
var _this = _super.call(this, name, size, "normalMapProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1380,7 +1040,7 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1380
1040
|
* @returns a serialized normal map procedural texture object
|
|
1381
1041
|
*/
|
|
1382
1042
|
NormalMapProceduralTexture.prototype.serialize = function () {
|
|
1383
|
-
var serializationObject =
|
|
1043
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1384
1044
|
serializationObject.customType = "BABYLON.NormalMapProceduralTexture";
|
|
1385
1045
|
return serializationObject;
|
|
1386
1046
|
};
|
|
@@ -1392,16 +1052,15 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1392
1052
|
* @returns a parsed Normal Map Procedural Texture
|
|
1393
1053
|
*/
|
|
1394
1054
|
NormalMapProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1395
|
-
var texture =
|
|
1055
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new NormalMapProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1396
1056
|
return texture;
|
|
1397
1057
|
};
|
|
1398
|
-
(0,
|
|
1399
|
-
(0,
|
|
1058
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1059
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsTexture)()
|
|
1400
1060
|
], NormalMapProceduralTexture.prototype, "baseTexture", null);
|
|
1401
1061
|
return NormalMapProceduralTexture;
|
|
1402
|
-
}(
|
|
1403
|
-
|
|
1404
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.NormalMapProceduralTexture", NormalMapProceduralTexture);
|
|
1062
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1063
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.NormalMapProceduralTexture", NormalMapProceduralTexture);
|
|
1405
1064
|
|
|
1406
1065
|
|
|
1407
1066
|
/***/ }),
|
|
@@ -1414,7 +1073,7 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1414
1073
|
|
|
1415
1074
|
__webpack_require__.r(__webpack_exports__);
|
|
1416
1075
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1417
|
-
/* harmony export */
|
|
1076
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _perlinNoiseProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.PerlinNoiseProceduralTexture)
|
|
1418
1077
|
/* harmony export */ });
|
|
1419
1078
|
/* harmony import */ var _perlinNoiseProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./perlinNoiseProceduralTexture */ "../../../lts/proceduralTextures/dist/perlinNoise/perlinNoiseProceduralTexture.js");
|
|
1420
1079
|
|
|
@@ -1430,7 +1089,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1430
1089
|
|
|
1431
1090
|
__webpack_require__.r(__webpack_exports__);
|
|
1432
1091
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1433
|
-
/* harmony export */
|
|
1092
|
+
/* harmony export */ perlinNoiseProceduralTexturePixelShader: () => (/* binding */ perlinNoiseProceduralTexturePixelShader)
|
|
1434
1093
|
/* harmony export */ });
|
|
1435
1094
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1436
1095
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1454,19 +1113,19 @@ var perlinNoiseProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1454
1113
|
|
|
1455
1114
|
__webpack_require__.r(__webpack_exports__);
|
|
1456
1115
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1457
|
-
/* harmony export */
|
|
1116
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* binding */ PerlinNoiseProceduralTexture)
|
|
1458
1117
|
/* harmony export */ });
|
|
1459
|
-
/* harmony import */ var
|
|
1460
|
-
/* harmony import */ var
|
|
1461
|
-
/* harmony import */ var
|
|
1462
|
-
/* harmony import */ var
|
|
1118
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1119
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1120
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1121
|
+
/* harmony import */ var _perlinNoiseProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./perlinNoiseProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/perlinNoise/perlinNoiseProceduralTexture.fragment.js");
|
|
1463
1122
|
|
|
1464
1123
|
|
|
1465
1124
|
|
|
1466
1125
|
|
|
1467
1126
|
|
|
1468
1127
|
var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
1469
|
-
(0,
|
|
1128
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(PerlinNoiseProceduralTexture, _super);
|
|
1470
1129
|
function PerlinNoiseProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1471
1130
|
if (scene === void 0) { scene = null; }
|
|
1472
1131
|
var _this = _super.call(this, name, size, "perlinNoiseProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1501,7 +1160,7 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1501
1160
|
* @returns a serialized perlin noise procedural texture object
|
|
1502
1161
|
*/
|
|
1503
1162
|
PerlinNoiseProceduralTexture.prototype.serialize = function () {
|
|
1504
|
-
var serializationObject =
|
|
1163
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1505
1164
|
serializationObject.customType = "BABYLON.PerlinNoiseProceduralTexture";
|
|
1506
1165
|
return serializationObject;
|
|
1507
1166
|
};
|
|
@@ -1513,22 +1172,21 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1513
1172
|
* @returns a parsed Perlin Noise Procedural Texture
|
|
1514
1173
|
*/
|
|
1515
1174
|
PerlinNoiseProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1516
|
-
var texture =
|
|
1175
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new PerlinNoiseProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1517
1176
|
return texture;
|
|
1518
1177
|
};
|
|
1519
|
-
(0,
|
|
1520
|
-
(0,
|
|
1178
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1179
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1521
1180
|
], PerlinNoiseProceduralTexture.prototype, "time", void 0);
|
|
1522
|
-
(0,
|
|
1523
|
-
(0,
|
|
1181
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1182
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1524
1183
|
], PerlinNoiseProceduralTexture.prototype, "timeScale", void 0);
|
|
1525
|
-
(0,
|
|
1526
|
-
(0,
|
|
1184
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1185
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1527
1186
|
], PerlinNoiseProceduralTexture.prototype, "translationSpeed", void 0);
|
|
1528
1187
|
return PerlinNoiseProceduralTexture;
|
|
1529
|
-
}(
|
|
1530
|
-
|
|
1531
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.PerlinNoiseProceduralTexture", PerlinNoiseProceduralTexture);
|
|
1188
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1189
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.PerlinNoiseProceduralTexture", PerlinNoiseProceduralTexture);
|
|
1532
1190
|
|
|
1533
1191
|
|
|
1534
1192
|
/***/ }),
|
|
@@ -1541,7 +1199,7 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1541
1199
|
|
|
1542
1200
|
__webpack_require__.r(__webpack_exports__);
|
|
1543
1201
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1544
|
-
/* harmony export */
|
|
1202
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _roadProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.RoadProceduralTexture)
|
|
1545
1203
|
/* harmony export */ });
|
|
1546
1204
|
/* harmony import */ var _roadProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./roadProceduralTexture */ "../../../lts/proceduralTextures/dist/road/roadProceduralTexture.js");
|
|
1547
1205
|
|
|
@@ -1557,7 +1215,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1557
1215
|
|
|
1558
1216
|
__webpack_require__.r(__webpack_exports__);
|
|
1559
1217
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1560
|
-
/* harmony export */
|
|
1218
|
+
/* harmony export */ roadProceduralTexturePixelShader: () => (/* binding */ roadProceduralTexturePixelShader)
|
|
1561
1219
|
/* harmony export */ });
|
|
1562
1220
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1563
1221
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1581,12 +1239,12 @@ var roadProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1581
1239
|
|
|
1582
1240
|
__webpack_require__.r(__webpack_exports__);
|
|
1583
1241
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1584
|
-
/* harmony export */
|
|
1242
|
+
/* harmony export */ RoadProceduralTexture: () => (/* binding */ RoadProceduralTexture)
|
|
1585
1243
|
/* harmony export */ });
|
|
1586
|
-
/* harmony import */ var
|
|
1587
|
-
/* harmony import */ var
|
|
1588
|
-
/* harmony import */ var
|
|
1589
|
-
/* harmony import */ var
|
|
1244
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1245
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1246
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1247
|
+
/* harmony import */ var _roadProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./roadProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/road/roadProceduralTexture.fragment.js");
|
|
1590
1248
|
|
|
1591
1249
|
|
|
1592
1250
|
|
|
@@ -1594,11 +1252,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1594
1252
|
|
|
1595
1253
|
|
|
1596
1254
|
var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
1597
|
-
(0,
|
|
1255
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(RoadProceduralTexture, _super);
|
|
1598
1256
|
function RoadProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1599
1257
|
if (scene === void 0) { scene = null; }
|
|
1600
1258
|
var _this = _super.call(this, name, size, "roadProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1601
|
-
_this._roadColor = new
|
|
1259
|
+
_this._roadColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.53, 0.53, 0.53);
|
|
1602
1260
|
_this.updateShaderUniforms();
|
|
1603
1261
|
return _this;
|
|
1604
1262
|
}
|
|
@@ -1621,7 +1279,7 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1621
1279
|
* @returns a serialized road procedural texture object
|
|
1622
1280
|
*/
|
|
1623
1281
|
RoadProceduralTexture.prototype.serialize = function () {
|
|
1624
|
-
var serializationObject =
|
|
1282
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1625
1283
|
serializationObject.customType = "BABYLON.RoadProceduralTexture";
|
|
1626
1284
|
return serializationObject;
|
|
1627
1285
|
};
|
|
@@ -1633,16 +1291,15 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1633
1291
|
* @returns a parsed Road Procedural Texture
|
|
1634
1292
|
*/
|
|
1635
1293
|
RoadProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1636
|
-
var texture =
|
|
1294
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new RoadProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1637
1295
|
return texture;
|
|
1638
1296
|
};
|
|
1639
|
-
(0,
|
|
1640
|
-
(0,
|
|
1297
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1298
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
1641
1299
|
], RoadProceduralTexture.prototype, "roadColor", null);
|
|
1642
1300
|
return RoadProceduralTexture;
|
|
1643
|
-
}(
|
|
1644
|
-
|
|
1645
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.RoadProceduralTexture", RoadProceduralTexture);
|
|
1301
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1302
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.RoadProceduralTexture", RoadProceduralTexture);
|
|
1646
1303
|
|
|
1647
1304
|
|
|
1648
1305
|
/***/ }),
|
|
@@ -1655,7 +1312,7 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1655
1312
|
|
|
1656
1313
|
__webpack_require__.r(__webpack_exports__);
|
|
1657
1314
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1658
|
-
/* harmony export */
|
|
1315
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _starfieldProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.StarfieldProceduralTexture)
|
|
1659
1316
|
/* harmony export */ });
|
|
1660
1317
|
/* harmony import */ var _starfieldProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./starfieldProceduralTexture */ "../../../lts/proceduralTextures/dist/starfield/starfieldProceduralTexture.js");
|
|
1661
1318
|
|
|
@@ -1671,7 +1328,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1671
1328
|
|
|
1672
1329
|
__webpack_require__.r(__webpack_exports__);
|
|
1673
1330
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1674
|
-
/* harmony export */
|
|
1331
|
+
/* harmony export */ starfieldProceduralTexturePixelShader: () => (/* binding */ starfieldProceduralTexturePixelShader)
|
|
1675
1332
|
/* harmony export */ });
|
|
1676
1333
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1677
1334
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1695,19 +1352,19 @@ var starfieldProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1695
1352
|
|
|
1696
1353
|
__webpack_require__.r(__webpack_exports__);
|
|
1697
1354
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1698
|
-
/* harmony export */
|
|
1355
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* binding */ StarfieldProceduralTexture)
|
|
1699
1356
|
/* harmony export */ });
|
|
1700
|
-
/* harmony import */ var
|
|
1701
|
-
/* harmony import */ var
|
|
1702
|
-
/* harmony import */ var
|
|
1703
|
-
/* harmony import */ var
|
|
1357
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1358
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1359
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1360
|
+
/* harmony import */ var _starfieldProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./starfieldProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/starfield/starfieldProceduralTexture.fragment.js");
|
|
1704
1361
|
|
|
1705
1362
|
|
|
1706
1363
|
|
|
1707
1364
|
|
|
1708
1365
|
|
|
1709
1366
|
var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
1710
|
-
(0,
|
|
1367
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(StarfieldProceduralTexture, _super);
|
|
1711
1368
|
function StarfieldProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1712
1369
|
if (scene === void 0) { scene = null; }
|
|
1713
1370
|
var _this = _super.call(this, name, size, "starfieldProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1864,7 +1521,7 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1864
1521
|
* @returns a serialized starfield procedural texture object
|
|
1865
1522
|
*/
|
|
1866
1523
|
StarfieldProceduralTexture.prototype.serialize = function () {
|
|
1867
|
-
var serializationObject =
|
|
1524
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1868
1525
|
serializationObject.customType = "BABYLON.StarfieldProceduralTexture";
|
|
1869
1526
|
return serializationObject;
|
|
1870
1527
|
};
|
|
@@ -1876,46 +1533,45 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1876
1533
|
* @returns a parsed Starfield Procedural Texture
|
|
1877
1534
|
*/
|
|
1878
1535
|
StarfieldProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1879
|
-
var texture =
|
|
1536
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new StarfieldProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1880
1537
|
return texture;
|
|
1881
1538
|
};
|
|
1882
|
-
(0,
|
|
1883
|
-
(0,
|
|
1539
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1540
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1884
1541
|
], StarfieldProceduralTexture.prototype, "time", null);
|
|
1885
|
-
(0,
|
|
1886
|
-
(0,
|
|
1542
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1543
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1887
1544
|
], StarfieldProceduralTexture.prototype, "alpha", null);
|
|
1888
|
-
(0,
|
|
1889
|
-
(0,
|
|
1545
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1546
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1890
1547
|
], StarfieldProceduralTexture.prototype, "beta", null);
|
|
1891
|
-
(0,
|
|
1892
|
-
(0,
|
|
1548
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1549
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1893
1550
|
], StarfieldProceduralTexture.prototype, "formuparam", null);
|
|
1894
|
-
(0,
|
|
1895
|
-
(0,
|
|
1551
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1552
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1896
1553
|
], StarfieldProceduralTexture.prototype, "stepsize", null);
|
|
1897
|
-
(0,
|
|
1898
|
-
(0,
|
|
1554
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1555
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1899
1556
|
], StarfieldProceduralTexture.prototype, "zoom", null);
|
|
1900
|
-
(0,
|
|
1901
|
-
(0,
|
|
1557
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1558
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1902
1559
|
], StarfieldProceduralTexture.prototype, "tile", null);
|
|
1903
|
-
(0,
|
|
1904
|
-
(0,
|
|
1560
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1561
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1905
1562
|
], StarfieldProceduralTexture.prototype, "brightness", null);
|
|
1906
|
-
(0,
|
|
1907
|
-
(0,
|
|
1563
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1564
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1908
1565
|
], StarfieldProceduralTexture.prototype, "darkmatter", null);
|
|
1909
|
-
(0,
|
|
1910
|
-
(0,
|
|
1566
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1567
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1911
1568
|
], StarfieldProceduralTexture.prototype, "distfading", null);
|
|
1912
|
-
(0,
|
|
1913
|
-
(0,
|
|
1569
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1570
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1914
1571
|
], StarfieldProceduralTexture.prototype, "saturation", null);
|
|
1915
1572
|
return StarfieldProceduralTexture;
|
|
1916
|
-
}(
|
|
1917
|
-
|
|
1918
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.StarfieldProceduralTexture", StarfieldProceduralTexture);
|
|
1573
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1574
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.StarfieldProceduralTexture", StarfieldProceduralTexture);
|
|
1919
1575
|
|
|
1920
1576
|
|
|
1921
1577
|
/***/ }),
|
|
@@ -1928,7 +1584,7 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1928
1584
|
|
|
1929
1585
|
__webpack_require__.r(__webpack_exports__);
|
|
1930
1586
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1931
|
-
/* harmony export */
|
|
1587
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _woodProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.WoodProceduralTexture)
|
|
1932
1588
|
/* harmony export */ });
|
|
1933
1589
|
/* harmony import */ var _woodProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./woodProceduralTexture */ "../../../lts/proceduralTextures/dist/wood/woodProceduralTexture.js");
|
|
1934
1590
|
|
|
@@ -1944,7 +1600,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1944
1600
|
|
|
1945
1601
|
__webpack_require__.r(__webpack_exports__);
|
|
1946
1602
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1947
|
-
/* harmony export */
|
|
1603
|
+
/* harmony export */ woodProceduralTexturePixelShader: () => (/* binding */ woodProceduralTexturePixelShader)
|
|
1948
1604
|
/* harmony export */ });
|
|
1949
1605
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1950
1606
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1968,12 +1624,12 @@ var woodProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1968
1624
|
|
|
1969
1625
|
__webpack_require__.r(__webpack_exports__);
|
|
1970
1626
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1971
|
-
/* harmony export */
|
|
1627
|
+
/* harmony export */ WoodProceduralTexture: () => (/* binding */ WoodProceduralTexture)
|
|
1972
1628
|
/* harmony export */ });
|
|
1973
|
-
/* harmony import */ var
|
|
1974
|
-
/* harmony import */ var
|
|
1975
|
-
/* harmony import */ var
|
|
1976
|
-
/* harmony import */ var
|
|
1629
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1630
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1631
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1632
|
+
/* harmony import */ var _woodProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./woodProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/wood/woodProceduralTexture.fragment.js");
|
|
1977
1633
|
|
|
1978
1634
|
|
|
1979
1635
|
|
|
@@ -1981,12 +1637,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1981
1637
|
|
|
1982
1638
|
|
|
1983
1639
|
var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
1984
|
-
(0,
|
|
1640
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(WoodProceduralTexture, _super);
|
|
1985
1641
|
function WoodProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1986
1642
|
if (scene === void 0) { scene = null; }
|
|
1987
1643
|
var _this = _super.call(this, name, size, "woodProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1988
1644
|
_this._ampScale = 100.0;
|
|
1989
|
-
_this._woodColor = new
|
|
1645
|
+
_this._woodColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.32, 0.17, 0.09);
|
|
1990
1646
|
_this.updateShaderUniforms();
|
|
1991
1647
|
return _this;
|
|
1992
1648
|
}
|
|
@@ -2021,7 +1677,7 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2021
1677
|
* @returns a serialized wood procedural texture object
|
|
2022
1678
|
*/
|
|
2023
1679
|
WoodProceduralTexture.prototype.serialize = function () {
|
|
2024
|
-
var serializationObject =
|
|
1680
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
2025
1681
|
serializationObject.customType = "BABYLON.WoodProceduralTexture";
|
|
2026
1682
|
return serializationObject;
|
|
2027
1683
|
};
|
|
@@ -2033,19 +1689,18 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2033
1689
|
* @returns a parsed Wood Procedural Texture
|
|
2034
1690
|
*/
|
|
2035
1691
|
WoodProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
2036
|
-
var texture =
|
|
1692
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new WoodProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
2037
1693
|
return texture;
|
|
2038
1694
|
};
|
|
2039
|
-
(0,
|
|
2040
|
-
(0,
|
|
1695
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1696
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
2041
1697
|
], WoodProceduralTexture.prototype, "ampScale", null);
|
|
2042
|
-
(0,
|
|
2043
|
-
(0,
|
|
1698
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1699
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
2044
1700
|
], WoodProceduralTexture.prototype, "woodColor", null);
|
|
2045
1701
|
return WoodProceduralTexture;
|
|
2046
|
-
}(
|
|
2047
|
-
|
|
2048
|
-
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.RegisterClass)("BABYLON.WoodProceduralTexture", WoodProceduralTexture);
|
|
1702
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1703
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.WoodProceduralTexture", WoodProceduralTexture);
|
|
2049
1704
|
|
|
2050
1705
|
|
|
2051
1706
|
/***/ }),
|
|
@@ -2058,6 +1713,370 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2058
1713
|
|
|
2059
1714
|
module.exports = __WEBPACK_EXTERNAL_MODULE_core_Misc_decorators__;
|
|
2060
1715
|
|
|
1716
|
+
/***/ }),
|
|
1717
|
+
|
|
1718
|
+
/***/ "../../../../node_modules/tslib/tslib.es6.mjs":
|
|
1719
|
+
/*!****************************************************!*\
|
|
1720
|
+
!*** ../../../../node_modules/tslib/tslib.es6.mjs ***!
|
|
1721
|
+
\****************************************************/
|
|
1722
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1723
|
+
|
|
1724
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1725
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1726
|
+
/* harmony export */ __assign: () => (/* binding */ __assign),
|
|
1727
|
+
/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),
|
|
1728
|
+
/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),
|
|
1729
|
+
/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),
|
|
1730
|
+
/* harmony export */ __await: () => (/* binding */ __await),
|
|
1731
|
+
/* harmony export */ __awaiter: () => (/* binding */ __awaiter),
|
|
1732
|
+
/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),
|
|
1733
|
+
/* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn),
|
|
1734
|
+
/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),
|
|
1735
|
+
/* harmony export */ __createBinding: () => (/* binding */ __createBinding),
|
|
1736
|
+
/* harmony export */ __decorate: () => (/* binding */ __decorate),
|
|
1737
|
+
/* harmony export */ __esDecorate: () => (/* binding */ __esDecorate),
|
|
1738
|
+
/* harmony export */ __exportStar: () => (/* binding */ __exportStar),
|
|
1739
|
+
/* harmony export */ __extends: () => (/* binding */ __extends),
|
|
1740
|
+
/* harmony export */ __generator: () => (/* binding */ __generator),
|
|
1741
|
+
/* harmony export */ __importDefault: () => (/* binding */ __importDefault),
|
|
1742
|
+
/* harmony export */ __importStar: () => (/* binding */ __importStar),
|
|
1743
|
+
/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),
|
|
1744
|
+
/* harmony export */ __metadata: () => (/* binding */ __metadata),
|
|
1745
|
+
/* harmony export */ __param: () => (/* binding */ __param),
|
|
1746
|
+
/* harmony export */ __propKey: () => (/* binding */ __propKey),
|
|
1747
|
+
/* harmony export */ __read: () => (/* binding */ __read),
|
|
1748
|
+
/* harmony export */ __rest: () => (/* binding */ __rest),
|
|
1749
|
+
/* harmony export */ __runInitializers: () => (/* binding */ __runInitializers),
|
|
1750
|
+
/* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName),
|
|
1751
|
+
/* harmony export */ __spread: () => (/* binding */ __spread),
|
|
1752
|
+
/* harmony export */ __spreadArray: () => (/* binding */ __spreadArray),
|
|
1753
|
+
/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),
|
|
1754
|
+
/* harmony export */ __values: () => (/* binding */ __values),
|
|
1755
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1756
|
+
/* harmony export */ });
|
|
1757
|
+
/******************************************************************************
|
|
1758
|
+
Copyright (c) Microsoft Corporation.
|
|
1759
|
+
|
|
1760
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1761
|
+
purpose with or without fee is hereby granted.
|
|
1762
|
+
|
|
1763
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1764
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1765
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1766
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1767
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1768
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1769
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1770
|
+
***************************************************************************** */
|
|
1771
|
+
/* global Reflect, Promise */
|
|
1772
|
+
|
|
1773
|
+
var extendStatics = function(d, b) {
|
|
1774
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1775
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1776
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1777
|
+
return extendStatics(d, b);
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
function __extends(d, b) {
|
|
1781
|
+
if (typeof b !== "function" && b !== null)
|
|
1782
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1783
|
+
extendStatics(d, b);
|
|
1784
|
+
function __() { this.constructor = d; }
|
|
1785
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
var __assign = function() {
|
|
1789
|
+
__assign = Object.assign || function __assign(t) {
|
|
1790
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1791
|
+
s = arguments[i];
|
|
1792
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1793
|
+
}
|
|
1794
|
+
return t;
|
|
1795
|
+
}
|
|
1796
|
+
return __assign.apply(this, arguments);
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
function __rest(s, e) {
|
|
1800
|
+
var t = {};
|
|
1801
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1802
|
+
t[p] = s[p];
|
|
1803
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1804
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1805
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1806
|
+
t[p[i]] = s[p[i]];
|
|
1807
|
+
}
|
|
1808
|
+
return t;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
function __decorate(decorators, target, key, desc) {
|
|
1812
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1813
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1814
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1815
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
function __param(paramIndex, decorator) {
|
|
1819
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
1823
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
1824
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
1825
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
1826
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
1827
|
+
var _, done = false;
|
|
1828
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
1829
|
+
var context = {};
|
|
1830
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
1831
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
1832
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
1833
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
1834
|
+
if (kind === "accessor") {
|
|
1835
|
+
if (result === void 0) continue;
|
|
1836
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
1837
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
1838
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
1839
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
1840
|
+
}
|
|
1841
|
+
else if (_ = accept(result)) {
|
|
1842
|
+
if (kind === "field") initializers.unshift(_);
|
|
1843
|
+
else descriptor[key] = _;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
1847
|
+
done = true;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
1851
|
+
var useValue = arguments.length > 2;
|
|
1852
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
1853
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
1854
|
+
}
|
|
1855
|
+
return useValue ? value : void 0;
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
function __propKey(x) {
|
|
1859
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
function __setFunctionName(f, name, prefix) {
|
|
1863
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
1864
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
1865
|
+
};
|
|
1866
|
+
|
|
1867
|
+
function __metadata(metadataKey, metadataValue) {
|
|
1868
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1872
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1873
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1874
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
1875
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
1876
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1877
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
function __generator(thisArg, body) {
|
|
1882
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
1883
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
1884
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
1885
|
+
function step(op) {
|
|
1886
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
1887
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
1888
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
1889
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
1890
|
+
switch (op[0]) {
|
|
1891
|
+
case 0: case 1: t = op; break;
|
|
1892
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
1893
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
1894
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
1895
|
+
default:
|
|
1896
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
1897
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
1898
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
1899
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
1900
|
+
if (t[2]) _.ops.pop();
|
|
1901
|
+
_.trys.pop(); continue;
|
|
1902
|
+
}
|
|
1903
|
+
op = body.call(thisArg, _);
|
|
1904
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
1905
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
1910
|
+
if (k2 === undefined) k2 = k;
|
|
1911
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1912
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1913
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1914
|
+
}
|
|
1915
|
+
Object.defineProperty(o, k2, desc);
|
|
1916
|
+
}) : (function(o, m, k, k2) {
|
|
1917
|
+
if (k2 === undefined) k2 = k;
|
|
1918
|
+
o[k2] = m[k];
|
|
1919
|
+
});
|
|
1920
|
+
|
|
1921
|
+
function __exportStar(m, o) {
|
|
1922
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
function __values(o) {
|
|
1926
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1927
|
+
if (m) return m.call(o);
|
|
1928
|
+
if (o && typeof o.length === "number") return {
|
|
1929
|
+
next: function () {
|
|
1930
|
+
if (o && i >= o.length) o = void 0;
|
|
1931
|
+
return { value: o && o[i++], done: !o };
|
|
1932
|
+
}
|
|
1933
|
+
};
|
|
1934
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
function __read(o, n) {
|
|
1938
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1939
|
+
if (!m) return o;
|
|
1940
|
+
var i = m.call(o), r, ar = [], e;
|
|
1941
|
+
try {
|
|
1942
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
1943
|
+
}
|
|
1944
|
+
catch (error) { e = { error: error }; }
|
|
1945
|
+
finally {
|
|
1946
|
+
try {
|
|
1947
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
1948
|
+
}
|
|
1949
|
+
finally { if (e) throw e.error; }
|
|
1950
|
+
}
|
|
1951
|
+
return ar;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/** @deprecated */
|
|
1955
|
+
function __spread() {
|
|
1956
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
1957
|
+
ar = ar.concat(__read(arguments[i]));
|
|
1958
|
+
return ar;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
/** @deprecated */
|
|
1962
|
+
function __spreadArrays() {
|
|
1963
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1964
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
1965
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
1966
|
+
r[k] = a[j];
|
|
1967
|
+
return r;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
function __spreadArray(to, from, pack) {
|
|
1971
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1972
|
+
if (ar || !(i in from)) {
|
|
1973
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1974
|
+
ar[i] = from[i];
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
function __await(v) {
|
|
1981
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1985
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1986
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1987
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
1988
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
1989
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
1990
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
1991
|
+
function fulfill(value) { resume("next", value); }
|
|
1992
|
+
function reject(value) { resume("throw", value); }
|
|
1993
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
function __asyncDelegator(o) {
|
|
1997
|
+
var i, p;
|
|
1998
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
1999
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
function __asyncValues(o) {
|
|
2003
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
2004
|
+
var m = o[Symbol.asyncIterator], i;
|
|
2005
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
2006
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
2007
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
function __makeTemplateObject(cooked, raw) {
|
|
2011
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
2012
|
+
return cooked;
|
|
2013
|
+
};
|
|
2014
|
+
|
|
2015
|
+
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
2016
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
2017
|
+
}) : function(o, v) {
|
|
2018
|
+
o["default"] = v;
|
|
2019
|
+
};
|
|
2020
|
+
|
|
2021
|
+
function __importStar(mod) {
|
|
2022
|
+
if (mod && mod.__esModule) return mod;
|
|
2023
|
+
var result = {};
|
|
2024
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
2025
|
+
__setModuleDefault(result, mod);
|
|
2026
|
+
return result;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
function __importDefault(mod) {
|
|
2030
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
2034
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
2035
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
2036
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
2040
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
2041
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
2042
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
2043
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
2047
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
2048
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
2052
|
+
__extends,
|
|
2053
|
+
__assign,
|
|
2054
|
+
__rest,
|
|
2055
|
+
__decorate,
|
|
2056
|
+
__param,
|
|
2057
|
+
__metadata,
|
|
2058
|
+
__awaiter,
|
|
2059
|
+
__generator,
|
|
2060
|
+
__createBinding,
|
|
2061
|
+
__exportStar,
|
|
2062
|
+
__values,
|
|
2063
|
+
__read,
|
|
2064
|
+
__spread,
|
|
2065
|
+
__spreadArrays,
|
|
2066
|
+
__spreadArray,
|
|
2067
|
+
__await,
|
|
2068
|
+
__asyncGenerator,
|
|
2069
|
+
__asyncDelegator,
|
|
2070
|
+
__asyncValues,
|
|
2071
|
+
__makeTemplateObject,
|
|
2072
|
+
__importStar,
|
|
2073
|
+
__importDefault,
|
|
2074
|
+
__classPrivateFieldGet,
|
|
2075
|
+
__classPrivateFieldSet,
|
|
2076
|
+
__classPrivateFieldIn,
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
|
|
2061
2080
|
/***/ })
|
|
2062
2081
|
|
|
2063
2082
|
/******/ });
|
|
@@ -2149,7 +2168,7 @@ var __webpack_exports__ = {};
|
|
|
2149
2168
|
__webpack_require__.r(__webpack_exports__);
|
|
2150
2169
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2151
2170
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
2152
|
-
/* harmony export */
|
|
2171
|
+
/* harmony export */ proceduralTextures: () => (/* reexport module object */ procedural_textures_legacy_legacy__WEBPACK_IMPORTED_MODULE_0__)
|
|
2153
2172
|
/* harmony export */ });
|
|
2154
2173
|
/* harmony import */ var procedural_textures_legacy_legacy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! procedural-textures/legacy/legacy */ "../../../lts/proceduralTextures/dist/legacy/legacy.js");
|
|
2155
2174
|
|