Abstract. We study the effect on near-wall turbulence of tangential slip and wall-normal transpiration, typically produced by textured surfaces and other surface manipulations. For this, we conduct direct numerical simulations (DNSs) with different virtual origins for the different velocity components. The different origins result in a relative wall-normal displacement of the near-wall, quasi-streamwise vortices with respect to the mean flow, which in turn produces a change in drag. The objective of this work is to extend the existing understanding on how these virtual origins affect the flow. In the literature, the virtual origins for the tangential velocities are typically characterised by slip boundary conditions, while the wall-normal velocity is assumed to be zero at the boundary plane. Here we explore different techniques to define and implement the three virtual origins, with special emphasis on the wall-normal one. We investigate impedance conditions relating the wall-normal velocity to the pressure, and linear relations between the velocity components and their wall-normal gradients, as is typically done to impose slip conditions. These models are first tested to represent a smooth wall below the boundary plane, with all virtual origins equal, and later for different tangential and wall-normal origins. Our results confirm that the change in drag is determined by the offset between the origins perceived by mean flow and the quasi-streamwise vortices or, more generally, the nearwall turbulent cycle. The origin for the latter, however, is not set by the spanwise virtual origin alone, as previously proposed, but by a combination of the spanwise and wall-normal origins, and mainly determined by the shallowest of the two. These observations allow us to extend the existing expression to predict the change in drag, accounting for the wall-normal effect when the transpiration is not negligible.