loover Posted March 10, 2017 Report Share Posted March 10, 2017 Hi. How to turn on Bicubic or Billinear texture smoothing? Scaled image in Phaser (looks like Nearest algorithm is used): Scaled image in Photoshop: Quote Link to comment Share on other sites More sharing options...
samme Posted March 10, 2017 Report Share Posted March 10, 2017 Generally it depends on game.antialias (when the game is created, not afterward), and obj.smoothed (true/false) for any particular display object. But it won't necessarily look like PS. Quote Link to comment Share on other sites More sharing options...
loover Posted March 11, 2017 Author Report Share Posted March 11, 2017 Ofcourse antialias and smoothing is enabled. But PIXI.scaleModes have only NEAREST and LINEAR algorithms which can't produce a quality result. https://github.com/photonstorm/phaser/blob/v2.6.2/src/gameobjects/components/Smoothed.js https://github.com/photonstorm/phaser/blob/b6bef1ded9418dc23356c4c7366e967d052a8bdf/v3/src/components/ScaleMode.js 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.