Misc changes.
This commit is contained in:
parent
bff3dab505
commit
ac3f2d1794
@ -497,11 +497,11 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (format == nvtt::Format_BC2) {
|
if (format == nvtt::Format_BC2) {
|
||||||
// Dither alpha when using 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) {
|
else if (format == nvtt::Format_BC1a) {
|
||||||
// Binary alpha when using 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)
|
else if (format == nvtt::Format_RGBA)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user