Yeah it's not very clear, but actually all materials can pay for everything. Every material has a multiplier and that means how much each material is worth. So e.g. an upgrade cost 8 materials - that could be 16 tree material because the multiplier is 0.5 :)