浏览代码

remove unneeded

Gregg Tavares 5 年之前
父节点
当前提交
1e9ed3d334
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      threejs/threejs-background-cubemap.html

+ 0 - 1
threejs/threejs-background-cubemap.html

@@ -26,7 +26,6 @@ import {OrbitControls} from './resources/threejs/r119/examples/jsm/controls/Orbi
 function main() {
   const canvas = document.querySelector('#c');
   const renderer = new THREE.WebGLRenderer({canvas});
-  renderer.autoClearColor = false;
 
   const fov = 75;
   const aspect = 2;  // the canvas default