https://vasturiano.github.io/three-spritetext/example/basic/
That is a bit tricky. You can try to compute the 2D AABB of a spite in screen space and then test if they are intersecting. If so, you hide the sprite with the higher z (depth) value.
2 Likes