Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple materials on one mesh #239

Closed
wangyanmeego opened this issue Sep 4, 2021 · 2 comments
Closed

Support for multiple materials on one mesh #239

wangyanmeego opened this issue Sep 4, 2021 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@wangyanmeego
Copy link

I have use glTFFast to load glb at run-time, it works great except for it can not support multiple material on one mesh. it seperate meshes by one material. I wan to keep the mesh completely. Is there any ways to set options for this. Looking for reply.

@wangyanmeego wangyanmeego added the bug Something isn't working label Sep 4, 2021
@atteneder atteneder added the duplicate This issue or pull request already exists label Sep 6, 2021
@atteneder
Copy link
Owner

Hi @wangyanmeego ,

Thanks for bringing it to my attention. Would you mind sharing, what exact problem this would fix for you? That would help me prioritize the fix properly.

This has been brought up already in #153 (therefore I close this one) and I acknowledge the problem and want to solve this at some point.

Unfortunately it's not a low-hanging fruit, so it'll have to wait for the next refactoring of that particular code.

Thanks

@wangyanmeego
Copy link
Author

Thanks for your attention to this problem. I make a run-time editor to mark notes based on a mesh, and show the meshes on AR. When I model a 3D file and apply some materials on one mesh. But when I load it into Unity scene, it seperates meshes by materials, that's not what i want. So I hope the loaded mesh is the same structure as 3D model software. By the way, i use Blender to create models. If any time you have solved this, please let me know, I'll really appreciate it. Maybe you can make a option to support single material and multiple materials on one mesh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants