remove lights

not needed because of madcap
This commit is contained in:
casperlamboo 2017-11-23 19:28:24 +01:00
parent dc54647178
commit fe39018b2c
2 changed files with 0 additions and 12 deletions

View File

@ -113,12 +113,6 @@ class D3Panel extends React.Component {
this.plane.isBedPlane = true;
this.scene.add(this.plane);
const directionalLight = new THREE.PointLight(0xffffff, 0.6);
this.camera.add(directionalLight);
const ambientLight = new THREE.AmbientLight(0x505050);
this.scene.add(ambientLight);
this.shapesManager = new ShapesManager();
this.UIContainer = new EventObject3D();

View File

@ -37,12 +37,6 @@ export default function createScene(state, canvas) {
const renderer = new THREE.WebGLRenderer({ canvas, alpha: true });
const directionalLight = new THREE.PointLight(0xffffff, 0.6);
camera.add(directionalLight);
const light = new THREE.AmbientLight(0x505050);
scene.add(light);
const renderChain = new RenderChain(renderer, scene, camera, hasExtensionsFor.toonShaderThumbnail, {
plane,
UI: new THREE.Object3D(),