How to prevent 3D Tiles from being occluded by terrain without setting scene.globe.depthTestAgainstTerrain = false?

Hi, I’m working on a project with Cesium and need some guidance. I’m trying to ensure that my 3D Tiles data are visible and not occluded by the terrain. However, I would prefer not to set scene.globe.depthTestAgainstTerrain = false, as I want to avoid global changes that might affect other elements in the scene.

Is there a way to configure the 3D Tiles or individual tileset settings to prevent terrain occlusion without altering the global depthTestAgainstTerrain setting?

Hi @mhrmsg,
Thanks for your post and welcome to the Cesium community.

This forums thread covers how to clamp a tileset to the ground when using terrain 3d tileset clamp to ground.

I am curious if in your current setup the tileset is fully or partially occluded by the terrain? I expect the guides linked in the forums thread will address your question, but please let us know if now and we would be happy to help further.

Best,
Luke