Texture Size

Hello, what is better to use the size for textures? Texture objects (small decorations), buildings and characters?
What is the rationale of your choice?
ps the game will be for the computer; but it is possible for mobile

Take a look at this thread: https://forums.unrealengine/showthread.php?2216-Texture-size-and-best-format :slight_smile:

Textures should always be a size that is a power of two. Aside from that, you need to think about where the texture will be used. Most of Epic’s example textures are 2048x2048, which is high resolution, and produces very good quality. You can go as high as 8192x8192, but keep in mind that many graphics cards only support up to 4096x4096 textures, and some only 2048x2048.

If you object is small, and will not be seen very close-to, you can use smaller textures, down to 1024x1024. You likely don’t want to go lower than 512x512, though, unless your texture will absolutely only be seen from very far away.

If you’re going for mobile, you probably want to keep around 1024x1024 or lower, though. Really, there’s no right answer for “what size of texture should I use?” It’s all about balancing performance and look. Higher resolution textures will look better, but require more storage and more texture memory. One way you can work out the resolution to use for each texture is to start with a large texture, say, 2048x2048, and then try to see which mipmap level your texture uses as you play. If you can’t make it use the maximum mip level, then you don’t need the high resolution texture, and you can drop the resolution. Unfortunately, as far as I know, Unreal doesn’t allow you to visualise the mipmap levels, so this is a little difficult to do, and you’re probably better just guessing and eyeballing it.

Hi guys, I know this is an old post but it’s the very top of google results so here we go:

I’m learning about “rendering” and wondering why there’s no relation to dpi images? I mean, a lot of people uses size as a parameter but what would be a nice dpi to a resolution of 2048x2048? I’m working with 2048x2048 right now with 72 dpi and the image quality is very poor.

Perhaps I’m missing something? Thanks

DPI stands for “dots per inch”. You can’t use that and pixels to measure the size of a image. Digital images are essentially grids of pixels,each pixel containing exactly one colour. The more pixels you have, the higher the quality of the image. 2048x2048 means the grid of pixels is 2048 across and 2048 tall, giving you 4194304 pixels to work with.

Dots per inch is a more useful metric for printing rather than digital data. This simply counts the number of “pixels” (actually print dots, but you can more or less think of them as analogous for this purpose) in an inch of your image. Digital images don’t have a physical size measured in inches. The only scale you can use without printing is in pixels, because that’s how your computer interprets it. Dots per inch is only useful when you’re setting the size of the image in a physical unit such as inches or cm. Changing the DPI then simply adjusts the number of pixels in the image so that print quality can be higher. For example, if you had an image that was 10 inches each way. At 72 DPI, that would be 720x720. At 120DPI, that image would be 1200x1200. Changing the DPI doesn’t magically make your pixels more detailed, it just adds more of them. If you specify a resolution and a DPI, then all you’re doing is telling it to print the image smaller, not to add more detail.

In short, DPI and pixel resolution aren’t really compatible concepts, and you should be concerned with resolution only in this instance, not DPI.

If your image quality is too low for you, use a higher resolution image, or split the image into multiple textures.

1 Like

Wow, it’s completely clear now, thank you Hoeloe

You may want to use the comment feature next time, rather than posting a number of answers to the original question.

Right, I was not logged in and could not find the “reply” link. Thanks