Textures quanity or size?
I have a question about memory use in openGl in relation to textures, which has a bigger impact on memory the size of a texture or the number of textures. For instance I have an object that is can exist in four states each state has its own 64x64 texture, would it be more memory effiecent to combine the 4 textures into a larger 128x128 texuture? Or would that take more resouces then the the four seperate?
-----------------------------------------------------
"Fate and Destiny only give you the opportunity the rest you have to do on your own."
Current Design project: Ambitions Slave
loading more textures would take longer then loading less, and I would think, although I don''t know, that it would be more memory efficeint just having one texture.
____________________________________________________________
Programmers Resource Central
____________________________________________________________
Programmers Resource Central
Havign one texture is better, avoids changing the texture, which is somewhat expensive, if done very often.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement