FIx the shiny objects by actually using the specular map as it should be...

This commit is contained in:
samcake 2015-10-06 23:10:03 -07:00
parent 83a0091e47
commit dd2aa36a11

View file

@ -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;