Jump to content
  • Advertisement
Sign in to follow this  
Geat_Masta

Is there a library to expand an image with S3TC/DXTn?

This topic is 468 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 recently realized that the textures in my game are all too small for high DPI monitors and need to be scaled up, which also would force me to use compression.  And that gave me an idea, because dxt only stores the first and last pixel in a block, and interpolates the rest, it should be possible to compress a 2x2 block instead a interpolate the rest.  Then use something like HQ2X or superXBR to scale up the alpha channel.

So I have two questions based on this concept:

How much would starting with a smaller image like this affect quality given that it's already a lossy algorithm?

Is there a library to do this that exists already, or is my best bet to modify squish?

Share this post


Link to post
Share on other sites
Advertisement
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!