提交 2a5b0a7f 编写于 作者: M Mr.doob

WebGLState: Set emptyTextures min/mag to Nearest. See ae818604.

上级 5b183593
......@@ -67,7 +67,8 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
var texture = gl.createTexture();
gl.bindTexture( type, texture );
gl.texParameteri( type, gl.TEXTURE_MIN_FILTER, gl.LINEAR );
gl.texParameteri( type, gl.TEXTURE_MIN_FILTER, gl.NEAREST );
gl.texParameteri( type, gl.TEXTURE_MAG_FILTER, gl.NEAREST );
for ( var i = 0; i < count; i ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册