Jump to content
  • Advertisement
Sign in to follow this  
RealMarkP

[DX9] Which Compressed Texture Format To Use?

This topic is 3472 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I read on Gamasutra that DTX5 compression is lossy and incorporates artifacts into images that use solid colors (ie. Cartoony looking textures) and normal maps. Is there any compression technique that is supported by DirectX that does not produce these artifacts in a compressed texture? I looked into 3Dc compression format and it looks promising, but I do not know how widely it is supported by video cards or DirectX. Any info on this would be greatly appreciated. Thanks. EDIT: I heard the decompression could be handled by a simple shader. Can anyone provide me with info on this, it seems promising.

Share this post


Link to post
Share on other sites
Advertisement
My Mistake, I had this all wrong. DXT5 can be manipulated to include renormalization, which is done by a simple shader trick. As far as my code is concerned, all I have to do is throw a DXT5 image into memory and the video card knows how to decompress it?

I will not bother with 3Dc then.

Share this post


Link to post
Share on other sites
3Dc is a special case of the DXT formats. To answer your question, no, no such lossless compression exists. All hardware supported compressed formats are block-compressed formats, which are lossy and will cause blocky compression artifacts.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!