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

cannot export transparent textures (nor select png) #1279

Closed
coderofsalvation opened this issue Dec 1, 2020 · 3 comments
Closed

cannot export transparent textures (nor select png) #1279

coderofsalvation opened this issue Dec 1, 2020 · 3 comments

Comments

@coderofsalvation
Copy link

I cannot seem to export transparent png's in my gltf, NOR select PNG as export option

Steps to reproduce the behavior:

  1. create a mesh
  2. apply a material using a transparent png in the shader editor:

image

  1. set blend mode to 'alpha blend' in material properties
  2. now export the gltf (NOTE: for some reason, you can't select png)

image

  1. test the model at https://gltf-viewer.donmccurdy.com

Expected behavior
transparent textures

.blend file/ .gltf
https://filebin.net/3ab7vwn9httastq1/theme.gltf?t=v81o3lxp

Version

  • OS: windows
  • Blender Version 2.83 + 2.91
@scurest
Copy link
Contributor

scurest commented Dec 1, 2020

File looks okay to me. It seems only Three has an issue.

In Three

three

Others (babylon, blender, this)

bab
blend
rs

@donmccurdy Can you look?

@donmccurdy
Copy link
Contributor

This was fixed in mrdoob/three.js#20376 – my viewer is behind, but it should work fine in newer versions of three.js.

@coderofsalvation
Copy link
Author

Ah Ok, so it's not the exporter.
Thanks a lot, wasn't really sure how to test it.
Next time I'll try to import the exported gltf with blender to test (no idea why I didn't think of that).

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