-
Notifications
You must be signed in to change notification settings - Fork 10
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
Custom shader & runtime material switching support #64
Comments
Thanks for bringing this up, it's something I've wanted to look at more closely. Currently, you can only load custom materials:
The latter isn't a very flexible option, because then you're basically stuck with one set of materials for the lifetime of the viewer (though in some cases, maybe that's all you need). Ideally, I think you should probably be able to 1) expose a function like Can you give me more details about how you'd like to use custom materials? |
Sure! I understand these need to be compiled with I made sure to link relevant documentation above, I hope it's helpful 😊 |
AFAIK Filament supports custom shader compilation/rendering, but I haven't found any references to it in Thermion's docs.
Is it something that has been experimented with? Can they be loaded as part of the GLTF/GLB format? (assuming that's supported)
I'm happy to help out on this if needed 🤗✨
The text was updated successfully, but these errors were encountered: