tile with png file

32 views
Skip to first unread message

gadg...@gmail.com

unread,
Sep 10, 2019, 9:28:26 AM9/10/19
to cesium-dev
Hi,

I want to load cesium with png file as tiles in a way that the seas will be transparent, and users will be able to see the background instead of the blue in the map.
I am loading tiles with png file but instead of transparent I see blue color.
Is it possible?

thanks
Gad



Omar Shehata

unread,
Sep 10, 2019, 11:50:36 AM9/10/19
to cesium-dev
Can you share a Sandcastle example of your imagery layer, or an asset ID on ion? It should support transparency. Unless you mean that the imagery layer is indeed transparent, but you don't want the underlying globe color to show? 

If so, you could remove the base layer and change the globe color to a custom one: see https://cesiumjs.org/Cesium/Build/Documentation/Globe.html?classFilter=Globe#baseColor

gadg...@gmail.com

unread,
Sep 10, 2019, 12:02:46 PM9/10/19
to cesium-dev
Reply all
Reply to author
Forward
0 new messages