Screenshots from all cameras


#1

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.


#2

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.


#3

Thank you @brianzinn