- Изменено
URP Shader Bug When On Edge of Shadow Cascades
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:
• 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!
Thanks very much for reporting, especially for adding the URL to the Unity forum thread!
This issue has just been fixed, a new 3.8 Spine URP extension package is available for download here as usual:
Spine Unity Download
Issue ticket for later reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/1814
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: