Search Unity

Question Mirror Camera along the X Axis

Discussion in 'Unity MARS' started by macgregger, Oct 20, 2022.

  1. macgregger

    macgregger

    Joined:
    Feb 13, 2018
    Posts:
    28
    Hello there,

    I am trying to make a digital mirror to test clothing in AR. I have connected my Ipad to a wall-mounted screen and positioned the Ipads Front Camera towards the room, so it can track my body.

    Now I need to mirror my video output or my Unity camera along the x-axis (horizontally), so my body in mirrored on the TV.

    Any idea on how I could achieve this?

    Thx
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    Hello @macgregger,

    For this you will need to get the final rendered image and flip it on the horizontal axis without displaying what the camera sees. I would suggest looking into a post processing effect to achieve the flip.