• RuntimesUnity
  • about transparency shader in Unity 6 with Spine 4.2.40 use built-in RP

Related Discussions
...

@suanLoBeach Set Advanced - Z-Spacing at the SkeletonAnimation component.
https://esotericsoftware.com/spine-unity-main-components#Setting-Advanced-Parameters
You likely want to set this parameter to a value other than 0.0 whenever writing to the Z buffer.

  • इस पर suanLoBeach ने जवाब दिया।
    • संपादित

    Harald oh, it's what i need ,thx

    I have another quastion, I wanna leaf is dynamic by vertex displacement,but stem is static, now they use the same material , so How can I make two different affect, I'll add teh code about vertex displacement into my custom spine shader, but there is only one material slot here, do i need to make two slot in spine and how to make it ?

    • इस पर Harald ने जवाब दिया।

      suanLoBeach I'll add teh code about vertex displacement into my custom spine shader, but there is only one material slot here, do i need to make two slot in spine and how to make it ?

      I'm not sure which Material slot you're talking about, but if you want different materials for different slots, see the SkeletonRendererCustomMaterials component.

      In general please always check out the spine-unity documentation pages first and the example scenes that come with the spine-unity runtime. For common tasks there is almost always an entry in the documentation or example scene available.

      • इस पर suanLoBeach ने जवाब दिया।

        Harald So the step of customizing the materials of multiple components is done in Unity? Is there anything I need to do in Spine?

        Harald I have know how to set custom material for any slot, thanks

        • इस पर Harald ने जवाब दिया।
        • Harald ने इसे लाइक किया।

          suanLoBeach Glad to hear you've figured it out, thanks for getting back to us.