Returns the background color in direction d.
If a light probe is setup, the color is taken from the probe, otherwise a uniform background color is used.