The photosphere is tens to many hundreds of kilometers thick, which is a bit much less opaque than air on this planet. Because the higher A part of the photosphere is cooler than the lower aspect, an image with the Sun seems brighter in the middle than on the edge https://riverqwbfi.wikigiogio.com/796764/the_5_second_trick_for_sun