Browse Source

Merge pull request #16179 from takahirox/MMDLoaderNearestFilter

MMDLoader: NearestFilter magFilter and minFilter for gradientMap
Mr.doob 6 years ago
parent
commit
cf4fb10181
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/js/loaders/MMDLoader.js

+ 3 - 0
examples/js/loaders/MMDLoader.js

@@ -1359,6 +1359,9 @@ THREE.MMDLoader = ( function () {
 
 					t.image = scope._getRotatedImage( t.image );
 
+					t.magFilter = THREE.NearestFilter;
+					t.minFilter = THREE.NearestFilter;
+
 				}
 
 				t.flipY = false;