Gltf transparency issue

ParallaxRoom.glb (901.8 KB)

Folks,

I am seeing transparency issues in the attached model when loaded in CesiumJS. The same model appears fine elsewhere , for ex. in gltf.report.. This is basically a parallax cube I will be using in my CesiumJS project. There are 3 planes with alpha mask inside the model, which has images as a texture. The plane for the curtain is correct since it is translucent, but for the planes which contain furniture images, it is not. However, in CesiumJS, they appear translucent as you can see in the attached screenshot as well. Is this a limitation or a bug in CesiumJS? Is there a way to solve this?

Hi @Harsh_Sharma ,

Thanks for your post and sorry for the slow response.

I created an issue in the Cesium repo here glTF transparency issue · Issue #12909 · CesiumGS/cesium · GitHub with a note specifying that the issue can be resolved by clarifying this is a limitation in CesiumJS versus a bug.

Lets keep the conversation going there for now, and report back the eventual findings here.

Thanks,
Luke

workaround is not using AlphaMode = Blend when material alphamode = 1 (full opaque), see glTF transparency issue · Issue #12909 · CesiumGS/cesium · GitHub

1 Like