Edited wiki page through web user interface.

import/raw
castano 17 years ago
parent eb14331aa1
commit 5237f50abc

@ -122,16 +122,16 @@ inputOptions.convertToNormalMap(true);
}}}
{{{
inputOptions.setHeightEvaluation(float r, float g, float b, float a);
bool InputOptions::setHeightEvaluation(float r, float g, float b, float a);
}}}
For example, to use the alpha channel of the input texture as the height you would use the following weights:
{{{
inputOptions.setHeightEvaluation(0, 0, 0, 1);
}}}
{{{
inputOptions.setHeightEvaluation(1, 1, 1, 0);
}}}
The height factors are not normalized, so you can also use them to change the steepness of the heightmap.
{{{

Loading…
Cancel
Save