Add material resource