diff --git a/src/components/D3Panel.js b/src/components/D3Panel.js index 080642b..a912b96 100644 --- a/src/components/D3Panel.js +++ b/src/components/D3Panel.js @@ -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(); diff --git a/src/d3/createScene.js b/src/d3/createScene.js index e187bdc..9987e7c 100644 --- a/src/d3/createScene.js +++ b/src/d3/createScene.js @@ -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(),