To facilitate the integration of new shaders with their materials and lightning, the shading code needs to be refactored with OOP.