Open nminhhoangit opened 3 years ago
You can try deleting this line in Assets/WebGLTemplates/Better2020/index.html
Be aware that higher-res = lower performance
You might also consider something like
config.devicePixelRatio = Math.min(config.devicePixelRatio, 2); // or 3 etc.
Some phones are as high as 4 I believe which is up to 16x slower than 1
hey @greggman! Just curious - do you intend to persist that change? Because I just faced the same issue and your solution helped.
@Enigo, At the moment I don't intend to persist that change. You should just edit your local copy to do what's right for your app. There's no "one size fits all" solution here.
Your template work great on browser in pc. But when I open from mobile browser with fulldHD+ resolution it look very pixelated. This not happened on unity editor or build to android apk but only in webgl on mobile browser only.
Please help me to solve this. Thanks!