ozRocker Posted May 23, 2018 Share Posted May 23, 2018 Are we meant to be using <meta name="viewport" content="width=device-width" /> so everything fits into the viewport on mobile devices? 'cos when I use this line the viewport will not render using retina display and I get a fuzzy render from the canvas. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted May 23, 2018 Share Posted May 23, 2018 https://dbushell.com/2013/09/10/css-fixed-positioning-and-mobile-zoom/ sounds like some scaling is happening. Ohh btw @ozRocker I have a meeting this weekend in New York to discuss some 3d photo scanning rigs. Would you be available for a conference call perhaps, if so please PM me. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 23, 2018 Share Posted May 23, 2018 We use that for most of bjs sites: <meta name="viewport" content="width=device-width, user-scalable=no"> Also keep in mind that by default babylonjs will limit the DPI scaling to 2. You can play with the hardware ratio with engine.setHardwareScalingRatio(0.5) Quote Link to comment Share on other sites More sharing options...
ozRocker Posted May 24, 2018 Author Share Posted May 24, 2018 4 hours ago, Deltakosh said: We use that for most of bjs sites: <meta name="viewport" content="width=device-width, user-scalable=no"> Also keep in mind that by default babylonjs will limit the DPI scaling to 2. You can play with the hardware ratio with engine.setHardwareScalingRatio(0.5) Awesome! That completely solved all my problems. I didn't realise you could apply hardware scaling to desktop screens as well. Now all my demos look twice as good btw, its actually engine.setHardwareScalingLevel() Quote Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2018 Share Posted May 24, 2018 yes I just can't remember the name I chose 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.