|
@@ -97,9 +97,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
/******/ ({
|
|
/******/ ({
|
|
|
|
|
|
/***/ "../../node_modules/tslib/tslib.es6.js":
|
|
/***/ "../../node_modules/tslib/tslib.es6.js":
|
|
-/*!***********************************************************!*\
|
|
|
|
- !*** C:/Repos/Babylon.js/node_modules/tslib/tslib.es6.js ***!
|
|
|
|
- \***********************************************************/
|
|
|
|
|
|
+/*!*****************************************************************!*\
|
|
|
|
+ !*** C:/Dev/Babylon/Babylon.js/node_modules/tslib/tslib.es6.js ***!
|
|
|
|
+ \*****************************************************************/
|
|
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */
|
|
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
@@ -3317,17 +3317,17 @@ var KHR_materials_sheen = /** @class */ (function () {
|
|
}
|
|
}
|
|
var promises = new Array();
|
|
var promises = new Array();
|
|
babylonMaterial.sheen.isEnabled = true;
|
|
babylonMaterial.sheen.isEnabled = true;
|
|
- if (properties.sheenFactor != undefined) {
|
|
|
|
- babylonMaterial.sheen.intensity = properties.sheenFactor;
|
|
|
|
|
|
+ if (properties.intensityFactor != undefined) {
|
|
|
|
+ babylonMaterial.sheen.intensity = properties.intensityFactor;
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
babylonMaterial.sheen.intensity = 0;
|
|
babylonMaterial.sheen.intensity = 0;
|
|
}
|
|
}
|
|
- if (properties.sheenColor != undefined) {
|
|
|
|
- babylonMaterial.sheen.color = babylonjs_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_0__["Color3"].FromArray(properties.sheenColor);
|
|
|
|
|
|
+ if (properties.colorFactor != undefined) {
|
|
|
|
+ babylonMaterial.sheen.color = babylonjs_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_0__["Color3"].FromArray(properties.colorFactor);
|
|
}
|
|
}
|
|
- if (properties.sheenTexture) {
|
|
|
|
- promises.push(this._loader.loadTextureInfoAsync(context + "/sheenTexture", properties.sheenTexture, function (texture) {
|
|
|
|
|
|
+ if (properties.colorIntensityTexture) {
|
|
|
|
+ promises.push(this._loader.loadTextureInfoAsync(context + "/sheenTexture", properties.colorIntensityTexture, function (texture) {
|
|
texture.name = babylonMaterial.name + " (Sheen Intensity)";
|
|
texture.name = babylonMaterial.name + " (Sheen Intensity)";
|
|
babylonMaterial.sheen.texture = texture;
|
|
babylonMaterial.sheen.texture = texture;
|
|
}));
|
|
}));
|