Yes, in order to reproduce, fungi require light, either directly or indirectly. Direct sunlight is a major source of energy for fungi, and indirect sunlight provides the light necessary for the development of the hyphae (thread-like filaments) that form the fruiting bodies. Fungi do not produce chlorophyll, so they cannot photosynthesise like plants.