In general, unless the light is coming directly through the window, most of the relevant wavelengths are filtered out ... However, if you have windows on your roof, which some people do, skylights, that makes the situation much, much better. In fact, the neurons that, in the eye, signal to the circadian clock and these mood centers in the brain reside mainly in the bottom two-thirds of the neural retina and are responsible for looking up. Basically, they're gathering light from above.