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

GLTFExporter: Support SpecularGlossiness materials #17127

Merged
merged 3 commits into from
Aug 20, 2019
Merged

Conversation

somepablo
Copy link

This pull request enables support for exporting spec/gloss PBR materials. It is based on another closed pull request (#16413) with some modifications and matching the styleguide.

It fixes #15351. Here there are some models that were exporting without materials but are now working:

https://sketchfab.com/models/c438e81e796d41d9a6ae4cc147ef8d4f
https://sketchfab.com/models/fb847d79fdfa465894f30475c6cfbf05
https://sketchfab.com/models/f5abe05ff2124527a6871060b2809bb2
https://sketchfab.com/models/58e93896d1a14eb9af7b776272a48ed6

@Mugen87 Mugen87 changed the title Support SpecularGlossiness materials GLTFExporter: Support SpecularGlossiness materials Jul 30, 2019
Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Couple comments but i think we should get this feature added. :)

examples/js/exporters/GLTFExporter.js Show resolved Hide resolved
examples/js/exporters/GLTFExporter.js Outdated Show resolved Hide resolved
@mrdoob mrdoob added this to the r108 milestone Jul 31, 2019
examples/js/exporters/GLTFExporter.js Outdated Show resolved Hide resolved
examples/js/exporters/GLTFExporter.js Show resolved Hide resolved
examples/js/exporters/GLTFExporter.js Outdated Show resolved Hide resolved
examples/js/exporters/GLTFExporter.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@mrdoob mrdoob merged commit 5be2640 into mrdoob:dev Aug 20, 2019
@mrdoob
Copy link
Owner

mrdoob commented Aug 20, 2019

Thanks!

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.

GLTFExporter: Support spec/gloss PBR materials
3 participants