Digital simulation of daylight