Depthtest = false is failing when a mesh opacity is set

situtation, i have a mesh where you can draw line on top of it.
user can draw a line (THREE.Line) on top of it, the line is set to not have a depth value (depthTest=false).
however, when opacity of the mesh is set to say 0.5 and set backto 1.0 (full opacity), when drawing the line again, the line is drawn at the back of the mesh now and depthTest=false is failing.

any workaround or fix for this?

acshually, this sets whatever is behind it “to not have a depth value”. in order for the line itself to not have it, you would use depthWrite=false. this will not necessary fix your issue.