menpo/landmarker.io

Add support for Retina/HiDPI displays

Closed this issue · 2 comments

This could maybe be a case of simply flicking a setting on THREE.WebGLRenderer:

renderer = new THREE.WebGLRenderer({ devicePixelRatio: window.devicePixelRatio || 1 });

it also might be worth updating THREE.js at the same time to take advantage of any recent improvements.

Based on that stack overflow r70+ has better handling of HiDPI, so we could bump to r71 which is a nice fresh release:
https://github.com/mrdoob/three.js/releases

closed by fbea0f8.