chore: set gltf material default metallicness to 0

This commit is contained in:
Jan committed 2024-05-09 22:12:39 +02:00
1 parent 1a35152098
commit a0138c8abc
2 files changed
+9 -2

No files matched your search

+2 -1
View File
@@ -206,9 +206,10 @@ namespace gltf
{
public:
std::optional<JsonTextureInfo> baseColorTexture;
std::optional<float> metallicFactor;
};
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonPbrMetallicRoughness, baseColorTexture);
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonPbrMetallicRoughness, baseColorTexture, metallicFactor);
class JsonNormalTextureInfo
{