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

Exporting to glTF2 PBR material and glTF2 material with sheen, clearcoat and transmission. #653

Closed
fire opened this issue Jul 2, 2021 · 7 comments

Comments

@fire
Copy link
Contributor

fire commented Jul 2, 2021

Trying to devise a match for the gltf2:

  1. glTF2 PBR materials
  2. glTF2 material with sheen, clearcoat and transmission.

Not sure where the current work is.

@jstone-lucasfilm
Copy link
Member

@fire To my mind, the first step would be the creation of a MaterialX graph for the glTF BSDF, which should be validated by Khronos then contributed to the BxDF graph library in MaterialX:

https://github.com/materialx/MaterialX/tree/main/libraries#bxdf-graph-library

We're happy to help developers in constructing such a graph, and there are several examples from which they can borrow, but ideally the development process should be overseen by the designers of the glTF BSDF at Khronos.

@fire
Copy link
Contributor Author

fire commented Jul 13, 2021

I have started initial contact with Khronos's gltf working group.

@emackey
Copy link

emackey commented Aug 4, 2021

One of the members of the Khronos PBR TSG began prototyping something for us to experiment with. Many things still need adding or fixing, but it's a great start:

KhronosGroup#1

@fire
Copy link
Contributor Author

fire commented Aug 24, 2021

Reporting back that I was able to compile gltf2 boomb[ox] example and using previous standalone work I was able to bake the dependencies.

boom_box_bake
boombox_viewer

https://github.com/fire/MaterialX/tree/standalone-gltf

@jstone-lucasfilm
Copy link
Member

An initial MaterialX graph for the glTF PBR shading model has been merged in pull request #861.

@jstone-lucasfilm
Copy link
Member

Thanks for posting this original issue, @fire, and I believe we can close it out and create new issues (e.g. #874) to capture additional work on glTF/MaterialX integration.

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

No branches or pull requests

3 participants