jasonsturges Posted December 5, 2019 Share Posted December 5, 2019 Thought I've seen this topic before, maybe regarding alpha blending, but I'm failing to find an answer. My transparent PNG has fuzzy / blurry edges when zoomed using the pixi-viewport package. Original PNG: Pixi.js viewport when zoomed: The original source image does have a pixel bleed, but I'm wondering if there's any way to sharpen this up. This is a schematic viewer, where the user can zoom in to view details. Background image is fairly large, which might be a contributing factor. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 5, 2019 Share Posted December 5, 2019 texture.baseTexture.scaleMode = PIXI.SCALE_MODES.NEAREST doesn't help? jasonsturges 1 Quote Link to comment Share on other sites More sharing options...
jasonsturges Posted December 5, 2019 Author Share Posted December 5, 2019 @ivan.popelyshev Awesome - yes, that makes significant improvement. Have a few curved paths that become a little grainy with that scale mode, but that's minor. As always, really appreciate your help and insight! Thanks! ivan.popelyshev 1 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.