Changes

Jump to navigation Jump to search
36 bytes removed ,  15:23, 28 August 2009
m
→‎Texture Compression: clarify the speed/size vs. quality compromise
Line 136: Line 136:  
If you are looking for GX examples. Devkitpro comes with a few GX examples which should help you to get started. Some knowledge about OpenGL is useful, but remember that GX is not the same as OpenGL.
 
If you are looking for GX examples. Devkitpro comes with a few GX examples which should help you to get started. Some knowledge about OpenGL is useful, but remember that GX is not the same as OpenGL.
 
=== Texture Compression ===
 
=== Texture Compression ===
Do use texture compression if you can. It reduces the memory used by textures and speeds up the loading and rendering.
+
Do use texture compression on all textures where you can live with the lost picture quality. It reduces the memory usage and speeds up the loading and rendering.
 
[[devkitPro]] comes with [[gxtexconv]] which supports DXT1 compression.
 
[[devkitPro]] comes with [[gxtexconv]] which supports DXT1 compression.
    
To use it specify colfmt=14 in your script or on the command line. You get textures 1/4 the size of uncompressed RGB565 (colfmt=4) textures.
 
To use it specify colfmt=14 in your script or on the command line. You get textures 1/4 the size of uncompressed RGB565 (colfmt=4) textures.
  −
Note that DXT1 is a lossy compression and thus you will lose picture quality.
      
[[Category:Development]]
 
[[Category:Development]]
9

edits

Navigation menu