Eliminate lengthy switch case for GlowPainting.