#include <EnvMapFinalGatheringPass.h>
Inheritance diagram for EnvMapFinalGatheringPass:
Public Member Functions | |
EnvMapFinalGatheringPass (Root *mRoot) | |
void | setEnvMapPostition (Vector3 envMapPosition) |
void | setFresnelFactor (float fresnelFactor) |
void | update (void) |
~EnvMapFinalGatheringPass (void) | |
Protected Member Functions | |
virtual void | onRenderEnd (NameValuePairList *namedParams=0) |
virtual void | onRenderStart (NameValuePairList *namedParams=0) |
Private Attributes | |
Vector3 | envMapPosition |
float | fresnelFactor |
SuperClass ManagedOgreRenderTexturePass
Class EnvMapFinalGatheringPass
|
Constructor
|
|
Destructor |
|
Runs after the render-texture object is updated place all cleanup code here.
Reimplemented from ManagedOgreRenderTexturePass. |
|
Runs before the render-texture object is updated place all shader setup here.
Reimplemented from ManagedOgreRenderTexturePass. |
|
Sets the world-space position of the environment cube-map for the EnvMap shader. This is used, because the cubemap is not regenerated in every frame.
|
|
Sets the material's Fresnel factor for the EnvMap shader.
|
|
Performs the rendering |
|
The world-space position of the Environment cube-map |
|
The material's Fresnel factor. |