Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

IOS Spotlight Z-fighting issue

Discussion in 'General Graphics' started by unitynewb, Sep 11, 2017.

  1. unitynewb

    unitynewb

    Joined:
    Feb 22, 2009
    Posts:
    235
    I ran into this weird issue on IOS that does not happen on android or editor. The problem is it looks like the spot light is z-fighting with the surface its hitting. I have tried changing the camera's near clip to a higher and lower value and that has not helped.

    I think it has something to do with one of the shaders because it is only happening on certain areas, looks like only reflective surfaces. There are different shaders, not the same one so I don't think all the shaders are bad.
     
    Last edited: Sep 11, 2017
  2. unitynewb

    unitynewb

    Joined:
    Feb 22, 2009
    Posts:
    235
    Looks like this only happens on opengles2. I changed it to opengles3 and the problem went away.
     
unityunity