There’s no automatic way of doing that, you will need to change the font size yourself depending on the distance from the camera to the 3D point.
Or you can try another technic: How to show text above a mesh
There’s no automatic way of doing that, you will need to change the font size yourself depending on the distance from the camera to the 3D point.
Or you can try another technic: How to show text above a mesh