That’s because the camera defined in the sub scene may not see any mesh in your dropped scene, as it is in a fixed position / orientation, and the meshes of your dropped scene could well be behind it…
This PG uses the first camera defined in the loaded asset if it exists: try to drop the
I have changed the position of the default camera (line 72): try to drop
skull.babylon, you will see the skull is rendered even if no cameras are defined in the skull.babylon scene.
Also, you should wait for all assets of the scene to be ready before taking the screenshot, else you may end up with an empty picture: I used the
scene.executeWhenReady function for that.