x


iOs : Bad texture quality with true color uncompressed texture

Hi there,

I'm struggling to have proper texture quality for a 2D game. A picture's worth a thousand words : http://nerik.me/texture.png

Looks perfect on the desktop, while when running on an iPad, gradients look very bad, as if the texture was in 16 bit instead of 24. I've tried using auto truecolor, 32 bit and 24 bit, always uncompressed, Point, Clamp, and this is applied to a 1024*768 quad, using the simple unlit shader found at Owlchemy Labs (http://owlchemylabs.com/content)

I would be glad to take any advice, I'm really stuck here :)

Thanks!

more ▼

asked Nov 04 '11 at 12:02 PM

nerik gravatar image

nerik
1 1 1 1

have you tried using textures with power of two dimensions?

Nov 04 '11 at 12:28 PM andresp

Not sure if you are having the same problem as I did, but if you are using this texture with some "GUI. " function, set it to GUI. It will increase greatly in memory but also in quality...

Nov 04 '11 at 06:03 PM cj_coimbra
(comments are locked)
10|3000 characters needed characters left

3 answers: sort oldest
more ▼

answered Nov 08 '11 at 05:14 PM

nerik gravatar image

nerik
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

Make sure that your pictures are either 64 px by 64 px, or 64 by 128, et cetera. Unity changes the size of the image if you don't...does that help?

more ▼

answered Nov 04 '11 at 01:53 PM

Catlard gravatar image

Catlard
527 48 60 66

Nope. I've tried with a 1024 * 1024 texture (first using ToLarger for NPOT, then with a true 1024 * 1024 img), I still have the problem. Also using a psd file instead of a png doesn't help. :(

But thanks for trying.

Nov 04 '11 at 05:55 PM nerik
(comments are locked)
10|3000 characters needed characters left

I was struggling with texture quality issues and GUITexture for a long time. Switching the format from PNG to TGA made a world of difference for me. The textures now show exactly as I was expecting them to.

more ▼

answered Nov 26 '12 at 10:45 PM

OtsegoDoom gravatar image

OtsegoDoom
3 7 7 10

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2279
x2028
x132

asked: Nov 04 '11 at 12:02 PM

Seen: 2633 times

Last Updated: Nov 26 '12 at 10:45 PM