Multi-functionality of luminescent glasses for energy applications