How to prevent the transparent object in front from being affected by the transparent object behind

image


Want the transparent object in front not to be affected by the transparent object behind

Hi @Shunrai1,

Would you mind providing a minimal Sandcastle example that reproduces your use case?

Depending on the exact result you are looking for, this may have to do with the fact that CesiumJS uses order-independent translucency by default.

Thanks,
Gabby

Hello,
Do you have the address for this demo? Thanks.

The URL from the screenshot works in principle:

https://bagnell.github.io/cesium/Apps/Sandcastle/gallery/OIT.html

(The globe itself won’t show, and it’s using an old version of Cesium, so it may not be soooo heplful, but maybe you’ll find what you’re looking for…)