Skip to content

Commit

Permalink
render bg color change
Browse files Browse the repository at this point in the history
  • Loading branch information
harshcrop committed Dec 27, 2023
1 parent 7a804ee commit 939402a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/trackball-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ THREE.TrackballControls = function (object, domElement) {
ROTATE: 0,
ZOOM: 0,
PAN: 2,
TOUCH_ROTATE: 3,
TOUCH_ROTATE: 0,
TOUCH_ZOOM_PAN: 0,
};

Expand Down
2 changes: 1 addition & 1 deletion scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class App {

initRenderer = () => {
this.renderer = new THREE.WebGLRenderer({ alpha: true });
this.renderer.setClearColor(0x000000, 1.0);
this.renderer.setClearColor(0x141416, 1.0);
this.renderer.setSize(window.innerWidth, window.innerHeight);
this.renderer.setPixelRatio(window.devicePixelRatio * 1.5);
this.renderer.shadowMap.enabled = true;
Expand Down

0 comments on commit 939402a

Please sign in to comment.