Added uniform binding code to material.