|
@@ -89,6 +89,8 @@ export class KHR_materials_sheen implements IGLTFLoaderExtension {
|
|
|
|
|
|
if (properties.roughnessFactor !== undefined) {
|
|
if (properties.roughnessFactor !== undefined) {
|
|
babylonMaterial.sheen.roughness = properties.roughnessFactor;
|
|
babylonMaterial.sheen.roughness = properties.roughnessFactor;
|
|
|
|
+ } else {
|
|
|
|
+ babylonMaterial.sheen.roughness = 0;
|
|
}
|
|
}
|
|
|
|
|
|
babylonMaterial.sheen.albedoScaling = true;
|
|
babylonMaterial.sheen.albedoScaling = true;
|