How to use the slots API in toktx? #1161
-
|
I am struggling to properly use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @krispya - are you using the CLI (with globs), or a script (with regex)? The names of slots come directly from the glTF specification and its extensions. Examples:
As found in:
More generally, I think it is the case that all current color slots include the words 'color', 'emissive', or 'diffuse', so this regex should be enough to select them: |
Beta Was this translation helpful? Give feedback.
Hi @krispya - are you using the CLI (with globs), or a script (with regex)?
The names of slots come directly from the glTF specification and its extensions. Examples:
As found in:
More generally, I think it is the case that all current color slots include the words 'col…