Init materials and add localization