What is the primary factor that Apparent Magnitude ($m$) depends on besides the star's intrinsic light output?

Answer

The distance from Earth

Apparent magnitude is a measure of observed brightness, meaning it is dependent on both the star's actual energy output and its current distance from the observer on Earth.

What is the primary factor that Apparent Magnitude ($m$) depends on besides the star's intrinsic light output?
astronomystarbrightnessScalestellar magnitude