File tree 1 file changed +4
-3
lines changed
example/src/plugins/batched
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -220,9 +220,10 @@ export class BatchedTilesPlugin {
220
220
wrapS : map . wrapS ,
221
221
wrapT : map . wrapT ,
222
222
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,
224
225
// minFilter: map.minFilter,
225
- magFilter : map . magFilter ,
226
+ // magFilter: map.magFilter,
226
227
} ;
227
228
228
229
const arrayTarget = new WebGLArrayRenderTarget ( map . image . width , map . image . height , instanceCount ) ;
@@ -270,7 +271,7 @@ export class BatchedTilesPlugin {
270
271
wrapS : arrayTarget . texture . wrapS ,
271
272
wrapT : arrayTarget . texture . wrapT ,
272
273
generateMipmaps : arrayTarget . texture . generateMipmaps ,
273
- // minFilter: arrayTarget.texture.minFilter,
274
+ minFilter : arrayTarget . texture . minFilter ,
274
275
magFilter : arrayTarget . texture . magFilter ,
275
276
} ;
276
277
You can’t perform that action at this time.
0 commit comments