• Unity
  • Skeleton Lit shader not compatible with new LWRP

  • Змінено
Related Discussions
...

There are some pretty cool shaders I'd like to start experimenting with using the new Shader Graph add on from Unity. That said, before adding the new packages to my project, I was using the Skeleton Lit shader for my spine assets because I have different light sources in my game and need the spine objects to have light affect them. After implementing Lightweight Render Pipeline into my project, the skeletons all turned pink. Using an unlit skeleton shader makes them appear as normal (but without light affecting them). I found a tutorial on how to make a Sprite Diffuse shader using the new shader graph. Implementing that worked for all of my other game objects but the skeleton spine objects are showing up as pure black figures. Link to the sprite diffuse shader graph here: https://www.febucci.com/2018/07/sprite-diffuse-shader/

I am at a loss right now on how to get my spine skeleton to show up properly in Unity using this new LWRP asset for graphics. If anyone has any insight into this, please let me know and much appreciated.

We are sorry that the Skeleton Lit shader has caused some problems with LWRP.
I will investigate what exactly has gone wrong here and will come up with a convenient solution for your problem.

You can subscribe to the issue ticket here: [unity] LWRP example scene and out-of-the-box support · #1255

Thank you Harald.

6 місяців пізніше

To keep you updated (in case you haven't subscribed to the issue ticket):

We have just recently finished development of a Spine LWRP Shaders UPM package that now provides support for the previously existing Spine shaders Spine/Skeleton Lit and Spine/Sprite/Pixel Lit and Vertex Lit which rendered pink due to not being supported in LWRP.
There will be an official release blog post soon (however, the Spine 3.8 release comes first). Further information is listed in this ticket if you are interested:
https://github.com/EsotericSoftware/spine-runtimes/issues/1255

3 місяці пізніше

Hello Harald, any progress about this shader?

Cool, thanks a lot!
And what about the new 2D Lights marked as experimental that came with the new LWRP?
Does Spine support them or for now we can only use 3D lights?

And, if not supported yet, do you plan to work on it?