Preparation of fluorescent glasses with variable compositions