Billboards transparency with terrain

Hello everybody,

I would like to make a question about billboards on a cesium map with terrain.
When I add a billboard on a hillside on the cesium map and I start turning the globe with ctrl left mouse button, the billboard is also visible to the other hillside.
The effect is like a transparency through the mountain.
Is there a way to remove that transparency with billboards on mountains?

Hi there!

Try turning on the depth test with terrain, like this:

viewer.scene.globe.depthTestAgainstTerrain = true;

``

Best,

  • Rachel

Hi Rachel!

Thank you so much for your reply! I had tried to check that value but my billboards were located under the terrain. I will try to apply an offset.