Browse Source

Fixed example. For some reason the clearColor was killing the shadows (and antialias, something to do with alpha I guess).

Mr.doob 13 years ago
parent
commit
f8a33248fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_geometry_colors.html

+ 1 - 1
examples/webgl_geometry_colors.html

@@ -157,7 +157,7 @@
 				group3.rotation.x = 0;
 				scene.add( group3 );
 
-				renderer = new THREE.WebGLRenderer( { antialias: true, clearColor: 0xffffff } );
+				renderer = new THREE.WebGLRenderer( { antialias: true } );
 				renderer.setSize( window.innerWidth, window.innerHeight );
 
 				container.appendChild( renderer.domElement );