How to save SceneCaptureComponent2D to disk that looks as good as the editor?

how did you do this?