mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 02:55:58 +08:00
[emissiveFactor] correct default values
This commit is contained in:
parent
6df800d2b6
commit
6dba6c6aac
@ -3757,7 +3757,7 @@ static bool ParseMaterial(Material *material, std::string *err, const json &o) {
|
||||
}
|
||||
else {
|
||||
// fill with default values
|
||||
material->emissiveFactor = {1.0, 1.0, 1.0};
|
||||
material->emissiveFactor = {0.0, 0.0, 0.0};
|
||||
}
|
||||
|
||||
ParseStringProperty(&material->alphaMode, err, o, "alphaMode",
|
||||
|
Loading…
x
Reference in New Issue
Block a user