From 7d013878fc07cbf4b2babf19f0cb0da5946bfd88 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Mon, 19 Jul 2021 19:33:10 +0200 Subject: [PATCH] Use the same values that are coming from the texture. --- source/threejs/threeconverter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/threejs/threeconverter.js b/source/threejs/threeconverter.js index fa5f985..9f9b995 100644 --- a/source/threejs/threeconverter.js +++ b/source/threejs/threeconverter.js @@ -78,8 +78,8 @@ OV.ConvertModelToThreeMeshes = function (model, params, output, callbacks) threeMaterial.metalness = material.metalness; threeMaterial.roughness = material.roughness; LoadTexture (threeMaterial, material.metallicMap, (threeTexture) => { - threeMaterial.metalness = 0.8; - threeMaterial.roughness = 0.8; + threeMaterial.metalness = 1.0; + threeMaterial.roughness = 1.0; threeMaterial.metalnessMap = threeTexture; threeMaterial.roughnessMap = threeTexture; callbacks.onTextureLoaded ();