Hi all
I use QCompress.exe generate dds with mipmap,format is Q_FORMAT_ATITC_RGBA.And use glCompressedTexImage2D generate mipmap,but the mipmap is error.How to use dds generate compress texture mipmap?
code:
Thanks ALL
Hi all
I use QCompress.exe generate dds with mipmap,format is Q_FORMAT_ATITC_RGBA.And use glCompressedTexImage2D generate mipmap,but the mipmap is error.How to use dds generate compress texture mipmap?
code:
Thanks ALL
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Thanks for posting the code. This helps a lot. One question I have still is what error are you receiving from GL?
? = checkGlError("glCompressedTexImage2D");
This will greatly help in being able to quickly find the issue.
Thanks for reply
It looks like there may be an issue with Qcompress correctly generating DDS files. Are you able to try using KTX instead to see if you still experience this problem?