Positioning the covered space away from the windows allows light to flow into the next room. By situating the roof next to a window or moving the covered area away from the house, you can ensure that sunlight continues to shine into your home. Additionally, the height and design of the pergola's roof can be adjusted to block direct sunlight while still allowing diffused light to enter the space.