http://www.palicanon.org/en/sutta-pitak ... cloak.html
budhist version of genesis.
10. ‘There comes a time, Vasettha, when, sooner or later after a long period, this world contracts.825 At a time of contraction, beings are mostly born in the Abhassara Brahma world. And there they dwell, mind-made, feeding on delight, self-luminous, moving through the air, glorious — and they stay like that for a very long time. But sooner or later, after a very long period, this world begins to expand again. At a time of expansion, the beings from the Abhassara Brahma world, [85] having passed away from there, are mostly reborn in this world. Here they dwell, mind-made, feeding on delight, self-luminous, moving through the air, glorious826 — and they stay like that for a very long time.
11. ‘At that period, Vāseṭṭha, there was just one mass of water, and all was darkness, blinding darkness. Neither moon nor sun appeared, no constellations or stars appeared, night and day were not distinguished, nor months and fortnights, no years or seasons, and no male and female, beings being reckoned just as beings.827 And sooner or later, after a very long period of time, savoury earth828 spread itself over the waters where those beings were. It looked just like the skin that forms itself over hot milk as it cools. It was endowed with colour, smell and taste. It was the colour of fine ghee or butter, and it was very sweet, like pure wild honey.
12. ‘Then some being of a greedy nature said: “I say, what can this be?” and tasted the savoury earth on its finger. In so doing, it became taken with the flavour, and craving arose in it.829 Then other beings, taking their cue from that one, also tasted the stuff with their fingers. They too were taken with the flavour, and craving arose in them. So they set to with their hands, breaking off pieces of the stuff in order to eat it. And [86] the result of this was that their self-luminance disappeared. And as a result of the disappearance of their self-luminance, the moon and the sun appeared, night and day were distinguished, months and fortnights appeared, and the year and its seasons. To that extent the world re-evolved.
13. ‘And those beings continued for a very long time feasting on this savoury earth, feeding on it and being nourished by it. And as they did so, their bodies became coarser,830 and a difference in looks developed among them. Some beings became good-looking, others ugly. And the good-looking ones despised the others, saying: “We are better-looking than they are.” And because they became arrogant and conceited about their looks, the savoury earth disappeared. At this they came together and lamented, crying: “Oh that flavour! Oh that flavour!” And so nowadays when people say: “Oh that flavour!” when they get something nice, they are repeating an ancient saying without realising it.
14. ‘And then, when the savoury earth had disappeared, [87] a fungus831 cropped up, in the manner of a mushroom. It was of a good colour, smell, and taste. It was the colour of fine ghee or butter, and it was very sweet, like pure wild honey. And those beings set to and ate the fungus. And this lasted for a very long time. And as they continued to feed on the fungus, so their bodies became coarser still, and the difference in their looks increased still more. And the good-looking ones despised the others ... And because they became arrogant and conceited about their looks, the sweet fungus disappeared. Next, creepers appeared, shooting up like bamboo..., and they too were very sweet, like pure wild honey.
Earth was prolly round but sunlight shone straight through till the earth ground started to form. So it gave a possibilty that the beings who also started to develop form could see the reflected light to see/know forms.