1

On my macbook pro with Chrome, the antialias works well.

pic on macbook pro with chrome However on my iphone6s with Chrome or Safari, it doesn't work anymore with the same code. pic on iphone with Safari

Wilt
  • 41,477
  • 12
  • 152
  • 203
  • Possible duplicate of [Antialiasing not working in Three.js](http://stackoverflow.com/questions/17224795/antialiasing-not-working-in-three-js) – Wilt Aug 18 '16 at 09:24
  • A tester can be found here: http://benchung.com/antialiasing-three-js/ – Wilt Aug 18 '16 at 09:24

1 Answers1

0

Have you set the pixelratio?

renderer.setPixelRatio(window.devicePixelRatio);
renderer.setSize(window.innerWidth, window.innerHeight);

Edit: iOS does not support antialiasing at the moment

Pim de Wit
  • 176
  • 9
  • That worked, I test in macbook pro window.devicePixelRatio is 2 and in iphone6s window.devicePixelRatio is 3. Thanks! – antonyzhang Aug 18 '16 at 09:45