I’m working on camera transitions that involve drawing a RenderTexture OnGUI. The RenderTexture size is set to the Screen’s width and height and is displayed using DrawTexture at coordinates (0, 0). Despite this, it seems that the RenderTexture is always offset by a small amount when compared to its camera.
Transitioning from a camera to its RenderTexture is not very smooth. You can see a small pop as the RenderTexture seems to be offset compared to its camera. Why is this the case? What are some possible solutions to this problem?
Edit: It seems that a RenderTexture’s contents are always offset by 1 pixel upwards when compared to its camera. We’re missing a whole row of pixels on the top. How can we tackle this issue?