Skip to content

Commit

Permalink
Update TileCompressionPlugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Oct 17, 2024
1 parent 316d607 commit 3edfb18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/src/plugins/TileCompressionPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ export class TileCompressionPlugin {
for ( const key in material ) {

const value = material[ key ];
if ( value && value.isTexture ) {
if ( value && value.isTexture && value.generateMipmaps ) {

value.generateMipmaps = false;
value.minFilter = value.LinearFilter;

}

Expand Down

0 comments on commit 3edfb18

Please sign in to comment.