Skip to content

Commit

Permalink
Last update
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Dec 21, 2023
1 parent e7952c0 commit 2133b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/fadingTiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const params = {
fadeDuration: 0.25,
renderScale: 1,
displayActiveTiles: true,
fadingTiles: '0 tiles',
fadingGroundTiles: '0 tiles',

};

Expand Down Expand Up @@ -88,7 +88,7 @@ function init() {
gui.add( params, 'errorTarget', 0, 100 );
gui.add( params, 'fadeDuration', 0, 5 );
gui.add( params, 'renderScale', 0.1, 1.0, 0.05 ).onChange( v => renderer.setPixelRatio( v * window.devicePixelRatio ) );
gui.add( params, 'fadingTiles' ).listen().disable();
gui.add( params, 'fadingGroundTiles' ).listen().disable();
gui.open();

gui.children[ 4 ].domElement.style.opacity = 1.0;
Expand Down Expand Up @@ -126,6 +126,6 @@ function render() {

renderer.render( scene, camera );

params.fadingTiles = groundTiles._fadeGroup.children.length + ' tiles';
params.fadingGroundTiles = groundTiles._fadeGroup.children.length + ' tiles';

}

0 comments on commit 2133b27

Please sign in to comment.