mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Material resources: support relative path for emissiveMap
This commit is contained in:
parent
7f285c5f90
commit
5e22202355
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ std::pair<std::string, std::shared_ptr<NetworkMaterial>> NetworkMaterialResource
|
|||
} else if (key == "emissiveMap") {
|
||||
auto value = materialJSON.value(key);
|
||||
if (value.isString()) {
|
||||
material->setEmissiveMap(value.toString());
|
||||
material->setEmissiveMap(baseUrl.resolved(value.toString()));
|
||||
}
|
||||
} else if (key == "albedoMap") {
|
||||
auto value = materialJSON.value(key);
|
||||
|
|
Loading…
Reference in a new issue