Edited wiki page through web user interface.

import/raw
castano 17 years ago
parent 425bbbe83a
commit 76431f9f44

@ -158,17 +158,12 @@ If the input image is a normal map, it may require some special treatment. For e
void InputOptions::setNormalMap(bool isNormalMap);
}}}
The convolution filter used for mipmap generation generally produces normals that are not unit length. The following method allows you to do that:
Normal map mipmaps are generated by filtering previous normal map levels. After filtering the resulting normals are generally unit length. By default, these normals are re-normalized, but you can chose to left them unnormalized with the following method:
{{{
void InputOptions::setNormalizeMipmaps(bool normalizeMipmaps);
}}}
*TODO*: Default the value for `normalizeMipmaps` should be true, but it should only be valid when `isNormalMap` is true.
*TODO*: Is this the default when normalMap is true? What if convertToNormalMap is true?
=== Generating Normal Maps ===

Loading…
Cancel
Save