@babylonjs/loaders
Advanced tools
Comparing version
@@ -70,2 +70,3 @@ import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js"; | ||
return this._loader.loadTextureInfoAsync(`${context}/thicknessTexture`, extension.thicknessTexture).then((texture) => { | ||
texture.name = `${babylonMaterial.name} (thickness)`; | ||
babylonMaterial.subSurface.thicknessTexture = texture; | ||
@@ -72,0 +73,0 @@ babylonMaterial.subSurface.useGltfStyleTextures = true; |
{ | ||
"name": "@babylonjs/loaders", | ||
"version": "7.22.5", | ||
"version": "7.23.0", | ||
"main": "index.js", | ||
@@ -21,6 +21,6 @@ "module": "index.js", | ||
"devDependencies": { | ||
"@babylonjs/core": "^7.22.5", | ||
"@babylonjs/core": "^7.23.0", | ||
"@dev/build-tools": "^1.0.0", | ||
"@lts/loaders": "^1.0.0", | ||
"babylonjs-gltf2interface": "^7.22.5" | ||
"babylonjs-gltf2interface": "^7.23.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
1717364
0.01%15597
0.01%