• Runtimes
  • Spine Web Player Blending Modes Not Working

  • Изменено
Related Discussions
...

Spine web player blendmodes is not using blendmodes when the backgroundColor of the player is set transparent.
Is there a way to fix it?

I am blending multiple animations with a transparent background and it works fine. You probably need to send the devs more infos if you want to be helped

Yes, plus show us a working example to reproduce the issue. Include information on what you expect to see, and what you actually see.

5 месяцев спустя

I attached a file to show the problem that I'm having with the blending modes.

The blending modes in Photoshop and Spine2d looks the same, and I'm expecting to have the same result in the canvas rendered with webgl. But unfortunately there are some problems.

I'm assuming because the backgroundColor of the canvas player is set transparent == 0 == Black and that's why it is not working. But do you guys think there is a workaround for it?

Here are the export settings from Spine2d

The blending in your image certainly doesn't look right for "Spine web canvas". Some blending modes, like additive, don't make sense to blend on top of transparent. For example, additive blending over a transparent background will always give you transparent (described ([Spine web player]: bug with translucent player?)[here]). It doesn't make logical sense, so if your background is transparent you probably don't want to use additive blending. Do you get the expected results when your canvas has a background color?