Replies: 2 comments
-
Hey, Every mesh can have a single material, but a model can contain multiple meshes. The teapot example actually contains 2 meshes, each with it's own material. For example you can change the color of the lid by doing this:
or assign a new texture to it.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! |
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
-
Hello.
I see that PIXI 3D allows to import GLTF models with multiple materials.
I have a car with body, glass, tires.
What's the method to modify one of them inside the application?
I checked the teapot tutorial but it has only 1 material.
Beta Was this translation helpful? Give feedback.
All reactions