ATI_TC_CompressOptions is not working (static lib)

Discussion created by Bernie on Feb 2, 2011
Latest reply on Feb 21, 2011 by Alex.H

It appears that the compression options (ATI_TC_CompressOptions) are being ignored by Compressonator (ATI_TC_ConvertTexture). Specifically I'm trying to set the per-channel weighting and it's having no effect - I have bUseChannelWeighting = TRUE and fWeightingRed,GreenBlue = {1, 0.1, 0.1} and the results are identical to when I set the weighting to {0.1, 1, 0.1} or any other values. I've tried setting bUseAdaptiveWeighting to TRUE as well and this does not help. The input format is floating point (A32B32G32R32F). The version of the static lib is 1.7, which as far as I'm aware is current ..

What's especially strange is that the standalone Compressonator exe (version 1.5) does appear to respect the per-channel weighting options. However our art pipeline uses the static lib since we need to batch convert thousands of textures when we build our assets. Is there anything I can do to make ATI_TC_CompressOptions work with the static lib version of Compressonator?


Bernie Freidin

Rockstar North