well, I guess the only option I can think of would be to have two darkness layers. one below the ground for the sun/moon light, and then one above the ground for any foreground lighting.
I am not 100% clear on what you want it to look like, so if that suggestion won't work then make a sample image showing what you are after - or a sample project to play with.