From dd2aa36a119293baa17ad8b027781a25def23f57 Mon Sep 17 00:00:00 2001 From: samcake Date: Tue, 6 Oct 2015 23:10:03 -0700 Subject: [PATCH] FIx the shiny objects by actually using the specular map as it should be... --- libraries/fbx/src/FBXReader_Material.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/fbx/src/FBXReader_Material.cpp b/libraries/fbx/src/FBXReader_Material.cpp index 6da53dbede..e947a0356e 100644 --- a/libraries/fbx/src/FBXReader_Material.cpp +++ b/libraries/fbx/src/FBXReader_Material.cpp @@ -107,6 +107,8 @@ void FBXReader::consolidateFBXMaterials() { if (!specularTextureID.isNull()) { specularTexture = getTexture(specularTextureID); detectDifferentUVs |= (specularTexture.texcoordSet != 0) || (!specularTexture.transform.isIdentity()); + + material.specularTexture = specularTexture; } FBXTexture emissiveTexture;