• Editor
  • Exported PNG has a black edge

  • संपादित

Hi,
I'm trying to use Spine to export an animation sequence as .png , but the exported result is bugged. It has a "shadow" under the semitransparent images.
I will illustrate the problem with the following diagram.

Special instructions:My Spine versions is 4.1.23 , Picture mode is "add", Export Settings are as follows,

I'm very sorry. I don't know what I misunderstood. Hope to hear back.
Thanks

  • इस पर Misaki ने जवाब दिया।
    Related Discussions
    ...

    kongkong This should not be a bug. I think Nate's response in the following thread is helpful to understand how images using Additive blend mode will look in PNG export:
    https://esotericsoftware.com/forum/d/16743-png-export-with-additive-mode-does-not-look-like-in-editor

    • इस पर kongkong ने जवाब दिया।

      Misaki Thank for your reply. It's all right, but if use a gray background, it will not be the same as the original effect(on spine) after processing in Adobe Effects. So, Can export PNG directly like Photoshop? I just want a sequence of images with a transparent channel.

      • इस पर Misaki ने जवाब दिया।

        I tried to read the forums, but found no way to solve the problem. Maybe Spine doesn't have this feature yet?

        Sorry, I'm a Spine novice

        With additive blending the final result depends on the background you are drawing on top of. When your skeleton is drawn inside Spine, Spine draws each image and combines the additive images with the background. When exporting a PNG and drawing it, the image viewer (for example AfterEffects) doesn't know some parts should be additive. In fact there are not multiple parts, just one big image containing everything. PNG doesn't have a way to have some (or any) parts drawn additively.

        If your goal is to export a PNG of your whole skeleton with a transparent background, then you should not set any slots to use additive blending.

        • संपादित

        kongkong

        So, Can export PNG directly like Photoshop?

        No, unfortunately, if you export an image which is set to additive blend mode with transparent background in the PNG format, the result will look different from the output from Photoshop.

        However, since you are going to use the output PNG in After Effects, then I think it would be somewhat usable if you output it with a pure black background.

        For example, after exporting the following image from Spine:

        If the background of the composition is black, you can simply place the effect image in Additive blend mode; otherwise, duplicate the image, set the blend mode of the upper image to "Stencil Luma" to make the background of the effect transparent, and composite the resulting composition in Additive to use the black background area transparent. The effect composited on top of Spineboy's gun in the following image is the one using "Stencil Luma":

        Although the color will be different, you may want to use the "Luminescent Premul" blend mode to remove the black haze.

        In any case, the result will not be the same as Photoshop, and I think you may already know this way, but I just wanted to let you know just in case.

        • इस पर Nate ओर kongkong ने जवाब दिया।

          Misaki However, since you are going to use the output PNG in After Effects, then I think it would be somewhat usable if you output it with a pure black background.

          Great point! Exporting with a black background and using additive in AE is the right solution. 🌮

          • Misaki ने इसे लाइक किया।

          Misaki Although there are many small defects, it is indeed a better method at present. Thank you very much.

          • Misaki ने इसे लाइक किया।