#THREE.JS参数记录

Renderer

var renderer = new THREE.WebGLRenderer({
    canvas:document.getElementById('WebGL-output')
});

//or

document.getElementById('WebGL-output').appendChild(renderer.domElement);

setClearColor

renderer.setClearColor(new THREE.Color(0x000000,1.0));

Others

renderer.shadowMapEnabled = true;
renderer.setSize(w,h);

Scene

scene.add(mesh);
    
scene.fog = new THREE.Fog(0xffffff,near,far);
    

Camera

THREE.OrthgraphicCamera(left,right,top,bottom,near,far);

THREE.PerspectiveCamera(fov,//45
                        width/height,
                        near,
                        far);
                        

Geometry