I am using the native base layer picker from the Viewer with custom Imagery providers, and the default set of Terrain providers. I've been having a problem where billboards half-disappear beneath the terrain when the user switches from the basic ellipsoid to the STK meshes, and I haven't been very happy with the outcome when I set the billboard's heightReference to CLAMP_TO_GROUND, but it looks good when I disable depthTestAgainstTerrain.
The problem is that this value gets set to `true` any time the user selects the STK terrain provider from the dropdown. I don't see any event exposed to hook when this setting has been changed, and it seems sort of brute-force to just poll for it myself. Maybe there's some setting I can change that will turn this off on a per-provider basis, rather than changing the property on viewer.scene.globe directly?
Thanks,
James