Fix glTF metalness import.
This commit is contained in:
parent
d79213e620
commit
d3a362dc7f
@ -734,7 +734,7 @@ OV.ImporterGltf = class extends OV.ImporterBase
|
||||
}
|
||||
let metallicFactor = gltfMaterial.pbrMetallicRoughness.metallicFactor;
|
||||
if (metallicFactor !== undefined) {
|
||||
material.metallic = metallicFactor;
|
||||
material.metalness = metallicFactor;
|
||||
}
|
||||
let roughnessFactor = gltfMaterial.pbrMetallicRoughness.roughnessFactor;
|
||||
if (roughnessFactor !== undefined) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user