canvasman Posted November 29, 2018 Share Posted November 29, 2018 Which renderer should I set as default in my game. I noticed that with WebGL renderer, when I tried with my laptop it was performing super slow. That was because chrome by default used the integrated GPU rather than the better one. That made me wonder if that happens on production environment, many players might never come back to give second try if the performance is so bad on the first try. I tried with Canvas Renderer and it works fine (+144 FPS) with "average" amount of sprites (relative to my game). Should I use forceCanvas: true by default and give users choice in settings if they want to use WebGL renderer instead if available? In what situations Canvas Renderer is better choice, does it perform better in old computers than WebGL renderer? Is it common that chrome doesn't pick the better GPU by default? My CPU: i5-4460 @ 3.20ghz Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 29, 2018 Share Posted November 29, 2018 Integrated GPU => turn off antialiasing and make sure you don't re-render parts of screen several times. If you cant do that, use CanvasRenderer by default. > Is it common that chrome doesn't pick the better GPU by default? There's "powerPreference" setting, I dont know if its already supported in browsers, but you can pass it in pixi renderer options and see if it helps. canvasman 1 Quote Link to comment Share on other sites More sharing options...
Exca Posted November 30, 2018 Share Posted November 30, 2018 You could also have an option screen and let player select what rendering to use. And then maybe have an FPS tracking system that notifies player that they could get better performance with another mode and then give a button to change renderer. canvasman 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.