Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Distorted Camera in Landscape Mode

Discussion in 'Unity MARS' started by macgregger, Dec 6, 2022.

  1. macgregger


    Feb 13, 2018
    Hello MARS community,

    I am currently building a body-tracking app for Iphone that I mirror onto a big vertically mounted flatscreen via an Apple AV Adapter. The end result should be a sort of DIGITAL MIRROR INSTALLATION, where you can see yourself on the big screen and try on different clothes via hand gestures.

    To achieve the mirror effect (left hand up in front of the screen = right hand up in the app), I've created a render texture X FLip and used it as the Target Texture for the MARS Main Camera.
    I then created a plane with a new material X Flip Material and put it in the sceen above the simulation environment.
    Finally I created a second camera X Flip Camera that only films the render texture.

    On my TV however my phone is displayed as portrait on landscape. I want it portrait on portrait! I've rotated the TV 90 degrees to the left, but there is no setting on the TV to flip the image as well. So I am left with this result:

    My solution was to build the app in landscape. It worked fine in the simulator. But on my phone the image is distorted. Only in landscape mode however. When I rotate the phone to portrait the distortion is gone.

    Does anybody have an idea how to fix it?
  2. tamarahogle


    Aug 31, 2023
    That sounds like an exciting venture, exploring the world of TV animation with Unity and path tracing! Your work at Industrial Brothers is impressive, especially with shows on Netflix and Disney+. The idea of creating animated television faster, cheaper, and with better quality is a noble pursuit. Your sci-fi series concept for kids 6+ about tiny heroes in a high-tech forest setting sounds intriguing. I'd love to see the dioramas and the results of your Unity experimentation. And thank you for sharing your journey with us! For more details, please visit the blog/website at Loklok APP Version. It's definitely worth checking out to learn more about your innovative approach to TV animation...
    Last edited: Sep 4, 2023