Once you are using a good guitar, amp, cab and have the mic in the right place it is 100% down to the player.
Many times in the studio, I will be getting ready to track guitar for a band and the guitar sounds dull, phasey, lifeless.
I actually have a procedure for checking this so the guitarist doesn't know what I am doing.
I ask for the guitar to do a final string stretch and tune up then play a few chords and chugs.
9 times out of 10 the sound leaps out of the amp when I play it.
This leaves 2 options.
Tell him he needs play harder and clearer or accept that his sound will be less than perfect.
I will go with option A, unless I think that will grind the session to a halt, usually judged on how nervous he is and whether he will loose confidence.
For example, I recently reamped guitars for the new Bleed from Within EP.
When I ran the DI tracks into the amp, the sound leaped out of the amp the way you expect a pro touring band to sound.
A weekend warrior guitarists into exactly the same rig would sound nothing like that.
Short version: Play hard and accurately and don't bend strings when playing chords for a pro sound.