Browse Source

Texture: Honor `generateMipmaps`. (#25110)

* ObjectLoader.parse: parseTextures missing generateMipmaps

Related to #25109

* Update Texture.js

* Update Texture.js

Co-authored-by: Michael Herzog <[email protected]>
Benjamin 2 years ago
parent
commit
89752ba530
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/textures/Texture.js

+ 1 - 0
src/textures/Texture.js

@@ -186,6 +186,7 @@ class Texture extends EventDispatcher {
 
 			flipY: this.flipY,
 
+			generateMipmaps: this.generateMipmaps,
 			premultiplyAlpha: this.premultiplyAlpha,
 			unpackAlignment: this.unpackAlignment