Revert "Revert "add material""

This reverts commit 260d73b413126ff9b0c7f5941722e88ba81e9667.