[emissiveFactor] correct default values

This commit is contained in:
Selmar Kok 2019-08-19 11:23:31 +02:00
parent 6df800d2b6
commit 6dba6c6aac

View File

@ -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",