There is also the idea of Euhemerism, the apotheosis of kings (or forebears). This would also lead to the idea of localized gods, with unfamiliar gods being pagan. Julian Jaynes runs his fascinating theory of consciousness through the Euhemerist view, which gives a whole new perspective to the early psychology of religion.
Early man may have felt a profound connection to the greatness of a particular landscape, rooting himself to a holy place or a god of some locale; he may have been spoken to by the authoritative voice of a deceased king or forebear in times of distress. It's fascinating to trace the historical notions of gods and God, and then to see that our modern lives still find us in spiritual connection with our natural world, and receiving wisdom from those no longer with us.