mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 11:46:34 +02:00
Cleaning up code
This commit is contained in:
parent
99dcfef5a8
commit
80c80091e4
1 changed files with 0 additions and 3 deletions
|
@ -228,14 +228,11 @@ void FBXReader::consolidateFBXMaterials() {
|
|||
if (!material._material->getKey().isAlbedo()) {
|
||||
// switch emissive to material albedo as we tag the material to unlit
|
||||
material._material->setUnlit(true);
|
||||
material._material->setEmissive(diffuse);
|
||||
material._material->setAlbedo(emissive);
|
||||
|
||||
if (!material.emissiveTexture.isNull()) {
|
||||
material.albedoTexture = material.emissiveTexture;
|
||||
}
|
||||
|
||||
std::cout << emissive;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue