Преглед изворни кода

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 година
родитељ
комит
89752ba530
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/textures/Texture.js

+ 1 - 0
src/textures/Texture.js

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