I'm trying to create a specific type of 3D object in three.js.
I want for example a cube in wireframe mode (so only edges shown).
But I want the edges that are behind to be dashed.
Illustration:
I don't know if this is feasible with three.js or if I should try directly with webgl.
Should I use THREE.Mesh
in wireframe or THREE.Line
with LineDashedMaterial
or maybe both on top of each other?