Hello Guest

What is a safe texture size (even for older Graphics Cards)

  • 6 Replies
  • 7335 Views
*

Offline Cornix

  • *****
  • 488
The title says it all.
With what texture size will I be safe even on older Hardware?
Or weaker hardware like on laptops and netbooks?

Right now i am using 1024x1024 and 2048x2048 textures; but can i go up safely or do i need to fear that older machines will not be able to load such textures?

*

Offline quew8

  • *****
  • 569
  • Because Square Eyes Look More Real
Re: What is a safe texture size (even for older Graphics Cards)
« Reply #1 on: March 26, 2013, 12:29:34 »

*

Offline Cornix

  • *****
  • 488
Re: What is a safe texture size (even for older Graphics Cards)
« Reply #2 on: March 26, 2013, 12:31:33 »
Hm, i see. Thanks for the answer.
64x64 sounds pretty terrible.

So even if we say the max texture size for a given hardware is 1024x1024; would a texture array with several 1024x1024 textures work? Would be kinda contradicting i guess but i seriously dont know.

Re: What is a safe texture size (even for older Graphics Cards)
« Reply #3 on: March 28, 2013, 08:27:53 »
I've had problems with cards not supporting 2048x2048, but never with 1024x1024.

1024x1024 is then the max size for the entire texture atlas (meaning for example 8x8 textures of 128x128 in size).

Mike

*

Offline Cornix

  • *****
  • 488
Re: What is a safe texture size (even for older Graphics Cards)
« Reply #4 on: March 28, 2013, 09:54:36 »
I've had problems with cards not supporting 2048x2048, but never with 1024x1024.

1024x1024 is then the max size for the entire texture atlas (meaning for example 8x8 textures of 128x128 in size).

Mike

You mean a Texture array of 8 128x128 textures, right?

Re: What is a safe texture size (even for older Graphics Cards)
« Reply #5 on: March 28, 2013, 15:04:14 »
You can check the values in the Implementation Dependent Values table of the OpenGL spec.

For OpenGL 3.2 (Core Profile) it says on page 302 in table 6.37:

Code: [Select]
MAX_TEXTURE_SIZE - Minimum Value: 1024
So on OpenGL 3.2 you've got a guaranteed texture size of 1024x1024px.

Code: [Select]
EDIT: minor spelling fix
« Last Edit: March 28, 2013, 15:05:59 by aleator »

*

Offline Cornix

  • *****
  • 488
Re: What is a safe texture size (even for older Graphics Cards)
« Reply #6 on: March 28, 2013, 16:34:59 »
Thats great news, thank you for the information.