• Unity
  • URP Spine Shaders for Deferred Rendering

The Unity 2021.2 beta now has a Deferred rendering mode, in addition to its existing Forward renderer. Since my game has a lot of point lights I wanted to compare performance, but it seems like the current URP Spine shaders make all my Spine objects vanish.

Obviously you guys aren't going to immediately rush to support a beta version of Unity, but I did want to raise the incoming feature so you know it's coming, and maybe it's worth taking a glance over the pretty decent docs I linked to above. I'd be interested to know if it's going to take a Great Deal Of Effort to support deferred, or if the changes to the URP shader package will be minimal?

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

Thanks for the info 🙂. Implementation effort would be estimated about as long as implementing e.g. the Spine URP 2D shaders. It might take a bit less effort, since lighting is handed over to the deferred lighting stage and not performed in the Spine shader (only the respective GBuffer attributes need to be filled with data). On the other hand I expect some other compatibility pitfalls that negate the saved time again.

Harald написал

Implementation effort would be estimated about as long as implementing e.g. the Spine URP 2D shaders

Oh wow, that's a significant piece of work then.

As much as I'd be interested in seeing what URP Deferred is like with my game, I imagine you've got half a dozen higher priority things to attend to first.

Perhaps make a note somewhere in the docs (perhaps here? Or perhaps on the module download page?) that only URP's Forward Renderer is currently supported?

Cranktrain написал

As much as I'd be interested in seeing what URP Deferred is like with my game, I imagine you've got half a dozen higher priority things to attend to first.

Unfortunately, yes.

Cranktrain написал

Perhaps make a note somewhere in the docs (perhaps here? Or perhaps on the module download page?) that only URP's Forward Renderer is currently supported?

You are absolutely right! I have added remarks to both shader sections below, as deferred rendering is not supported when using the normal pipeline either:
spine-unity Runtime Documentation: URP Shaders Extension UPM Package
spine-unity Runtime Documentation: Shaders