Pair-Compton cascading in a spatially varying anisotropic radiation field