use default pixel format, add comment to indicate where to change default

pull/216/head
castano 15 years ago
parent 8c7f54056c
commit bcf0df2b49

@ -478,10 +478,11 @@ int main(int argc, char *argv[])
if (format == nvtt::Format_RGBA) if (format == nvtt::Format_RGBA)
{ {
// @@ Edit this to choose the desired pixel format:
// compressionOptions.setPixelType(nvtt::PixelType_Float); // compressionOptions.setPixelType(nvtt::PixelType_Float);
// compressionOptions.setPixelFormat(16, 16, 16, 16); // compressionOptions.setPixelFormat(16, 16, 16, 16);
compressionOptions.setPixelType(nvtt::PixelType_UnsignedNorm); // compressionOptions.setPixelType(nvtt::PixelType_UnsignedNorm);
compressionOptions.setPixelFormat(16, 0, 0, 0); // compressionOptions.setPixelFormat(16, 0, 0, 0);
} }
if (fast) if (fast)

Loading…
Cancel
Save