Przeglądaj źródła

LottieLoader: Set texture.anisotropy to 16 by default.

Mr.doob 4 lat temu
rodzic
commit
2c57a07031
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      examples/jsm/loaders/LottieLoader.js

+ 1 - 0
examples/jsm/loaders/LottieLoader.js

@@ -25,6 +25,7 @@ LottieLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 		const quality = this._quality || 1;
 		const quality = this._quality || 1;
 
 
 		const texture = new CanvasTexture();
 		const texture = new CanvasTexture();
+		texture.anisotropy = 16;
 
 
 		const loader = new FileLoader( this.manager );
 		const loader = new FileLoader( this.manager );
 		loader.setPath( this.path );
 		loader.setPath( this.path );