Screenshots from all cameras

Hi, I am trying to take screenshots from all cameras.

For every camera, I am getting the screenshot of activeCamera only. Please help me.
Thanks in advance.


Please click on the sphere to generate screenshots.

I changed it to BABYLON.Tools.CreateScreenshotUsingRenderTarget and it worked.

Be mindful of when you are taking screenshots of meshes not visible as they may not be rendered.

1 Like

Thank you @brianzinn