|Topic was automatically imported from the old Question2Answer platform.
I’m using a very simple fragment shader to project an animation of a rotating key (scene 1) into a mirror in my ‘main’ scene (scene 2). All is fine, except that the camera used in the ‘key’ scene requires an offset to center the key in the mirror … Also, the 2 background circles are centered behind the key (just a bit further away from the viewport camera), but they appear off-center in the mirror …
Am I doing something wrong, or is this expected behavior ?
Some info :
My shader receives the viewport texture from the ‘key’ scene and uses that ‘as is’ for the ALBEDO output.
The cameras in both scenes are centered on the mirror and the key respectively.
Edit : I also posted on Redit (small video), but I couldn’t get the image to appear … so, here I am. If I get an answer there, I’ll post it here as well.