The total amount of glory is based on the siza of the war, more players, more glory at stake. The split is based solely on the rankings. Higher ranked alliance get less glory points. The bigger the spread, the bigger the difference between glory points won or lost, regarless of strengh.