Urban agriculture requires local water to replace 'hydrologic externalities' associated with food produced outside of the local area, with an accompanying shift of the water footprint (WF) for agricultural production from rural to urban areas. Water requirements of urban agriculture have been difficult to estimate due to the heterogeneity of shading from trees and buildings within urban areas. We developed CityCrop, a plant growth and evapotranspiration (ET) model that couples a 3D model of tree canopies and buildings derived from LiDAR with a ray-casting approach to estimate spatially-explicit solar inputs in combination with local climate data. Evaluating CityCrop over a 1 km2 mixed use, residential neighborhood of Vancouver Canada, we estimated median light attenuation to result in 12% reductions in both reference ET (ETo) and crop ET (ETc). However, median crop yields were reduced by only 3.5% relative to potential yield modeled without any light attenuation, while the median crop WF was 9% less than the WF for areas unimpeded by shading.