3D photometric cosmic shear