Factor out shaders into partial