Turn shadow shaders into singletons.