maya gltf texture convertor and validator (#4261)

Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
Kayla Man 2023-02-23 23:00:16 +08:00 committed by GitHub
parent 3218dd021a
commit 7ec1cb77a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 288 additions and 0 deletions

View file

@ -407,6 +407,16 @@
"optional": false,
"active": true
},
"ValidateGLSLMaterial": {
"enabled": true,
"optional": false,
"active": true
},
"ValidateGLSLPlugin": {
"enabled": true,
"optional": false,
"active": true
},
"ValidateRenderImageRule": {
"enabled": true,
"optional": false,
@ -898,6 +908,11 @@
"optional": true,
"active": true,
"bake_attributes": []
},
"ExtractGLB": {
"enabled": true,
"active": true,
"ogsfx_path": "/maya2glTF/PBR/shaders/glTF_PBR.ogsfx"
}
},
"load": {

View file

@ -408,6 +408,14 @@
"key": "ValidateCurrentRenderLayerIsRenderable",
"label": "Validate Current Render Layer Has Renderable Camera"
},
{
"key": "ValidateGLSLMaterial",
"label": "Validate GLSL Material"
},
{
"key": "ValidateGLSLPlugin",
"label": "Validate GLSL Plugin"
},
{
"key": "ValidateRenderImageRule",
"label": "Validate Images File Rule (Workspace)"
@ -956,6 +964,30 @@
"is_list": true
}
]
},
{
"type": "dict",
"collapsible": true,
"key": "ExtractGLB",
"label": "Extract GLB",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
},
{
"type": "text",
"key": "ogsfx_path",
"label": "GLSL Shader Directory"
}
]
}
]
}