apply material as reference