Search Unity

No MSAA in main display view - any solutions?

Discussion in 'AR/VR (XR) Discussion' started by argosy_ops, Aug 31, 2016.

  1. argosy_ops

    argosy_ops

    Joined:
    Dec 27, 2012
    Posts:
    49
    Hey everyone!
    I'm working on a game that uses the OpenVR interface for the HTC Vive. I want to achieve two things:
    • Allow spectators to view the ingame action on a TV screen
    • Capture the first person view output in full hd for videos
    Since the default configuration will only give me a low-resolution screen regardless of the build settings, my solution is to add an additional camera to the camera rig and set Target Eye to None (Main Display).

    This allows me to capture in any resolution my TV screen supports, but the problem is that there is no anti aliasing at all. The 8x MSAA settings apply to the VR view, but not the main display. Even if I try to force this through the nvidia drivers, it has no effect.

    I can't figure out why this is happening or how I could work around this. Any ideas?
     
  2. Figment_Beennn

    Figment_Beennn

    Joined:
    Feb 2, 2017
    Posts:
    2
    Just noticed this too. Anyone found a solution?
     
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    State Unity version and if forward rendering or not (would be silly if not).
     
  4. Figment_Beennn

    Figment_Beennn

    Joined:
    Feb 2, 2017
    Posts:
    2
    5.5.2f1 using forward rendering.
     
  5. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    There's a few fixes in 5.6 that could be relevant. Have you tried it on a copy of your project (not the original) to see if first it resolves the problem?

    If 5.6 fixes it for your copy of the project then your options become a) try latest 5.5x in case of backported bug fix b) ask unity for a backport bug fix or c) use 5.6

    If none of these work for you, then please file a bug report :)
     
  6. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Doesn't really sound like a Unity bug but hopefully someone will chime in.
     
  7. BlackPete

    BlackPete

    Joined:
    Nov 16, 2016
    Posts:
    970
    Sanity check question: Does your spectator camera get 8x MSAA applied if you turned off VR?