CarlosOV

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
Avatar
CarlosOV
  • Postovi: 11

Misaki

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
Avatar
Misaki

Misaki
  • Postovi: 768

CarlosOV

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)
Avatar
CarlosOV
  • Postovi: 11

Misaki

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:
export-png.png

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.
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
Avatar
Misaki

Misaki
  • Postovi: 768

Erika

CarlosOV je napisao/la: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)
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
Avatar
Erika

Erikari
  • Postovi: 3085


Natrag na Editor