Is there any way to activate or desactive premultiplied alpha?. Since when exporting it in PNG the black borders are seen.
I want to visualize it without those borders and see the final result. I want don't wait and see it in the game. Pls
Active premultiplied alpha in Spine
- 수정됨
Hi,
You can uncheck Premultiply alpha
on the Texture Packer Settings window and it allows you to export without premultiplying. Please see this page of the User Guide for more information:
Texture packing - Spine User Guide: Settings
Hi, Thanks.
I do not want to package it, I know that the image comes out in pieces with that option. I just want to export it to an image in its visual form of the character. (Export / Image / PNG)
I understand your question, but you may get something wrong. There is no pre-multiplication of alpha when you export PNG. Here is the comparison of the exported result:
The left side is the exported PNG and the right side is the exported PNG atlas texture using Premultiply alpha
option. You can see the difference by the color around the muzzle flash.
Therefore, I guess there is another cause for the black borders. Could you send your Spine project via email? : contact@esotericsoftware.com
Please write the URL of this post in the body of the email. We will investigate it and respond to you later.
CarlosOV wroteHi, Thanks.
I do not want to package it, I know that the image comes out in pieces with that option. I just want to export it to an image in its visual form of the character. (Export / Image / PNG)
Do the images you imported in Spine show the premultiply alpha borders inside the editor?
If so this means when unpacking them you may have forgotten to uncheck "unpremultiply alpha" in the texture unpacker settings:
Texture packing - Spine User Guide: Texture Unpacker