new algorithm to compute the color of the day/night time sky