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

GLTFLoader: Implement KHR_materials_clearcoat. #18682

Merged
merged 2 commits into from
Mar 23, 2020

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Feb 20, 2020

Clearcoat: without (left) and with (right).

Screen Shot 2020-02-19 at 8 20 03 PM

To do:

@mrdoob mrdoob added this to the r115 milestone Feb 20, 2020
@donmccurdy
Copy link
Collaborator Author

Successfully rendering @emackey's excellent test asset now:

Screen Shot 2020-02-20 at 11 50 16 PM

@donmccurdy
Copy link
Collaborator Author

Moved the core changes to a new PR, #18769. Will keep the GLTFLoader portion here, to check in afterward.

@takahirox
Copy link
Collaborator

Do you plan to implement GLTFLoader clearcoat extension on top of the new plugin system #18484? Or do you first go without it?

@donmccurdy
Copy link
Collaborator Author

I'm willing to do either. The new plugin API is a big change, though, and I'm having trouble deciding how quickly we should move forward on that.

@takahirox
Copy link
Collaborator

I see, thanks. Regarding the new plugin API, let's keep discussing in #18484

@donmccurdy
Copy link
Collaborator Author

@takahirox if I polish up this PR this week, would you be OK with merging it before the plugin API?

@takahirox
Copy link
Collaborator

That's fine because I'm thinking to create a new PR so I don't care if this change can make the conflicts with the existing plugin PR. Then I'll make a branch after this PR gets in.

@donmccurdy donmccurdy force-pushed the feat-KHR_materials_clearcoat branch from ae64d23 to a7c8e06 Compare March 17, 2020 05:09
@donmccurdy donmccurdy marked this pull request as ready for review March 17, 2020 05:13
@donmccurdy donmccurdy changed the title Implement KHR_materials_clearcoat GLTFLoader: Implement KHR_materials_clearcoat. Mar 17, 2020
@Mugen87
Copy link
Collaborator

Mugen87 commented Mar 19, 2020

https://raw.githack.com/donmccurdy/three.js/feat-KHR_materials_clearcoat/examples/webgl_loader_gltf_extensions.html

Um, it seems the URL of the new asset (Clearcoat Test) is not correct since I get a 404.

@emackey
Copy link

emackey commented Mar 19, 2020

@donmccurdy Looks like a case issue. In your branch, rename the model and its folder from ClearCoatTest to ClearcoatTest.

@donmccurdy
Copy link
Collaborator Author

Fixed ✅

@mrdoob
Copy link
Owner

mrdoob commented Mar 21, 2020

@donmccurdy feel free to merge this when you think it's ready 👌

@donmccurdy donmccurdy merged commit 7fa88c7 into mrdoob:dev Mar 23, 2020
@donmccurdy donmccurdy deleted the feat-KHR_materials_clearcoat branch March 23, 2020 04:17
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.

6 participants