Просмотр исходного кода

Texture: Honor `generateMipmaps`. (#25110)

* ObjectLoader.parse: parseTextures missing generateMipmaps

Related to #25109

* Update Texture.js

* Update Texture.js

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
Benjamin 3 лет назад
Родитель
Сommit
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,
 
+			generateMipmaps: this.generateMipmaps,
 			premultiplyAlpha: this.premultiplyAlpha,
 			unpackAlignment: this.unpackAlignment
 

粤ICP备19079148号