Jump to content

sprite with mask has extract problem(false position or clip)


pencil_love
 Share

Recommended Posts

try it in dev.

pixijs.download/dev/pixi.js  or pixijs.download/dev/pixi-legacy.js

If it doesnt work, please post the demo, because there are so many bugs with masks and there were so many fixed, I really dont have idea what can be wrong in your case.

Yes, there can be a problem with bounds and moving stuff for extract.

If switching to dev doesnt work - I recommend to render it in texture and then use extract, like i mentioned here: https://github.com/pixijs/pixi.js/issues/6498#issuecomment-604397290 (referenced in pixijs wiki, so its a valid doc)

Nice picture btw!

Edited by ivan.popelyshev
Link to comment
Share on other sites

5 hours ago, ivan.popelyshev said:

try it in dev.

pixijs.download/dev/pixi.js  or pixijs.download/dev/pixi-legacy.js

If it doesnt work, please post the demo, because there are so many bugs with masks and there were so many fixed, I really dont have idea what can be wrong in your case.

Yes, there can be a problem with bounds and moving stuff for extract.

If switching to dev doesnt work - I recommend to render it in texture and then use extract, like i mentioned here: https://github.com/pixijs/pixi.js/issues/6498#issuecomment-604397290 (referenced in pixijs wiki, so its a valid doc)

Nice picture btw!

It run perfect after using renderTexture,thanks!Sorry for my bad search skill.I did not thought the answer is in pixi wiki

Edited by pencil_love
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...