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)
|
if (inputOptions.normalizeMipmaps)
|
||||||
{
|
{
|
||||||
FloatImage * img = new FloatImage(mipmap.data.ptr());
|
FloatImage * img = new FloatImage(mipmap.data.ptr());
|
||||||
img->normalize(0);
|
normalizeNormalMap(img);
|
||||||
return img;
|
return img;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user