Making patterned material