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.

PG:
https://playground.babylonjs.com/indexStable.html#X145DP

Please click on the sphere to generate screenshots.

I changed it to BABYLON.Tools.CreateScreenshotUsingRenderTarget and it worked.
https://playground.babylonjs.com/indexStable.html#X145DP#1

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

1 Like

Thank you @brianzinn