I don't like the idea of trying to handle this "magically". Texture sampling should return predictable values, not blurred values due to behind-the-scenes image resampling. It might be useful to make it easier to resample and/or pad images to power-of-two sizes, though I don't know if there's actual demand for that right now.
On Thu, Nov 17, 2011 at 11:43 AM, Morten Nobel-JÃrgensen
<morten@nobel-joergensen.com> wrote:
You can already rescale you NPOT image using a Canvas2D in your browser.
This doesn't work in general. The 2D canvas backing store may use premultiplied alpha, which makes it inherently lossy. For example, if you have bump mapping data in the alpha channel, you'll end up quantizing the RGB channels badly.
Also, 2d canvas doesn't support floating-point textures.