- Home /
is there a way to make textures bigger then 4096
I am making a 2d game in unity and my background is 6000 by 3000 but unity seems to be limited to 4096. is there a way to get bigger texture images into unity ?
Answer by Eric5h5 · Apr 15, 2010 at 06:58 PM
It's a Unity limitation. However, only the more recent graphics cards support more than 4096x4096, and there are still a reasonable number of cards in use that only do 2048x2048 at max anyway. So for best compatibility you should use linked textures where each one is no larger than that.
Answer by Molix · Apr 15, 2010 at 06:39 PM
Presumably the limit is based on hardware and the graphics API and not specific to Unity -- the truth is most applications will never need such large images. i.e. if the screen resolution is 1600x1200, then having a texture any larger than that is a waste, since the you can't possibly draw more pixels than there are on the screen. If you need to zoom into the image then you will have to split it up into tiles. That would be better for performance anyway (though you'll probably be able to get away with a much, much smaller texture).
its a side scroller, so the idea is to have one big image. im not using orthographic view so I can get depth in the game. I started out tiling the BG down to 1024 * 1024 and then I started running into trouble with the z axis
You should break up the background into smaller images and draw only the ones that are visible at the given time.