make a material pattern to be used in rendering