Cytotoxic T lymphocyte (CTL)-mediated killing of virus infections and tumors occurs over a wide range of conditions. The spatial environments in which CTLs encounter target cells vary from narrow vessels, to two-dimensional epithelial tissues, to densely populated 3-dimensional (3D) T cell areas within lymphoid tissues. How such spatial environments alter the functional response of CTL-mediated killing, i.e., how the killing efficiency depends on cell densities, is unclear. In this study, we perform cellular Potts model simulations in different spatial configurations to investigate how the dimensionality of the space affects the functional response of CTL-mediated killing. Irrespective of the spatial configuration, the function with separate saturation constants for CTL and for target cell densities that we previously proposed can in all cases describe the response, demonstrating its generality. However, the tissue dimensionality determines at which cell densities the killing rate starts to saturate. We show that saturation in a fully 3D environment is stronger than in a "flat" 3D environment, which is largely due to accompanying differences in the CTL-target encounter rates.