I would like to show labels on the globe above terrain. Disabling depthTestAgainstTerrain is not an option since it is needed for other features. My problem is that the label ends up under the terrain as I zoom in, likely due to my custom terrain being somewhat inaccurate at lower zoom levels.
I am using HeightReference.RELATIVE_TO_GROUND, and what seems to be occurring is the height is set to the terrain height at a lower zoom level but does not update when zooming in. Is there a way to have Cesium use a different terrain layer to determine the height? Alternatively, I would be happy to simply increase the height relative to the ground, but I have not found a way to do this either.
Thank you
Mitchell
Thanks for the information. For now I have solved my problem by using sampleTerrain to determine the required height and added an additional amount before setting the entity position with Cartesian3.fromDegrees(). It is still clipped in a few instances where the point labeled is on a slope, but it serves my current purpose.
Thanks,
Mitchell