Skip to content

Commit 82884e1

Browse files
authored
Update BatchedTilesPlugin.js
1 parent 3edfb18 commit 82884e1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

example/src/plugins/batched/BatchedTilesPlugin.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,10 @@ export class BatchedTilesPlugin {
220220
wrapS: map.wrapS,
221221
wrapT: map.wrapT,
222222
wrapR: map.wrapS,
223-
generateMipmaps: map.generateMipmaps,
223+
// TODO: Generating mipmaps for the volume every time a new texture is added is extremely slow
224+
// generateMipmaps: map.generateMipmaps,
224225
// minFilter: map.minFilter,
225-
magFilter: map.magFilter,
226+
// magFilter: map.magFilter,
226227
};
227228

228229
const arrayTarget = new WebGLArrayRenderTarget( map.image.width, map.image.height, instanceCount );
@@ -270,7 +271,7 @@ export class BatchedTilesPlugin {
270271
wrapS: arrayTarget.texture.wrapS,
271272
wrapT: arrayTarget.texture.wrapT,
272273
generateMipmaps: arrayTarget.texture.generateMipmaps,
273-
// minFilter: arrayTarget.texture.minFilter,
274+
minFilter: arrayTarget.texture.minFilter,
274275
magFilter: arrayTarget.texture.magFilter,
275276
};
276277

0 commit comments

Comments
 (0)