VRAM tips

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(formatting and added usage info)
Line 1: Line 1:
Compression  | Memory consumption
+
{| cellpadding="2" cellspacing="0" border="1"
<BR><b>DXTC1 RGB:</b>   .5 Bpp (bytes/pixel)  
+
!Compression  !! Memory consumption
<BR><b>DXTC3 RGBA:</b>   1 Bpp  
+
|-
<BR><b>RGB 16bit:</b>   2 Bpp  
+
| DXTC1 RGB ||   .5 Bpp (bytes/pixel)  
<BR><b>RGB 24bit:</b>   4 Bpp  
+
|-
<BR><b>Alpha 8bit:</b>   1 Bpp  
+
| DXTC3 RGBA ||   1 Bpp  
<BR><b>RGBA 16bit:</b>   2 Bpp  
+
|-
<BR><b>RGBA 32bit:</b>   4 Bpp
+
| RGB 16bit ||   2 Bpp  
 +
|-
 +
| RGB 24bit ||   4 Bpp  
 +
|-
 +
| Alpha 8bit ||   1 Bpp  
 +
|-
 +
| RGBA 16bit ||   2 Bpp  
 +
|-
 +
|RGBA 32bit ||   4 Bpp
 +
|}
  
 
To figure out total texture size:
 
To figure out total texture size:

Revision as of 21:41, 23 February 2006

Compression Memory consumption
DXTC1 RGB .5 Bpp (bytes/pixel)
DXTC3 RGBA 1 Bpp
RGB 16bit 2 Bpp
RGB 24bit 4 Bpp
Alpha 8bit 1 Bpp
RGBA 16bit 2 Bpp
RGBA 32bit 4 Bpp

To figure out total texture size: width * height * bpp

Add 33% if you have Mipmaps.

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox