mrdoob/three.js — Issue #1418: Is there a way to use Nearest Neighbour scaling for textures?
Author: lavelle
Created: 2012-02-28 14:40:23+00:00
State: open

I am trying to use pixel art for my models and I'm loading a 16x16 .png for each face of a cube. Textures seem to be scaled using something that looks similar to Photoshop's Bicubic option, and this causes the pixel art to blur. Is there a way I can scale them in a manner more similar to Photoshop's Nearest Neighbour option, and preserve the sharp edges?