I am looking for a way to display underground point clouds while keeping depth testing against terrain enabled.
Background
If I set depthTestAgainstTerrain = false
, BillboardGraphics beyond the terrain become visible, negatively affecting the scene’s appearance.
Thus, I need a solution to display underground point clouds while keeping depthTestAgainstTerrain = true
.
Conditions
The solution should prevent the point cloud from being hidden by the terrain without manually adjusting its height, under the following conditions:
terrainProvider
is set to CesiumWorldTerrain.viewer.scene.globe.depthTestAgainstTerrain = true
.- The point cloud is converted into 3D Tiles using the 3D Tiling Pipeline.
Thank you for reading!