Fix comments. Minor fixes.
This commit is contained in:
parent
94e0ba9ec7
commit
a11a6739c2
@ -321,7 +321,9 @@ bool Compressor::Private::compress(const InputOptions::Private & inputOptions, c
|
|||||||
|
|
||||||
if (img.isNormalMap()) {
|
if (img.isNormalMap()) {
|
||||||
if (inputOptions.normalizeMipmaps) {
|
if (inputOptions.normalizeMipmaps) {
|
||||||
|
img.expandNormals();
|
||||||
img.normalizeNormalMap();
|
img.normalizeNormalMap();
|
||||||
|
img.packNormals();
|
||||||
}
|
}
|
||||||
tmp = img;
|
tmp = img;
|
||||||
}
|
}
|
||||||
|
@ -102,10 +102,9 @@ namespace nvtt
|
|||||||
Format_DXT1n, // Not supported.
|
Format_DXT1n, // Not supported.
|
||||||
Format_CTX1, // Not supported.
|
Format_CTX1, // Not supported.
|
||||||
|
|
||||||
Format_BC6, // Not supported yet.
|
Format_BC6,
|
||||||
Format_BC7, // Not supported yet.
|
Format_BC7,
|
||||||
|
|
||||||
//Format_BC5_Luma, // Two DXT alpha blocks encoding a single float.
|
|
||||||
Format_BC3_RGBM, //
|
Format_BC3_RGBM, //
|
||||||
|
|
||||||
Format_Count
|
Format_Count
|
||||||
|
Loading…
Reference in New Issue
Block a user