mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-05 14:13:23 +01:00
remove lights
not needed because of madcap
This commit is contained in:
parent
dc54647178
commit
fe39018b2c
@ -113,12 +113,6 @@ class D3Panel extends React.Component {
|
|||||||
this.plane.isBedPlane = true;
|
this.plane.isBedPlane = true;
|
||||||
this.scene.add(this.plane);
|
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.shapesManager = new ShapesManager();
|
||||||
|
|
||||||
this.UIContainer = new EventObject3D();
|
this.UIContainer = new EventObject3D();
|
||||||
|
6
src/d3/createScene.js
vendored
6
src/d3/createScene.js
vendored
@ -37,12 +37,6 @@ export default function createScene(state, canvas) {
|
|||||||
|
|
||||||
const renderer = new THREE.WebGLRenderer({ canvas, alpha: true });
|
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, {
|
const renderChain = new RenderChain(renderer, scene, camera, hasExtensionsFor.toonShaderThumbnail, {
|
||||||
plane,
|
plane,
|
||||||
UI: new THREE.Object3D(),
|
UI: new THREE.Object3D(),
|
||||||
|
Loading…
Reference in New Issue
Block a user