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

Related Discussions
...

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.