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

USDZLoader: Switch to MeshPhysicalMaterial and add initial clearcoat/clearcoatRoughness/ior support #26713

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

hybridherbst
Copy link
Contributor

@hybridherbst hybridherbst commented Sep 6, 2023

Related issue:

This PR should be merged after

Description

Switches USDZLoader to MeshPhysicalMaterial and adds loading support for clearcoat/clearcoatRoughness.
These parameters are already exported by USDZExporter.

Some details seem to be wrong, but I currently suspect GLTFLoader not loading the clearcoat test file correctly in the first place (will report a separate issue).

USDZ loaded into Mac QuickLook
image

USDZ loaded into three.js
image

Test file: ClearCoatTest.zip

This contribution is funded by Needle

@mrdoob mrdoob added this to the r157 milestone Sep 7, 2023
@mrdoob
Copy link
Owner

mrdoob commented Sep 7, 2023

Ops, this one has conflicts now...

…tRoughness/ior support

fix incorrect colorspace usage
@hybridherbst hybridherbst force-pushed the feature/usdzloader-clearcoat branch from 488287e to 70c43c5 Compare September 7, 2023 11:50
@hybridherbst
Copy link
Contributor Author

Should be fixed now!

@mrdoob mrdoob merged commit 5e37e4d into mrdoob:dev Sep 7, 2023
@hybridherbst hybridherbst deleted the feature/usdzloader-clearcoat branch September 7, 2023 16:09
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

Successfully merging this pull request may close these issues.

4 participants