I think I ran into a bug. I think that Edges should be also hidden by a slice plane. Or is it on purpose? https://www.babylonjs-playground.com/#Y6W087#58
It is on purpose. We are not applying clipping planes to edge renderer
But we can add it if you want to create a feature request on the repo
@Evgeni_Popov could take a stab at it
Yes, I can have a look after I have finished unstacking my pending PRs.
Was this added already? If so, how would I be able to activate it?
No it has not been done yet.
You could create an issue in the github repo and point to this thread so that it does not get lost.
To enable using the clip planes configured at scene level do:
mesh.edgesRenderer.lineShader.options.useClipPlane = null;
To force disabling clip planes even if set at scene level do:
mesh.edgesRenderer.lineShader.options.useClipPlane = false;