Image modifier namespace to bake normal maps, blur images etc.
More...
Detailed Description
Image modifier namespace to bake normal maps, blur images etc.
Function Documentation
SP_EXPORT void sp::tool::ImageModifier::bakeNormalMap |
( |
video::ImageBuffer * |
ImgBuffer, |
|
|
f32 |
Amplitude = DEF_NORMALMAP_AMPLITUDE | |
|
) |
| | |
Generates a normal map out of the given height map.
- Parameters:
-
| HeightMap,: | Specifies the height map from which the normal map is to be generated. |
| Amplitude,: | Specifies the factor (or rather amplitude) for the normal map generation. |
SP_EXPORT void sp::tool::ImageModifier::drawBlur |
( |
video::ImageBuffer * |
ImgBuffer, |
|
|
s32 |
PixelSize, |
|
|
dim::rect2di |
Rect = DEF_TEXMANIP_RECT | |
|
) |
| | |
SP_EXPORT void sp::tool::ImageModifier::drawMosaic |
( |
video::ImageBuffer * |
ImgBuffer, |
|
|
s32 |
PixelSize, |
|
|
dim::rect2di |
Rect = DEF_TEXMANIP_RECT | |
|
) |
| | |