You could use the camera depth. I would make a material that displays black to white with the pixel depth node, apply it to everything in the environment, and export screen shots at runtime with a console command.
You could use the camera depth. I would make a material that displays black to white with the pixel depth node, apply it to everything in the environment, and export screen shots at runtime with a console command.