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

Transparency Issue when converting glTF to usdz #88 #95

Closed
ShantanuSriv opened this issue Nov 5, 2018 · 7 comments
Closed

Transparency Issue when converting glTF to usdz #88 #95

ShantanuSriv opened this issue Nov 5, 2018 · 7 comments

Comments

@ShantanuSriv
Copy link

Reopening as transparency issue is still not handled. #88

@kcoley
Copy link
Owner

kcoley commented Nov 5, 2018

Hi @ShantanuSriv do you have a sample glTF model I can use for reference?

@ShantanuSriv
Copy link
Author

@kcoley No, I can't share the glTF model because it's a private proprietary. I can share the screenshots only.

Please tell me if I can help you in any way possible.

@kcoley
Copy link
Owner

kcoley commented Nov 6, 2018

@ShantanuSriv no worries, I have a few questions then:

  1. In the glTF files, are any of the base color textures shared across multiple materials which have different blend modes? For example, one material uses opaque, while the other uses alpha blend, but the exact same base color texture?

  2. Are the glTF models using specular glossiness or metallic roughness?

  3. Do the glTF models use alpha in the vertex colors?

  4. Are any of the glTF models using alpha mask?

If any questions need more detail, please let me know

@ShantanuSriv
Copy link
Author

In the glTF files, are any of the base color textures shared across multiple materials which have different blend modes? For example, one material uses opaque, while the other uses alpha blend, but the exact same base color texture?

Yes, we have this case in some of the glTF files

Are the glTF models using specular glossiness or metallic roughness?

Metallic roughness

Do the glTF models use alpha in the vertex colors?

No

Are any of the glTF models using alpha mask?

No

Some of the answers may vary on the size of the sample of glTF models. But as of now, in my sample set, I have these verified.

@kcoley
Copy link
Owner

kcoley commented Nov 6, 2018

@ShantanuSriv gotcha. I'm guessing case 1 may be a possible issue here. I can make a change to duplicate the texture without alpha if it is shared across two different materials with different blend modes to see if that helps.

@kcoley
Copy link
Owner

kcoley commented Nov 7, 2018

@ShantanuSriv I pushed another update to master: #96

Does this help or is the problem still persisting?

@kcoley
Copy link
Owner

kcoley commented Nov 9, 2018

@ShantanuSriv closing for now, but feel free to reopen if the issue is still coming up

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

2 participants