I have a number of DDS files with custom made mipmaps that I need to convert to KTX2. The following creates new mipmaps instead of porting over the existing ones:
nvtt_export input.dds -o output.ktx2
How can I read the existing mipmaps from the DDS file and convert them to KTX2?
It’s for some lights in a texture that need to retain visibility with growing distance. --scale-alpha helps to a degree but I need to use my own custom created mipmap levels.
It’s the same with the NVIDIA Texture Tools Exporter GUI.
The --no-mips option should work for this – despite its name, it’s short for “don’t generate mips”, and maps to the “Regenerate Mipmaps” option in the UI.