loover Posted March 10, 2017 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: Link to comment Share on other sites More sharing options...
samme Posted March 10, 2017 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. Link to comment Share on other sites More sharing options...
loover Posted March 11, 2017 Author 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 Link to comment Share on other sites More sharing options...
Recommended Posts