Just an option. Take in count the normal of the side which the label belongs to and compute visibility, based on dot product of the normal and the ray from the camera to the position of the label.
https://jsfiddle.net/prisoner849/Lgd0sm1q/
Pretty much like there: Way to hide Points if geometry is seen from backside?, but on the side of javascript.
3 Likes