very interesting
so the earliest predecessor and simplest eye according to your link, are found in 'eyespots'
The
eyespot apparatus (or
stigma) is a photoreceptive
organelle found in the flagellate or (motile) cells:
The eyespot apparatus of
Euglena comprises the paraflagellar body connecting the eyespot to the
flagellum. In
electron microscopy, the eyespot apparatus appears as a highly ordered lamellar structure formed by membranous rods in a helical arrangement.
[3]
In
Chlamydomonas, the eyespot is part of the
chloroplast and takes on the appearance of a membranous sandwich structure. It is assembled from
chloroplast membranes (outer, inner, and thylakoid membranes) and
carotenoid-filled granules overlaid by
plasma membrane. The stacks of granules act as a
quarter-wave plate, reflecting incoming photons back to the overlying photoreceptors, while shielding the photoreceptors from light coming from other directions. It disassembles during
cell division and reforms in the daughter cells in an asymmetric fashion in relation to the
cytoskeleton. This asymmetric positioning of the eyespot in the cell is essential for proper phototaxis.
[4]
Besides photoreceptor proteins, eyespots contain a large number of structural, metabolic and signaling proteins. The eyespot
proteome of
Chlamydomonas cells consists of
roughly 200 different proteins.
[6]
as above they require these:
without which- no advantageous response to allow selection.
So you just need something like the above to spontaneously appear in an individual through random mutation and you're well on your way!