Browse Source

cleanup nearestFilter

gero3 10 năm trước cách đây
mục cha
commit
aeb57109a1
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      examples/js/SimulationRenderer.js

+ 0 - 2
examples/js/SimulationRenderer.js

@@ -226,8 +226,6 @@ function SimulationRenderer( WIDTH, renderer ) {
 		}
 
 		var texture = new THREE.DataTexture( a, WIDTH, WIDTH, THREE.RGBFormat, THREE.FloatType );
-		texture.minFilter = THREE.NearestFilter;
-		texture.magFilter = THREE.NearestFilter;
 		texture.needsUpdate = true;
 
 		return texture;