really bad texture resolution

hi there!

i want to make an iphone game with some cards and try to map their texture in a file of size 512x3072, each card has 512x512 pixels. everything works fine but the resolution is really bad even though I used advanced texture type withou mipmap, trilinear filter mode and max size 1024 / RGB 16 bit. my shader is "diffuse".

what is wrong here? thanx!!!

Hi,

3072 is not a power of two size and by default, unity will stretch the image to have power of two width and height. Maybe that is the problem. You would need to select "none" in the "non power of two" setting of the texture when you are in advanced mode for the image not to be stretched.

Hope it helps,

Bye,

Jean