• Unity
  • URP Shader Bug When On Edge of Shadow Cascades

  • Изменено
Related Discussions
...

Hiya, I've been using the latest URP Spine Shaders, but there's a black banding problem whenever the Spine object is right on the edge between two shadow cascades:

A pretty serious artifact issue!! This problem is present in Unity 2019.3 and 2020.1.

I thought about sending a project but didn't because it's very easy to reproduce:

  1. • Create Unity URP project with Spine.

  • • Add a SkeletonRenderer, material to Universal Render Pipeline/Spine/Sprite and set Receive Shadows on.

  • • Move this Spine object to the edge of two Shadow Cascades, relative to the camera... and there's the banding.

I wonder if it may be because of a Unity shader change earlier in the year because this thread on the Unity forums seems to detail a similar issue with a custom Terrain Shader. Lots of frustrated graphics programmers in that thread...

Thanks!

I can confirm the bug is fixed!

Distributing an update in less than a day, nice one Harald!

Glad to hear, thanks for letting us know!
And thanks for your kind words. :nerd: