its just baking the shadow (with a c_trace determining if a "pixel" can see the sun, then it is dark, else bright)

then a smoothingroutine runs over it, just the same way as you smooth pictures in a 2d Program