[emissiveFactor] correct default values

This commit is contained in:
Selmar Kok
2019-08-19 11:23:31 +02:00
parent a67e3142b6
commit 0bf4804fa9

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