mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-21 20:27:52 -05:00
chore: set gltf material default metallicness to 0
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user