Parse material nodes