Skip to content

Commit 314b681

Browse files
committed
Use NearestMipmapNearestFilter for minFilter
1 parent cd70314 commit 314b681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/webgl_loader_texture_ktx2.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
try {
9292

9393
const texture = await loader.loadAsync( './textures/compressed/mipmaps_sample.ktx2' );
94+
texture.minFilter = THREE.NearestMipmapNearestFilter;
9495

9596
console.info( `transcoded to ${formatStrings[ texture.format ]}` );
9697

0 commit comments

Comments
 (0)