jayn Hi. So I just have a few animations that use the attachment colors in the editor. But at runtime, this also changes the color of other actors (assuming because they're in the same PolygonSpriteBatch). In my case it makes everything really bright, here's the GIF: https://i.imgur.com/3bEpQV3.gifv How can I fix this?
Mario It's hard to tell what's going on. Could you show us the code you use to load and render your asset, as well as the asset files themselves? If you don't want to share them here, you can send them to contact@esotericsoftware.com.
Nate It could be the blending function was changed. From SkeletonRenderer: This method may change the batch's blending function: Batch#setBlendFunctionSeparate(int, int, int, int). The previous blend function is not restored, since that could result in unnecessary flushes, depending on what is rendered next.
jayn Thanks for the replies. Sorry I forgot to put this code after skeletonRenderer.draw(): setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA) This fixed it for me.