Hi everyone,
I’m currently working on a measurement tool in CesiumJS.
When creating a polyline entity with a Cesium.CallbackProperty for its positions, the depthFailMaterial does not appear to take effect. The polyline renders correctly above terrain/tiles, but when occluded (behind terrain or a 3D tileset), it does not render with the fallback material colour. However, when positions is set as a static array instead of a CallbackProperty, depthFailMaterial works as expected.
Has anyone else run into this, or is there a known workaround for using depthFailMaterial alongside CallbackProperty positions?
