Skip to content

Instantly share code, notes, and snippets.

Avatar

Calvin Tennant calvintennant

View GitHub Profile
View gist:1385689
var texture = THREE.ImageUtils.loadTexture( file );
texture.wrapS = THREE.ClampToEdgeWrapping;
texture.wrapT = THREE.ClampToEdgeWrapping;
texture.magFilter = THREE.NearestFilter;
texture.minFilter = THREE.LinearMipMapLinearFilter;