Author Topic: iOS outline artifacts  (Read 121 times)

Zilk

  • Newbie
  • *
  • Posts: 10
    • View Profile
iOS outline artifacts
« on: June 01, 2021, 10:59:36 PM »
Noticed there are some heavy artifacts (seem to be based on distance?) when building to iOS with outlines enabled. It's just at a certain distance from the camera the outlines seem to create some heavy artifacting. Is there any difference in the depth texture on iOS and PC? Tried it on Switch and the issue isn't present there.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7097
    • View Profile
Re: iOS outline artifacts
« Reply #1 on: June 01, 2021, 11:18:49 PM »
URP or builtin version?

Zilk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: iOS outline artifacts
« Reply #2 on: June 01, 2021, 11:20:29 PM »
URP

Zilk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: iOS outline artifacts
« Reply #3 on: June 02, 2021, 10:38:37 AM »
Noticed that if I switch Shader precision model to "Use full sampler precision by default" it goes away but is instead replaced by a very grainy noise.

I'm guessing the outline is generated based on camera depth? Noticed a lot of people have issues with depth precision on iOS since the default way to read it is low precision. Could it be the cause for this, any fix?
« Last Edit: June 02, 2021, 10:53:47 AM by Zilk »

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7097
    • View Profile
Re: iOS outline artifacts
« Reply #4 on: June 02, 2021, 10:58:59 AM »
Yes, normals are reconstructed from depth to find edges. Next update includes additional options that make the outline effect smoother so I hope those artifacts get away.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7097
    • View Profile
Re: iOS outline artifacts
« Reply #5 on: June 02, 2021, 01:24:49 PM »
The beta with the outline improvements is now available.
Please let me know how it goes in the same beta thread.

Zilk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: iOS outline artifacts
« Reply #6 on: June 07, 2021, 11:13:20 PM »
The outlines in the latest URP release you guys sent out tonight was amazing! The downscale really did the trick, a lot less aliasing and thicker outlines. Just perfect, thanks!

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7097
    • View Profile
Re: iOS outline artifacts
« Reply #7 on: June 07, 2021, 11:42:02 PM »
Good to know. Thanks!