#include <NormalMapPass.h>
Inheritance diagram for NormalMapPass:
Public Member Functions | |
NormalMapPass (Root *mRoot, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_FLOAT32_RGBA, const NameValuePairList *miscParams=0, bool fullScreenQuadRenderer=false, String renderTextureName="NormapMapTexture") | |
~NormalMapPass () | |
Protected Member Functions | |
void | onRenderStart (NameValuePairList *namedParams=0) |
Pre rendering method. | |
void | onRenderEnd (NameValuePairList *namedParams=0) |
Post rendering method. |
SuperClass: ManagedOgreRenderTexturePass Class: NormalMapPass The instances of this class are to generate a texture of the surface normals of the owner entity. The resulting texture is a PF_FLOAT32_RGBA type texture, where the X, Y and Z coordinates of the surface normals will be stored in the R, G and B coordinates of the render texture of this class.
|
|
|
Destructor. |
|
Post rendering method. It runs after the render-texture object is updated. Place all cleanup code here.
Reimplemented from ManagedOgreRenderTexturePass. |
|
Pre rendering method. It runs before the render-texture object is updated. Place all shader setup here.
Reimplemented from ManagedOgreRenderTexturePass. |