Skip to content

Commit

Permalink
small
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Dec 6, 2024
1 parent 4d0e64e commit 97c6bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/viewer-html-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ const template = /* html */ `
this.entity.camera.horizontalFov = true;
this.entity.camera.farClip = bbox.halfExtents.length() * 20;
this.entity.camera.nearClip = this.entity.camera.farClip * 0.001;
// set NEUTRAL tonemapping until https://github.com/playcanvas/engine/pull/7179 is deployed
this.entity.camera.toneMapping = 5;
// set NONE tonemapping until https://github.com/playcanvas/engine/pull/7179 is deployed
this.entity.camera.toneMapping = 6;
if (bbox.halfExtents.length() > 100 || resetPosition || resetTarget) {
this.resetCamera(bbox);
Expand Down

0 comments on commit 97c6bea

Please sign in to comment.