Hello,
I tried to load 3DTiles of citymodel on Cesium for Unity.
It seems alpha texture is ignored.
Is alpha textutre not supported yet ?
model data :fbx,
texture :png,
alpha mode: clip,
converting tool: Ion and model-tiler (both tried)
Thak you,
Yes, you’re right, it’s not supported yet. I’ve written an issue to track it here:
opened 09:38AM - 25 Jan 23 UTC
enhancement
For reference, similar support was added to Cesium for Unreal in this PR:
https… ://github.com/CesiumGS/cesium-unreal/pull/898
Requested on the community forum:
https://community.cesium.com/t/alpha-textutre-support/22069
1 Like
Thank you for quick reply.
We are looking forward to the day.
Hi,
Translucent textures work for me in Cesium for Unreal now, if setting the alpha component of baseColorFactor to under 0.996 as suggested as a workaround in the topic linked below. I can see that the Unreal PR is linked from the issue, I guess there hasn’t been any progress since then? Anyhow, the 0.996 limit should probably be considered there as well.
I was testing with the Melbourne tileset in the examples project (which is entirely opaque) and giving it a translucent material. I didn’t see any obvious artifacts, which I took to mean it was doing correct depth testing. But when I looked closer just now, I saw some. I think it wasn’t obvious at first because Melbourne has very small tiles.
So, digging into this a bit more (but only a little), I think the proper solution is to separate translucent primitives from opaque ones, and use the app…