瀏覽代碼

cleanup nearestFilter

gero3 10 年之前
父節點
當前提交
aeb57109a1
共有 1 個文件被更改,包括 0 次插入2 次删除
  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;