I worked hard to have an image of a second camera drawn on the screen. It almost work
The picture is well drawn on the screen with drawScaledImage, but… the meshes are fully opaque and the environment texture (world) is translucent !
Of course I would like the world to be fully opaque.
Here is the project, if I could have an explanation (sorry it won’t be a zip as it’s not allowed) :
camera_drawScaledImage.blend (1.5 MB)
MyTrait.hx (1.0 KB)
Rotate.hx (869 Bytes)
Thanks in advance, I really hope it will work. And this time the environment texture seems to be OK for each camera.
Now it’s working
I had to draw a black rectangle under the image (why ? I don’t know).
Here is a sample project with a main camera and 2 PIP cameras drawn on the screen.