Render position.z with an orthographic camera, to raw color:
Or something like that, depending on how you have things oriented.