This should be an easy identification, but my google-foo is failing. Late 70's/early 80's. Two brothers. One a magic user, the other a technologist. They fight a war, I don't remember who wins. Hopefully I'm not conflating two novels here, but the magician sees magic as threads, which can be wove...