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

Model part customization #127

Open
Anth155 opened this issue Feb 1, 2024 · 1 comment
Open

Model part customization #127

Anth155 opened this issue Feb 1, 2024 · 1 comment

Comments

@Anth155
Copy link

Anth155 commented Feb 1, 2024

I've rendered a model into my web app, but am having trouble trying to enable a frontend feature that allows customization of individual parts(eyes, hair, shirt.. etc).
I have all my model's hairs in a single texture file and it's currently rendering the hair in the top left corner.
I think I somehow need to get it to point to the other hairs in the same texture file?
End goal is to toggle between different hair selections on my web app for my model, would this be possible?

@guansss
Copy link
Owner

guansss commented Mar 5, 2024

This can be done by generating texture variations on the fly. For example, you first prepare a texture of alternate eyes, then at the point of switching eyes, you combine the original texture with the eyes texture into a new texture and apply it to the model.

This plugin isn't designed with such scenario in mind, so some workarounds might be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants