a star’s apparent brightness is dependent upon