Apply normal (ie.
More...
#include <ProceduralTextureModifiers.h>
Apply normal (ie.
vector) map to a bitmap.
Example:
◆ Distort()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setParameterImage()
Set parameter image for normal mapping.
- Parameters
-
image | Pointer to second image (default NULL) |
- Note
- If the parameter image is set to NULL there won't be any image manipulation.
◆ setPower()
Set power for distort effect.
- Parameters
-
power | New power for calculation (default 0) |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
Gradient & setColours(Ogre::ColourValue colourA, Ogre::ColourValue colourB, Ogre::ColourValue colourC, Ogre::ColourValue colourD)
Sets the colours of the image corners.
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50