My goal is to visualize 3D graph with a renderign only based on the z-order, regardless of wether a node or an edge is selected or not.
From what I understand, I have to set every layer's stencil parameter to off and enable Z-Ordering.
But in this case, the rendering order is not respected for selected nodes and selected edges.
- Selected edges are drawn on top of nodes from the front, but behind unselected edges from the back.
- Selected nodes are drawn behind edges from the back.
The enclosed graph helps to see this behavior. Enabling perspective rendering and color interpolation makes it more obvious.