Worked on shading, material pipeline works and textures get send to the
shader. Also improved architecture of the mesh code by using member
function pointer.