Search Unity

ZFighting on one computer and not the other.

Discussion in 'Scripting' started by KitoCode, May 1, 2015.

  1. KitoCode

    KitoCode

    Joined:
    Jan 10, 2015
    Posts:
    11
    upload_2015-5-1_18-18-52.png
    My computer shows the players as the first image above.



    upload_2015-5-1_18-19-46.png
    While my colleagues computer shows them working 100%.



    We do not understand if this is exactly ZFighting or my graphics card.

    My graphics card is: NVIDIA GeForce GTX 560
     
  2. Samsquanch

    Samsquanch

    Joined:
    May 2, 2014
    Posts:
    1
    Make sure that your main camera's near clip plane is as big as possible, and the far clip plane is as small as possible. This will help to ensure that the depth buffer's precision isn't wasted. I experienced something very similar before and this was the solution found to work.
     
  3. RiokuTheSlayer

    RiokuTheSlayer

    Joined:
    Aug 22, 2013
    Posts:
    356
    Our problem was UV mapping actually. It's fixed. (for each face we made it map to the center of the pixel rather than the bottom left corner of the pixel)