Texture color depth and memory usage

Previous topic - Next topic

doimus

Is there any difference in performance when using images/textures of lesser bit-depths?
I did some tests with both 32-bit and indexed 8-bit colour images and there seems to be no difference at all in memory usage and drawing speed. Obviously, 8-bit images loaded faster but that's just because the smaller file size.

Kitty Hello

They all get converted to an internal format. Just the space on the disk changes.

doimus

#2
Does transparency/alpha matter? Is it faster to draw with one 'transparency' color than with alpha values?


EDIT: One more question...

About huge images... is there a limit to texture size? IE, is the texture size limited to graphic card's memory or there is a limit in GLB. I've noticed that I can load 5000x5000 image without problem on my machine with modern card.
Does GLB take care that this runs on older cards as well or should I cut that image in smaller parts myself just to be sure?

My old Mac Mini G4 doesn't display anything above 1024x1024 but I'm not sure if that's graphic card issue or OSX/GLB issue.

Kitty Hello

No, you can't use bigger textures as the card allows. On iPhone I think it's 1024x1024 or so!