• Editor
  • Exporting Images not getting the Slot Color

Hello,
I am having a problem with my exports. Before I remember I used to export my Binary files and the ones that I colored they used to be exported with the spine colored applied (not the photoshop original image one)

Now, regardless how many changes or attempts I make the spine colored ones just don't detect the color when I export.

The above images are my regular configurations.

  • Misaki ответили на это сообщение.
    Related Discussions
    ...

    Leo First, let me confirm your question. Are you hoping that the colors of each part image included in the texture atlas page exported based on slot colors will change? If so, Spine does not have a feature to change the color of the image itself. Only at runtime, the colors of attachments under each slot are changed based on the contents described in the skeleton data file.

    However, if the issue is that the slot color does not change at runtime, this is not an export setting issue. It is possible that the runtime you are using does not support tint, or that the shader you are using is incorrect. Could you please check if the slot color is the expected color at runtime?

    Yes, it is the expected at runtime.

    So, the color in the runtime can be exported? I mean, maybe I am missing something here.

    Ok, basically I need that the colors I applied over some slots to be applied in Unity. Maybe the poblem is a configuration in Unity that my developer changed and he doesn't know?

    • Misaki ответили на это сообщение.

      Maybe a parameter

      Leo If you are not getting the correct slot colors in Unity, the shader settings or the SkeletonAnimation component settings may be incorrect. Please refer to the description of the tint shader in the Shaders section of the spine-unity runtime documentation:
      https://esotericsoftware.com/spine-unity-rendering#Shaders

      @Leo What color are you talking about? Do you mean the Slot color, or have you enabled Tint Black and do you mean Tint Black color, or some other color? Could you share a screenshot of what color setting you mean?

      Could you perhaps share a screenshot of your SkeletonAnimation component settings, especially the Advanced section? Please also share a screenshot of your Material asset Inspector settings.

      Hello, I mean this in the image below:

      That is in Setup mode. When I export I don't get that color in Unity (in the chest)

      About the other, where exactly is the SkeletonAnimation parameter? Unity? I am only working with the Spine side if the project, do you want me to request that to my coworker?

      • Misaki ответили на это сообщение.

        Leo The SkeletonAnimation component is available in Unity. If the problem occurs in Unity, you should ask the person responsible for its implementation to post a question in this forum.

        Ok, what about I just shared? the Image above. Should the color be apply at exporting ?

        • Misaki ответили на это сообщение.

          Leo Slot color information is stored in the skeleton data. In other words, it is stored in the .skel.bytes file. In general, you don't need to do anything special to apply the slot colors you set in Unity. So if you don't get the correct colors in Unity, there is probably a problem with the material settings in Unity.

          • Harald ответили на это сообщение.
            5 дней спустя

            Misaki So if you don't get the correct colors in Unity, there is probably a problem with the material settings in Unity.

            Also check whether perhaps Advanced - PMA Vertex Color has accidentally been disabled at the SkeletonAnimation component when using a spine-unity shader.