x


When does texture max-size override take effect?

I have 4 jpg textures, each is 1024x1024 and roughly about 300k. When I make a build and look at the Editor log, my textures are the same in file size, ~300kb. As they should be.

Now I want to decrease the texture sizes, to decrease the required memory in the scene. I override each texture's max size to 256 or 512 in Unity, hoping it would shrink the textures. But in the build log, they are reported to be the same.

This leaves me asking: Does Unity pack the original textures? Do they get loaded as smaller sizes at runtime (Only looking smaller)? Would it be more beneficial just to resize my original textures instead of relying on Unity's max size override for performance?

more ▼

asked Aug 20 '12 at 05:29 AM

Jessespike gravatar image

Jessespike
662 7 16 19

I believe max size doesn't affect image compression. I suspect you'll just have to downsize the image in photoshop etc.

Aug 20 '12 at 07:42 AM Khada
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Changing max texture resolution should reduce texture size - that works just fine for us. There should be no need for reducing resolution in PS.

BTW.: if you're reducing resolution for all texture, then you can simply change it in Quality settings, although that could be runtime size (not the binary size)

more ▼

answered Aug 20 '12 at 12:27 PM

Paulius Liekis gravatar image

Paulius Liekis
7.3k 16 24 45

(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:

x3718
x2451
x386
x64
x40

asked: Aug 20 '12 at 05:29 AM

Seen: 661 times

Last Updated: Aug 20 '12 at 12:28 PM