mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:36:54 +02:00
FIx the shiny objects by actually using the specular map as it should be...
This commit is contained in:
parent
83a0091e47
commit
dd2aa36a11
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ void FBXReader::consolidateFBXMaterials() {
|
||||||
if (!specularTextureID.isNull()) {
|
if (!specularTextureID.isNull()) {
|
||||||
specularTexture = getTexture(specularTextureID);
|
specularTexture = getTexture(specularTextureID);
|
||||||
detectDifferentUVs |= (specularTexture.texcoordSet != 0) || (!specularTexture.transform.isIdentity());
|
detectDifferentUVs |= (specularTexture.texcoordSet != 0) || (!specularTexture.transform.isIdentity());
|
||||||
|
|
||||||
|
material.specularTexture = specularTexture;
|
||||||
}
|
}
|
||||||
|
|
||||||
FBXTexture emissiveTexture;
|
FBXTexture emissiveTexture;
|
||||||
|
|
Loading…
Reference in a new issue