We have a 3D mesh that the user can select to draw splines on it. The splines are not added as children of the mesh, but as different objects that get the same points as the specific location where it was drawn on the mesh. These objects are added to a group that is added to the same scene of the mesh.
Both the mesh and the splines are set with transparent=true.
The problem is that when creating a spline, it is visible from both sides of the mesh. We want it to be visible only on the side of the mesh on which it was created, not on the other side of the mesh.
We tried to change the transparent value, the render order and the depth but nothing helped.
How can we achieve this?