Move this to `geometryPipeline`, again, to keep things at the same level of abstraction.  This function is for encoding positions, not projecting 3D to 2D.