The property name you are using in the argument object of the WebGLRenderer
constructor is incorrect. According to the documentation,
the name of the property should be 'antialias'
, not 'antialiasing'
.
I tested it in Google Chrome for Mac OS and there was a noticeable smoothing in the rendering of edges in a demo featuring a spinning cube.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…