Create screenshot using render target - not selecting correct camera

in BABYLON.ToolsCreateScreenshotUsingRenderTarget, scene.render(); is before selecting the camera argument. In previous version this was working ok.

So just move scene.render() after the if (scene.activeCamera !== camera) {} check

Eh, using Babylon.js v4.2.0-rc.5

ok sounds good! thanks!

I’ll fix that!

1 Like