Browse Source

Add anti aliasing to the LDraw example

Garrett Johnson 6 years ago
parent
commit
7d2e5be900
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_loader_ldraw.html

+ 1 - 1
examples/webgl_loader_ldraw.html

@@ -97,7 +97,7 @@
 
 				//
 
-				renderer = new THREE.WebGLRenderer();
+				renderer = new THREE.WebGLRenderer( { antialias: true } );
 				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.setSize( window.innerWidth, window.innerHeight );
 				container.appendChild( renderer.domElement );