Return null if a material cannot be found