Multiple instances of the same mesh with varying materials #254
Replies: 1 comment
-
MeshBuilder and all other classes in the Toolkit library are designed to simplify the authoring of glTF, but there's a tradeoff between ease of use and limited support of rarely used features. Sadly, your use case is not covered by the toolkit. If you want to create multiple meshes that reuse the same accessors but have different materials, I would do this: 1- create the 1st mesh using MeshBuilder, create a simple scene and convert to glTF It's ugly but it's the best thing I can think about right now. |
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
-
I would like to create a mesh (using MeshBuilder) and instantiate this mesh multiple times with varying materials (and transforms). Although the GLTF spec supports this, I did not find a way to do this in SharpGLTF:
Beta Was this translation helpful? Give feedback.
All reactions