Skip to content

Instantly share code, notes, and snippets.

@mrdoob
mrdoob / gist:1385689
Created November 22, 2011 13:43
Minecraft look
var texture = THREE.ImageUtils.loadTexture( file );
texture.wrapS = THREE.ClampToEdgeWrapping;
texture.wrapT = THREE.ClampToEdgeWrapping;
texture.magFilter = THREE.NearestFilter;
texture.minFilter = THREE.LinearMipMapLinearFilter;