Spritepacker and PVRTC question

Dear community,
I just ended my app for Android and now I’m building also for IOS, but I encountered a problem.
I was convinced that I could compress POT textures also if they were rectangular (for example 1024x2048, 512x1024…) because the editor didn’t report any issue.
But when I switched to IOS (all my textures for IOS are in pvrtc), i got the warning… I discovered the interesting Tool “Spritepacker”, but when i pack 2 “half-square” pot sprites they don’t fit the square atlas because of the automatic spacing (padding).
My half-square textures have a white background and some free space all around so I’m not worried about the overlapping.

What would I have to do? :frowning:

I could make my texture smaller (for example 1000x2048) becoming NPOT, but now there’s a warning about the mipmap setting: “Only POT textures can be compressed if mip-maps are enabled”. :face_with_spiral_eyes::face_with_spiral_eyes:

Any advice?

I’m not sure exactly what you’re asking but to use PVRTC on iOS textures need to be square and POT. However if you’re giving your sprites a packing tag then the individual sprites can be arbitrarily sized and still be in PVRTC format as they are packed into square POT PVRTC atlases.

I would like to fit 2 sprites 1024x2048 inside a single atlas 2048x2048 using packing tags, but Unity inserts my sprites inside 2 different atlas 2048x2048, this because of the padding needed to avoid overlapping (3px between sprites).

The only way I found is to resize my sprites to 1000x2048.
With this solution I receive a warning about the use of mipmaps on NPOT sprites

Ok I understand. I just tried it. I would ignore warnings on individual textures when packing. The final packed atlas will be correctly compressed and mipmapped.

Ok, thanks, I’ll follow your advise!