See this sample
It basically takes a texture, let's call it the map texture, and uses each pixel as a lookup into another texture of sprite images.
In your case you'd change those tiles to ascii characters and you'd render your 3d scene to the map texture by attaching it to a framebuffer. In other words,
render your scene to a texture
use that texture as a lookup into another texture of ascii characters.