bounce2

Hi guys, is there a way to use the clipping mask based on asset images shape, instead of having to draw out the vertex for them? Because sometimes the shape is very organic and more complicated, but masking might be required for some animation effects. So not sure how would you guys suggest doing it?

Currently I'm just drawing out the vertex using clipping mask too, however as there are no "feather" function in spine, the masking sometimes tend to be unnatural. haha.

Thank you so much! :)
bounce2
  • Postovi: 12

Mario

We currently don't support image based and feathered masks I'm afraid. The problem is that most our runtimes could not support this feature. However, if you are using Unity, you might have some luck using our new SpriteMask and RectMask support Blog: Unity SpriteMask and RectMask2D support
Avatar
Mario

Mario
  • Postovi: 3089

bounce2

Ahh I see. That's too bad as we are not using unity. Thanks alot anyway badlogic. :)
Cheers~
bounce2
  • Postovi: 12

JSpin

Is there any plans to support this now that Pixi can handle sprite/image masks?

https://pixijs.io/examples/#/masks/sprite.js
JSpin
  • Postovi: 25

Mario

That'd be up to the pixi-spine maintainer.
Avatar
Mario

Mario
  • Postovi: 3089

JSpin

Mario je napisao/la:That'd be up to the pixi-spine maintainer.
Are you saying that Spine now supports Sprite Masking in the editor and can export it but it's up to Pixi to support it??? (pixi can already to sprite masking as I understand it)
JSpin
  • Postovi: 25

Mario

Yes, it's up to the pixi-spine maintainers, who maintain the Pixi specific rendering code on top of our generic spine-ts runtime. We do not maintain pixi-spine.
Avatar
Mario

Mario
  • Postovi: 3089


Natrag na Editor