Skip to content

Commit

Permalink
Examples: Reduced webgl_tonemapping blurriness.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Oct 18, 2022
1 parent c4110f7 commit f3b1f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified examples/screenshots/webgl_tonemapping.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/webgl_tonemapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
const params = {
exposure: 1.0,
toneMapping: 'ACESFilmic',
blurriness: 1
blurriness: 0.3
};

const toneMappingOptions = {
Expand Down Expand Up @@ -87,7 +87,7 @@
);

scene = new THREE.Scene();
scene.backgroundBlurriness = 1;
scene.backgroundBlurriness = params.blurriness;

camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 );
camera.position.set( - 1.8, 0.6, 2.7 );
Expand Down

0 comments on commit f3b1f55

Please sign in to comment.