The bolometric magnitude of a star includes the total radiation output of the star (not just visible light). It is the magnitude that a star would have if all of its energy were included in the measurement. It includes the entire electromagnetic spectrum: X-rays, ultraviolet, infrared, gamma rays, etc. The ordinary magnitude of a star only takes into account the visible light that the star emits.