mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Added export for Unreal engine
This commit is contained in:
parent
b3d5972557
commit
023c8840e1
@ -296,7 +296,40 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Unreal": {
|
"Unreal": {
|
||||||
|
"export_extension":"tres",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"type":"texture",
|
||||||
|
"file_name":"$(path_prefix)_albedo.png",
|
||||||
|
"output":0,
|
||||||
|
"conditions":"$(connected:albedo_tex)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type":"texture",
|
||||||
|
"file_name":"$(path_prefix)_orm.png",
|
||||||
|
"output":1,
|
||||||
|
"conditions":"$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type":"texture",
|
||||||
|
"file_name":"$(path_prefix)_emission.png",
|
||||||
|
"output":2,
|
||||||
|
"conditions":"$(connected:emission_tex)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type":"texture",
|
||||||
|
"file_name":"$(path_prefix)_normal.png",
|
||||||
|
"output":10,
|
||||||
|
"conditions":"$(connected:normal_tex)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type":"texture",
|
||||||
|
"file_name":"$(path_prefix)_height.png",
|
||||||
|
"output":8,
|
||||||
|
"conditions":"$(connected:depth_tex)"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user