Search Unity

Z-fighting with Single-Pass Stereo Rendering

Discussion in 'AR/VR (XR) Discussion' started by Tuni, Aug 18, 2016.

  1. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Hi,

    we have a lot of Z-fighting on all objects if we enable Single-Pass Stereo Rendering. The Z-fighting increases if the camera moves away from the 0 world position.

    I remember that this was once a problem in a 5.4 beta with Single-Pass Stereo Rendering disabled. This is a problem on PC and console.

    Has anybody similar problems or experiences?

    Greetings,

    Tim
     
  2. Fox-Den-Games

    Fox-Den-Games

    Joined:
    Sep 4, 2014
    Posts:
    1
    Yes, I recently struggled with horrible z-fighting issues on my terrain and water layer. I solved them by increasing the Clipping Plane's "Near" float to 0.2, and decreasing the "Far" float to as small as possible. The higher the Near plane/lower the Far plane, the greater precision the depth buffer has. That's my understanding anyway.
     
  3. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Ok, thank you. We will try this.