pixijs / spine-v8

PixiJS v8 port of the official spine runtime
https://pixijs.io/spine-v8/examples/
MIT License
38 stars 6 forks source link

fix: clipping not working properly #29

Closed davidetan closed 3 months ago

davidetan commented 4 months ago

This PR fixes a couple of problem with clipping:

I'm not an expert of RenderPipe, so let me know if I did some wrong assumption :)

GoodBoyDigital commented 4 months ago

hey @davidetan , do you have a spine file i could use to test this pls? I think there might be a way we can avoid the extra checks in addRenderable but would like to verify! thanks man

davidetan commented 4 months ago

hey @davidetan , do you have a spine file i could use to test this pls? I think there might be a way we can avoid the extra checks in addRenderable but would like to verify! thanks man

Sure, just use the basic example and change the animation from run to portal at this line: https://github.com/pixijs/spine-v8/blob/main/examples/basic.html#L45

davidetan commented 3 months ago

Close in favor of this: https://github.com/pixijs/spine-v8/pull/32