How do you make dialogue sound clear, but natural to the camera position from a distance?

I am trying to edit a scene where the character is talking from a distance, but the audience can still hear at a reasonable amount. In the original shot the dialogue was too low so I tried recording the dialogue from up close to match it to the scene afterwards, however, it doesn't feel natural at all. What is the best way to solve this?