three.js code (see Acess GLTF Values - #6 by donmccurdy) can change as many materials on as many meshes as you need. Figuring out which alternative materials go to which meshes would probably need to be customized for your application.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
GLTF changing 1 part of the model/mesh color | 9 | 5543 | May 28, 2020 | |
How to change the color of a gltf object? | 3 | 8517 | February 9, 2022 | |
How to clone a model and change color respectively? | 6 | 2898 | January 4, 2023 | |
How to change object color on mouse click? | 4 | 1916 | May 9, 2021 | |
Changing/Accessing materials of a gltf-Object individually | 6 | 9961 | July 26, 2021 |