Skip to content

Commit

Permalink
Update BatchedTilesPlugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Oct 17, 2024
1 parent 3edfb18 commit 82884e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions example/src/plugins/batched/BatchedTilesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,10 @@ export class BatchedTilesPlugin {
wrapS: map.wrapS,
wrapT: map.wrapT,
wrapR: map.wrapS,
generateMipmaps: map.generateMipmaps,
// TODO: Generating mipmaps for the volume every time a new texture is added is extremely slow
// generateMipmaps: map.generateMipmaps,
// minFilter: map.minFilter,
magFilter: map.magFilter,
// magFilter: map.magFilter,
};

const arrayTarget = new WebGLArrayRenderTarget( map.image.width, map.image.height, instanceCount );
Expand Down Expand Up @@ -270,7 +271,7 @@ export class BatchedTilesPlugin {
wrapS: arrayTarget.texture.wrapS,
wrapT: arrayTarget.texture.wrapT,
generateMipmaps: arrayTarget.texture.generateMipmaps,
// minFilter: arrayTarget.texture.minFilter,
minFilter: arrayTarget.texture.minFilter,
magFilter: arrayTarget.texture.magFilter,
};

Expand Down

0 comments on commit 82884e1

Please sign in to comment.