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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

4 players split screen...impossible?

Discussion in 'Getting Started' started by alksan, Apr 10, 2015.

  1. alksan

    alksan

    Joined:
    Apr 10, 2015
    Posts:
    2
    hello folks,

    I'm reading the documentation/examples but still i cannot understand if is possible to create a 4 view (ala 4 players splitscreen) in Unity.

    I need that not for a game but to create a survelliance camera effect.

    But just the simple quad view it seems not possible to create. (just a fixed 4 camera views: front, side, top, 3d).

    Am I missing some info here?

    Thank guys!!!!!

    ps: I mean quad view into final rendered scene not in editor...i'm not such low level (just a bit above that XD) eheheheh
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,081
    You need 4 cameras, and 4 rendertextures. Assign each rendertexture to a camera. Create 4 materials, and assign each rendertexture to a material. Create 4 planes, and assign each material to one of the planes.
     
    Ryiah likes this.
  3. mholub

    mholub

    Joined:
    Oct 3, 2012
    Posts:
    123
    Or use Camera Viewport Rect setting which allow you to output camera only to the part of the screen.
    So create 4 cameras and set 4 different viewports.
     
    Kiwasi likes this.
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Yeah, for straight squares view ports will be better then RenderTextures
     
  5. alksan

    alksan

    Joined:
    Apr 10, 2015
    Posts:
    2
    hello folks,
    i want to thank you all for answering me, I really appreciate your suggestions, I really like this community , reading on it this week and found a lot of useful info for a newbie like me!!