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 <email@example.com>
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.