-
Notifications
You must be signed in to change notification settings - Fork 838
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 glTF models with two UV layers #3515
Comments
This is a known issue in three.js that is currently being worked on. Hopefully we'll have proper support for multiple UV channels soon. Currently on the AO map can use the second UV set. |
@elalish mind linking the relevant three issues here? I found various (like mrdoob/three.js#12608) but none that looked like currently being worked on. |
I've chatted with @mrdoob about this occasionally, not sure of the current status; perhaps he'll comment. |
I came across this quick fix for three.js: |
Nice! I hear official three.js support for multiple UVs is coming soon 🤞 |
any news on this? cannot find any PR or issue on threejs repo |
Fixed by #4186 |
Description
I have a GLB model that uses two UV layers to map textures:
Ambient Occlusion, Roughness and Metalness are packed into one single texture.
Problem
When I load the model into the viewer, it seems like only the first UV layer is used for all the textures, and this creates incorrect results as the two UV layers are different. Is it possible to use models whose textures are mapped in two UV layers?
The text was updated successfully, but these errors were encountered: