kcoley / gltf2usd

command-line utility for converting glTF 2.0 models to USD
MIT License
263 stars 39 forks source link

Opacity and Alpha and Transparency #180

Closed enzyme69 closed 4 years ago

enzyme69 commented 4 years ago

I am wondering whether USDZ still have known issue with transparency and alpha?

Such as below I have a simple snow with alpha, I can't seem to get USDZ with proper transparency to match the alpha, I keep getting shiny specular no matter what.

PinClipart com_snow-flake-clip-art_4527047

enzyme69 commented 4 years ago

Here is a GLB: just_snow_001.glb.zip

I can't get the opacity without specular and shadow is also wrong (square instead of snow like).

enzyme69 commented 4 years ago

GLTF Archive.zip

enzyme69 commented 4 years ago

IMG_6107

Not sure if this is related to transparentDuck, but maybe not.

enzyme69 commented 4 years ago

In more recent version of Blender, USD export, assigning Alpha and Transparency correctly will give a good USDZ, but occassionally still needing to "fixOpacity".

Screen Shot 2019-11-23 at 9 20 49 am