Refactors shaders