If you look at the edge of the mesh, towards the level elements. There is a line of polygons all the the way around the level, they are mapped with a "shadow" map. It's basically an alpha map that goes from white to black.This way we can make the transition from level elements to the dark shadow mesh really smooth.

Hope this clears it up, if not I can make a small tutorial for you showing how it's done.