1. The room
2. The setup
3. The gear
However, I have found a significant difference in SQ among recordings. So much so that I grade each one D, C, B, A, A+ based solely on sound quality.
Almost makes a case for the album making the biggest impact on what you hear.