Sign in to follow this  
Stru

Texture Sizes...

Recommended Posts

Stru    118
Since I am trying to avoid the performance hit from using lots of small textures by putting them into a few big ones. I was wondering what the typical maximum texture sizes are for videocards that are around 3 or 4 years old to the present. My card's max texture size is 4096 by 4096 and its 3 years old, but I am guessing that is not typical (it was pricey when I bought it). I'd like to know what kind of size I can use for textures and still maintain some backwards compatibility with older cards. And do the low-end cards have significantly smaller max texture sizes? Also, will there be a performance hit to using 4094 x 4096 textures? And my final question, do DirectX9 compatible cards have a minimum maximum texture size?

Share this post


Link to post
Share on other sites
Kalidor    1087
The safest thing to do is to get the video card's max texture size, calculate the size you would need to pack all your textures, then split that up into as many separate textures as you need to keep each texture at or below the max texture size for the current video card and pack them all into those textures.

Share this post


Link to post
Share on other sites
eq    654
Quote:
max 3d texture size : 2048x2048x2048

Yeah in theory, in practice you need four gb of vram for a DXT1 texture.. :)
32 gb for an A8R8G8B8 texture of that size... and I thought that gpu's only used 32-bit addresses, what a fool!

Share this post


Link to post
Share on other sites
Stru    118
Thanks for all the information guys. Looks like I can use 2048x2048 on most cards (but I will probably go with 1024x1024 to be safe). I can't just put all of my textures into one because some will need to wrap-around, so I need to decide whether to combine them on a case-by-case basis.

Share this post


Link to post
Share on other sites
blackpawn    195
the max texture size you should aim for is 2048x2048. that covers every card you'll care about and then some. the only common chip that doesn't do that is the old intel parts like the 815 and i think 845. but you're probably not supporting those anyway.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this