Hopefully this should properly change materials.