Author Topic: Fog of War problem on iphone6s  (Read 5276 times)

deathguide

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
Fog of War problem on iphone6s
« on: June 21, 2016, 02:29:58 AM »
     When I use Fog of War on my iphone6s,  the blur area appears to Mosaic, see the attachment.

Need help!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fog of War problem on iphone6s
« Reply #1 on: June 24, 2016, 02:09:24 AM »
What happens when you move the camera around? Is it caused by a low resolution depth buffer, or is it related to texture filtering? What's your camera's near and far clip planes set to? I need a lot more information if I am to offer assistance.

deathguide

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Fog of War problem on iphone6s
« Reply #2 on: June 24, 2016, 04:17:18 AM »
             When I move camera, the fog area is right, but the blend area appears to Mosaic. (the area called BlurVisibility)

It just like mTexture0 mTexture1 use FilterMode.Point, but I don't change anything.   I don't know it caused by  mTexture0 mTexture1 or depth buffer,

camera's near and far clip planes are 0.3 and 1000.   By the way, my device uses 64bit system.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fog of War problem on iphone6s
« Reply #3 on: June 27, 2016, 07:04:24 AM »
Try playing with the far clipping plane and bringing it closer. I doubt you need the full 1000 judging by your screenshot. If that affects it, then the problem lies in the depth buffer resolution. If it doesn't, then the issue is with texture filtering. Perhaps iOS metal forces it to point filtering? What version of Unity is that with btw?