Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

DXT mipmaps

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Agr   Members   

140
Like
0Likes
Like

Posted 18 September 2012 - 12:09 PM

So here's the question: is that even possible to generate mip levels for DXT compressed texture without unpacking whole image?

Edited by Agr, 18 September 2012 - 12:35 PM.


#2 MJP   Moderators   

19482
Like
0Likes
Like

Posted 18 September 2012 - 01:29 PM

It might be possible to directly work with the compressed data, but I'd imagine it would never be worth it considering how quick it is to decode DXT formats. You can always just decode one 4x4 block at a time if you don't want to decompress the whole thing at once.

Either way you wouldn't want to generate mips from the compressed data, because information has already been lost from the source image. Its better generate the mips from the source data (preferably with high-precision 16-bit data) and then compress the mips after the fact.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.