GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-nomipmap not working for bc6h

StreetwareGames opened this issue · comments

exact command:

compressonatorcli -fd bc6h -nomipmap -Quality 1.0 src.ktx out.ktx2

@SewerDweller Thanks for the report, we will be looking into this

@SewerDweller I've tried this command on my own machine, but I don't see the issue. What did you expect to happen?

The -nomipmap option is a manual way of ensuring that mipmap generation is disabled. So when you run the command you have specified you should not see any additional mipmap levels generated in the output image.

hey maybe it's because of the input file already containing mip levels. the ktx file I've used can be found here:
https://github.com/SaschaWillems/Vulkan-Assets/blob/a27c0e584434d59b7c7a714e9180eefca6f0ec4b/textures/hdr/pisa_cube.ktx

Ideally I'd want the new file to contain no mipmaps even if the source file has them

@SewerDweller Ok, I see what you mean now. An alternative method of doing what you want would be to use the command compressonatorcli -fd bc6h -miplevels 1 -Quality 1.0 src.ktx out.ktx2, but it appears that it is currently bugged and doesn't work.

We'll work on fixing the issues so that it works with textures that have existing mipmap levels.