-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
USDZExporter: Modulate diffuse map #21872
Conversation
Thanks! |
Ended up refactoring the code quite a bit: afb032b |
This commit may shows better the implementation: 2ceaad9 |
Also, turns out I had broken |
Very good. Next step - fix broken ao map ;-) |
See my other comments in 2ceaad9 |
Yeah. Not sure how to fix that. As far as I understand USDZ only supports 1 uv channel. |
By the way, there are a lot of tricks here: https://github.com/google/usd_from_gltf#emulated-functionality-for-ar-quick-look |
Quite dated. For example, they ended up scaling textures to "simulate" tiling... |
Related issue: #21871
A material can have a color different from white. Color is rendered on top of existing map (diffuse).
Initially I was thinking to use the bias input for Texture Reader, but unfortunately it does not worl, at least not in QuickLook.
Current solutions is more like a workaround and may be revisited some day.