浏览代码

Examples: Clean up

Mugen87 7 年之前
父节点
当前提交
44a23f4bd0
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      examples/webgl_postprocessing_dof2.html

+ 1 - 3
examples/webgl_postprocessing_dof2.html

@@ -96,8 +96,6 @@ Use WEBGL Depth buffer support?
 				renderer = new THREE.WebGLRenderer();
 				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.setSize( window.innerWidth, height );
-				renderer.setClearColor( 0xffffff );
-				renderer.setClearAlpha( 1.0 );
 				container.appendChild( renderer.domElement );
 
 				material_depth = new THREE.MeshDepthMaterial();
@@ -527,7 +525,7 @@ Use WEBGL Depth buffer support?
 					scene.overrideMaterial = null;
 
 					// Render bokeh composite
-					
+
 					renderer.render( postprocessing.scene, postprocessing.camera );