There are 13 building materials and 5 tiers of refinement. Materials are obtained from disassembling other items and as drops from killed mobs; they can also be traded or sold by other players. Items use different kinds of materials based on the attributes the material provides. The higher the quality of material, the higher the quality of the item. The recipe pages will have the lists of potential building materials. For a list of which items disassemble into which materials look at the Disassembles to table.