Normalize inputs correctly.
This commit is contained in:
parent
6fadaebae5
commit
05a760b2f6
@ -423,9 +423,9 @@ static FloatImage * processInput(const InputOptions::Private & inputOptions, int
|
||||
if (inputOptions.normalizeMipmaps)
|
||||
{
|
||||
FloatImage * img = new FloatImage(mipmap.data.ptr());
|
||||
img->normalize(0);
|
||||
normalizeNormalMap(img);
|
||||
return img;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user