Skip to content

Conversation

CsabaStupak
Copy link
Contributor

The DDSCodec keeps the DXT format if the hardware supports it. However using this stack object it is possible to enforce the DXT decompression into RGB(A) format. This is useful e.g. when we have DDS texture without mipmaps and we need them. DirectX11 does not generate mipmaps if the texture is compressed (DirectX9 does it automatically).

Also added support to obtain the DDS stream (not only saving to file).

The DDSCodec keeps the DXT format if the hardware supports it. However using this stack object it is possible to enforce the DXT decompression into RGB(A) format. This is useful e.g. when we have DDS texture without mipmaps and we need them. DirectX11 does not generate mipmaps if the texture is compressed (DirectX9 does it automatically).

Also added support to obtain the DDS stream (not only saving to file).
@paroj paroj merged commit 9238f6e into OGRECave:master Mar 20, 2025
6 checks passed
@CsabaStupak CsabaStupak deleted the ForceDDSDecompress branch March 21, 2025 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants