Answer :

Apparent magnitude depends mainly on the brightness of the object as seen from an observer on Earth. This is taken into account without the effects of the atmosphere.