Misc changes.
This commit is contained in:
parent
53c77579c2
commit
c7fa7c30e5
|
@ -497,11 +497,11 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (format == nvtt::Format_BC2) {
|
||||
// Dither alpha when using BC2.
|
||||
compressionOptions.setQuantization(false, true, false);
|
||||
compressionOptions.setQuantization(/*color dithering*/false, /*alpha dithering*/true, /*binary alpha*/false);
|
||||
}
|
||||
else if (format == nvtt::Format_BC1a) {
|
||||
// Binary alpha when using BC1a.
|
||||
compressionOptions.setQuantization(false, true, true, 127);
|
||||
compressionOptions.setQuantization(/*color dithering*/false, /*alpha dithering*/true, /*binary alpha*/true, 127);
|
||||
}
|
||||
else if (format == nvtt::Format_RGBA)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user