FBX2glTF icon indicating copy to clipboard operation
FBX2glTF copied to clipboard

Can't handle texture for TransparencyFactor; discarding.

Open southkorea2013 opened this issue 6 years ago • 13 comments

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

southkorea2013 avatar Jan 29 '19 03:01 southkorea2013

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 avatar Feb 03 '19 18:02 zellski

Is this problem solved?

xuejianbin avatar Mar 13 '19 12:03 xuejianbin

@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.

zellski avatar Mar 14 '19 06:03 zellski

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

ehs035 avatar Apr 09 '19 03:04 ehs035

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

zellski avatar Apr 11 '19 01:04 zellski

@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 avatar Apr 11 '19 21:04 ehs035

@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

ehs035 avatar Apr 14 '19 20:04 ehs035

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

zellski avatar Apr 14 '19 22:04 zellski

Oops, missed this. Of course you can always email ([email protected]) 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 :-)

ehs035 avatar Apr 14 '19 22:04 ehs035

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

zellski avatar Apr 14 '19 22:04 zellski

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

We encountered a file with TransparencyFactor here:

https://github.com/mrdoob/three.js/pull/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.

looeee avatar Apr 14 '20 12:04 looeee

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

Jarred-Sumner avatar Jul 18 '20 23:07 Jarred-Sumner

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

se7enXF avatar Aug 20 '24 07:08 se7enXF