Page 1 of 1

best file format for GPU vRAM optimization?

Posted: Fri Jan 02, 2015 5:19 am
by asher
Does it make any difference once the images/scene gets uploaded to the gpus?

jpg? does it get uncomressed to 24bit rgb?
gif? png?
tif ?

or it is just grayscale and/or 24 bit rgb + optional alpha channel all the same for any given image format once it gets into the gpu?

Thank you

Re: best file format for GPU vRAM optimization?

Posted: Sat Jan 03, 2015 8:53 am
by abstrax
asher wrote:Does it make any difference once the images/scene gets uploaded to the gpus?

jpg? does it get uncomressed to 24bit rgb?
gif? png?
tif ?

or it is just grayscale and/or 24 bit rgb + optional alpha channel all the same for any given image format once it gets into the gpu?

Thank you
The source file format doesn't matter since all textures are stored uncompressed in VRAM. What matters is the resolution, and the number of bytes per pixel (greyscale image texture: 1 byte/pixel (LDR) or 2 bytes/pixel (HDR), RGB image texture: 4 bytes/pixel (LDR) or 8 bytes/pixel (HDR)),.

Re: best file format for GPU vRAM optimization?

Posted: Sun Jan 04, 2015 3:14 am
by asher
many thanks