How to set 2 cameras with one overlaying the main camera with the same world ?
I want to have 2 cameras on my scene. Camera1 is filming the real scene, camera 2 is for the parallel scene. Booth positions are the same. I wanted to keep the same scale for each one. What the player should see is what camera1 is filming overlaid by a part of what camera 2 is filming.
I proceed by a normal camera1 (the main camera). I have the camera 2 that renders into a Render Texture. I created a Canvas > Image (for the mask) > Raw Image (for the render texture). My Canvas is Screen space - Overlay.
The problem I have is that the "streaming" of the camera2 hasn't the same scale than camera1 . The 2 worlds aren't seamless merged. I don't know what to do.
The result :
The expected result :
pbcama12.png
(13.6 kB)
cz226fk.png
(84.9 kB)
Comment