Hi! We have a need to export project files as webp, but after export and open project in Construct we get artifacts, white pixel border around the textures, the textures doesn't have any white lines by it self, so not sure if that is wrong packing settings or issue with Construct.
Packer settings , webp issue
The issue you're experiencing with white pixel borders around textures when exporting as WebP could be related to the texture packer settings, specifically the handling of alpha transparency. One common cause of such artifacts is the use of premultiplied alpha settings, which can lead to unexpected results if not handled correctly in the target application, such as Construct. To address this, ensure that the "Premultiply alpha" option is unchecked in your texture packer settings. Additionally, verify that your export settings in Spine and import settings in Construct are consistent with handling straight alpha textures. If the problem persists, it might be worth checking if Construct has specific requirements or settings for importing WebP images.
Spinebot yes, thanks. I forgot to mention that uncheck "Premultiply alpha" didn't affect the result, and still same issue.
- Bearbeitet
C3 spine plugin is not mainted by us, but as far as I understood it uses our spine-webgl
under the hood.
In general, WEBP format gives problem only with PMA enabled and if the images are compressed.
The easiest solution should be to use the following settings for WEBP:
However, this does not perform any compression at all.
When you export with PMA disabled, are you sure that on C3 side PMA is also disabled?
In any case, be aware the non PMA textures don't fit well with blending modes.