second, if the enclosure is glass, then sun could easily cause it to overheat immensely , other then that, I don't see an issue with it, mines near a window.....but not next to it, my Cham loves to look outside the nearby window. It also provides more visual light, and also helps the Cham get a sense of daytime / nighttime.