Do not set mipmap generation filter.
This commit is contained in:
parent
6fa15f4e5b
commit
df19be3a5d
@ -335,16 +335,6 @@ int main(int argc, char *argv[])
|
|||||||
inputOptions.setMipmapData(image.pixels(), image.width(), image.height());
|
inputOptions.setMipmapData(image.pixels(), image.width(), image.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fast)
|
|
||||||
{
|
|
||||||
inputOptions.setMipmapping(true, nvtt::MipmapFilter_Box);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
inputOptions.setMipmapping(true, nvtt::MipmapFilter_Box);
|
|
||||||
//inputOptions.setMipmapping(true, nvtt::MipmapFilter_Kaiser);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (wrapRepeat)
|
if (wrapRepeat)
|
||||||
{
|
{
|
||||||
inputOptions.setWrapMode(nvtt::WrapMode_Repeat);
|
inputOptions.setWrapMode(nvtt::WrapMode_Repeat);
|
||||||
|
Loading…
Reference in New Issue
Block a user