Re-output all materials.