Select to view content in your preferred language

Z-fighting and flickering between elevated polyline and point feature layers in SceneView despite different elevation offsets

80
0
15 hours ago
SlavaL
by
New Contributor

Codepen Example: https://codepen.io/croiden/pen/NPxeWZo

When using two feature layers in a SceneView with elevationInfo.mode: "relative-to-ground" and different elevation offsets, we are experiencing z-fighting issues where the point layer flickers or becomes hidden when the polyline geometry overlaps the point locations. This occurs despite the polyline layer having a higher elevation offset (+50m) than the point layer (0m offset).

Expected Behavior

The polyline layer, which has an elevation offset of 50 meters above ground, should consistently render above the point layer (at ground level) without any flickering or occlusion, even when:

  • The geometries overlap in XY coordinates
  • The user zooms in/out
  • The user rotates the camera
  • The camera tilt changes

Actual Behavior

  1. Point features are hidden/occluded when polylines pass over them
  2. Visible flickering of point features occurs during camera movements (zoom, rotate, pan)
  3. The rendering order appears inconsistent despite clear elevation separation
Tags (1)
0 Kudos
0 Replies