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

Can't handle texture for TransparencyFactor; discarding. #158

Open
southkorea2013 opened this issue Jan 29, 2019 · 13 comments
Open

Can't handle texture for TransparencyFactor; discarding. #158

southkorea2013 opened this issue Jan 29, 2019 · 13 comments
Milestone

Comments

@southkorea2013
Copy link

Hello,

When converting a fbx file to gltf, it always complain that "Can't handle texture for TransparencyFactor; discarding.", so I will miss the opacity image from the original models.
Please shed some light on it. Thanks.
fbx.zip

@zellski
Copy link
Contributor

zellski commented Feb 3, 2019

Hi @southkorea2013; thank you very much for this bug report & the test file! This is the first example asset I've received that actually uses a TransparencyFactor texture. I may be able to do something with it –– but it might be a while before I have a chance to pick up the code again.

@zellski zellski added this to the 1.1 milestone Feb 3, 2019
@xuejianbin
Copy link

Is this problem solved?

@zellski
Copy link
Contributor

zellski commented Mar 14, 2019

@xuejianbin No. I don't foresee having time to work on it anytime soon. If you or someone you know can help, pull requests are always welcome.

@ehs035
Copy link

ehs035 commented Apr 9, 2019

Any news on this? I really need this to be fixed. Thanks.

@zellski
Copy link
Contributor

zellski commented Apr 11, 2019

@ehs035 do you have a test FBX you can post that includes a transparency map?

@ehs035
Copy link

ehs035 commented Apr 11, 2019

@ehs035 do you have a test FBX you can post that includes a transparency map?

Can I send you PM with the link? Model is pretty big.

@ehs035
Copy link

ehs035 commented Apr 14, 2019

@ehs035 do you have a test FBX you can post that includes a transparency map?

Can I send you PM with the link? Model is pretty big.
@zellski Here is a sample its pretty big: link

@zellski
Copy link
Contributor

zellski commented Apr 14, 2019

Oops, missed this. Of course you can always email (zell@fb.com) or DM me on Twitter (@zellski). But I'm downloading the link now... veeery... slowly. :-)

@ehs035
Copy link

ehs035 commented Apr 14, 2019

Oops, missed this. Of course you can always email (zell@fb.com) or DM me on Twitter (@zellski). But I'm downloading the link now... veeery... slowly. :-)

Sorry wasn't that bad for me, like 3 mins. I should bring a USB drive last week when I was at FB HQ in Menlo Park :-)

@zellski
Copy link
Contributor

zellski commented Apr 14, 2019

Hah! Say hi next time; I'm in the MPK office.

@looeee
Copy link

looeee commented Apr 14, 2020

Hey guys! Just dropping by from the three.js repo.

We encountered a file with TransparencyFactor here:

mrdoob/three.js#17279

It's the first time in several years working with FBX files that I've seen this map. It seems to be an alpha cutout map, while the one from the tree and swings linked above looks like a standard transparency map.

I'm going to treat this the same way as TransparentColor for now and see if that causes problems.

@Jarred-Sumner
Copy link

If you want another example, the eyelash material in this character asset has a TransparencyFactor: https://assetstore.unity.com/packages/3d/characters/o3n-uma-race-stunner-jane-175172

This is what the eyelash renders like: (in Babylon.js)
image

Warning you that it shows NSFW content if you convert the .fbx file to .gltf

@se7enXF
Copy link

se7enXF commented Aug 20, 2024

Meet the same issue. Anyone has a good solution to make material transparent work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants