hellmark0 Posted February 23, 2020 Share Posted February 23, 2020 Hi! How I can get rid of those diagonal lines? I use SImplePlane mesh and canvas renderer. Pixijs v5.2.1 legacy(I need canvas). The only one way I found is to change mesh blend mode, but that is not I need. https://prnt.sc/r6lb82 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 23, 2020 Share Posted February 23, 2020 (edited) there's a padding field for mesh, specially for canvas https://github.com/pixijs/pixi.js/blob/d01f885f487d1b04255aab4c0a34d60780f3d269/packages/canvas/canvas-mesh/src/Mesh.js#L35 Its used here: https://github.com/pixijs/pixi.js/blob/d01f885f487d1b04255aab4c0a34d60780f3d269/packages/canvas/canvas-mesh/src/CanvasMeshRenderer.js#L151 Welcome to the forums! Edited February 23, 2020 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.