Search Unity

extreme aspect ratio camera projection

Discussion in 'Scripting' started by TheCheese, Nov 10, 2014.

  1. TheCheese

    TheCheese

    Joined:
    Nov 25, 2009
    Posts:
    82
    Hi,

    I'm working on a project implementing a panorama display (3840 x 800). After some testing I've noticed that simply setting the resolution to these numbers results in a very warped image in the outer 2/3rds of the display (far left and far right).

    While I've looked into some of the math behind the camera projection matrix, I suck at math and can't get very far before I'm in way over my head. If someone could help me understand what the problem is here and how to come to a solution I'd be very grateful.

    Thanks!