- 已编辑
Masking based on image shape?
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!
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
Ahh I see. That's too bad as we are not using unity. Thanks alot anyway badlogic.
Cheers~
Is there any plans to support this now that Pixi can handle sprite/image masks?
That'd be up to the pixi-spine maintainer.
Mario :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)
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.