Jump to content

What does this mean: game.renderer.renderSession.roundPixels = true;


yltang
 Share

Recommended Posts

I'm using roundPixels = true to keep my center aligned text crisp since it often landed at fractional pixels and blurred, making it look different than the left aligned text on the same screen.

 

Rich, are there any performance costs associated with this setting?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
  • 3 weeks later...
On 3/2/2016 at 11:28 AM, lukaMis said:

this.game.renderer.renderSession.roundPixels = true;

 

Can that be set in like Boot state or it needs to be in main game state?

 

Create state works for me, wouldn't put it in the main game state (if that's what you mean as a boot state) :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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