Refactor shaders.