canvasman Posted March 24, 2019 Share Posted March 24, 2019 What are some situations when people don't want to use it? Is it safe to use devicePixelRatio in renderer resolution or do I need to do (devicePixelRatio || 1)? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 24, 2019 Share Posted March 24, 2019 That's a very difficult topic. Whatever I say, whatever I explain will not help you because EVERYONE use it wrongly first time. That topic was discussed too many times so you'll have to wait someone else to guide you through it. I recomend to try and watch for autoDensity and other params, for "renderer.screen.width" vs "renderer.view.width" . There are two systems - pixels and CSS , everything is done in CSS. 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.