mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-12-02 06:08:39 +00:00
chore: set gltf material default metallicness to 0
This commit is contained in:
2 files changed
+9
-2
No files matched your search
@@ -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