Using the console to specify resolution AND a depth mask

Hi

I did come across another thread about this, but the video tutorial provided is private and can’t be viewed. Unless it’s just no longer available anymore.

Basically, I love that you can use the console to specify the screenshot resolution by using ‘HighResShot’ followed by the resolution you want. The environment I have is completely black, however my screenshots keep including a faint white light at the back of the meshes, which makes it incredibly difficult to isolate them when compositing in Photoshop.
Using a custom Depth Mask solves this, but it doesn’t take that into account if you’re taking the screenshot via the console; only the Take High Resolution Screenshot option. And changing the multiplier slider just gives random resolutions. :-\

How would you go about including a depth mask with a specific resolution in the console? Alternatively, if that’s not an option, how would I solve the faint white glow? It only seems to happen when I’m taking screenshots in orthographic view.

Thanks