2012年7月17日 星期二

Texture compression on GPU


  1. Reduce texture memory size, it can reduce gpu memory bandwidth to read texture while rendering, and compressed format can have better performance because it use less memory.
  2. Fast decompress, it compressed on the GPU card, and while rendering it be decompressed at least once per frame.
  3. Fast random access,  if a texture cover a mesh but the mesh just can be seen on one side, GPU will only decompress the part of texture which can be seen. Therefore, if we do well in Hidden Surface Removal that can help us reduce GPU card loading.

old D3Dnew D3DOpenGLD3D supportOpenGL support
DXT1BC1S3TC6.0EXT_texture_compression_s3tc
DXT3BC2S3TC6.0EXT_texture_compression_s3tc
DXT5BC3S3TC6.0EXT_texture_compression_s3tc
ATI1BC4RGTC110.03.0 (or via extension)
ATI2BC5RGTC210.03.0 (or via extension)
-BC6HBPTC_FLOAT11.04.2 (or via extension)
-BC7BPTC11.04.2 (or via extension)
Reference: http://renderingpipeline.com/2012/07/texture-compression/
http://www.cnblogs.com/luming1979/archive/2013/02/04/2891421.html

沒有留言:

張貼留言