Add color space option for texture export

This commit is contained in:
Lubos Lenco
2021-03-29 16:27:52 +02:00
parent a3771087c0
commit 0a3cd8777e
8 changed files with 73 additions and 60 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
{
"textures": [
{ "name": "base", "channels": ["base_r", "base_g", "base_b", "1.0"] },
{ "name": "nor", "channels": ["nor_r", "nor_g", "0.0", "1.0"] },
{ "name": "sh", "channels": ["metal", "rough", "0.0", "1.0"] },
{ "name": "occ", "channels": ["occ", "0.0", "0.0", "1.0"] }
{ "name": "base", "channels": ["base_r", "base_g", "base_b", "1.0"], "color_space": "linear" },
{ "name": "nor", "channels": ["nor_r", "nor_g", "0.0", "1.0"], "color_space": "linear" },
{ "name": "sh", "channels": ["metal", "rough", "0.0", "1.0"], "color_space": "linear" },
{ "name": "occ", "channels": ["occ", "0.0", "0.0", "1.0"], "color_space": "linear" }
]
}