I had the opportunity recently to teach a student learning to paint on real cakes to create a stained glass effect. Four cakes was stacked up and wrapped with fondant to get the height. In order to get the effect we used food paint and royal icing. It turn out quite well with some difficulty.