How bright a star appears to us on Earth depends MAINLY on:

the age of the star
your position on Earth
The composition of the star
the stars distance from Earth

the stars distance from Earth.