The temples of ancient Egypt had long projections through series of arches or "pylons" that were oriented so the sun shone all the way down them to the altar at the end only at a particular time, such as the summer solstice. The priests used this effect to carry out ceremonies synchronizing their calendar with the seasons.

Temple of Edfu, photo by G. Rieke.