Typo fix.

This commit is contained in:
kovacsv 2021-08-06 16:55:56 +02:00
parent 6dad95b310
commit c9125c53b2

View File

@ -67,7 +67,7 @@ OV.ConvertModelToThreeMeshes = function (model, params, output, callbacks)
specularColor.setRGB (0.0, 0.0, 0.0);
}
threeMaterial.specular = specularColor;
threeMaterial.shininess = material.shininess * 100.0,
threeMaterial.shininess = material.shininess * 100.0;
LoadTexture (threeMaterial, material.specularMap, (threeTexture) => {
threeMaterial.specularMap = threeTexture;
callbacks.onTextureLoaded ();