Have some WWW object downloading a .PNG image.
((SpriteRenderer)renderer).sprite = Sprite.Create(request.texture, new Rect(0,0,100,100));
My sprite looks fine.
Now, let's be a bit redundant and create a
Texture2D out of the bytes from the download:
Texture2D t = new Texture2D(100,100); t.LoadImage(request.bytes); ((SpriteRenderer)renderer).sprite = Sprite.Create(t, new Rect(0,0,t.width,t.height));
Technically, this should produce something identical to the above snippet. However, the sprite is blurry (as in, low quality).
I suppose it is when calling
LoadImage. What may be causing this?