Flattened render method into one big switch.
Broke up one big super shader into lots of single-purpose shaders.