Preset different variants to a model at the same time. #4667
Unanswered
chesstrian
asked this question in
Q&A
Replies: 1 comment
-
No, the way the glTF variants extension works is that a named variant is a complete choice of materials for all meshes. Of course if you have a bunch of permutations, this leads to an explosion of named variants. In that case you're better off skipping variants and using our |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have a question about setting more than one variant to a model in different material:
Given a model with different material variants like the one shown in #3822 (reply in thread), let's say I need to set it up with different variants than the default ones, with javascript it'd be:
However when the function is called, only the second variant is applied:
In this case it is expected to get:
Is it possible to get both variants applied at the same time?.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions