So I’ve not been able to find information on this and I’m very curious about the answer.
Say I have a texture of 256x256 as an original image size. And in the editor the max size is set to be 4096. Does Unity try to scale the object up? Is there memory space set aside for a 4096 image even though a 256 image is used? If anyone has insights into this, please let me know.
2 Answers
2
Just offhand, there’s no reason to ever do this, so I doubt Unity creates a larger texture. Isn’t the max size universal – merely the max for any texture? I always assumed it was for those oddball cases where a non-game artist gives you a 16Kx16K texture, which is standard in their world.
Pre-making mipmaps helps to speed up drawing smaller textures. But there’s no such thing for larger textures (the graphic card scales up a texture using 0 extra time. No so sure about long but thin… .) So no reason to premake a larger texture.
Max size is just that, the max size. As in, the texture will never be larger than that. Just like a speed limit is (theoretically) the maximum speed, but just because the limit is, say, 55, doesn’t mean you’re forced to always go 55, it just means you can’t go faster than that.
While changing the max size, look in the bottom right of the inspector to see the file size.
– maccabbeWell when I was saying memory, I meant RAM at run time rather than file space. But it's seeming like everyone is agreeing that it is only for scaling down large images, and there is no hindrance if the max size is large.
– Nerull22