Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

IBLBlendAddIllumPass Class Reference

Blend-adds illumination for four directional light samples. More...

#include <IBLBlendAddIllumPass.h>

Inheritance diagram for IBLBlendAddIllumPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 IBLBlendAddIllumPass ()
void setDepthViewMatrix (unsigned int index, const Matrix4 &m)
void setLightParams (Vector3 *dirs, Vector3 *powers, float *radii, float *prc)
 ~IBLBlendAddIllumPass ()

Protected Member Functions

void onRenderEnd (NameValuePairList *namedParams=0)
 Runs after the render-texture object is updated place all cleanup code here.
void onRenderStart (NameValuePairList *namedParams=0)
 Runs before the render-texture object is updated place all shader setup here.

Private Attributes

TexturePtr brdfTexture
Matrix4 depthViewMatrices [4]
Vector3 lightDir [4]
Vector3 lightPower [4]
float lightPRC [4]
float lightRadius [4]

Detailed Description

Blend-adds illumination for four directional light samples.


Constructor & Destructor Documentation

IBLBlendAddIllumPass  ) 
 

~IBLBlendAddIllumPass  ) 
 


Member Function Documentation

void onRenderEnd NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs after the render-texture object is updated place all cleanup code here.

Parameters:
namedParams Contains named parameters for rendering end.

Reimplemented from ManagedOgreRenderTexturePass.

void onRenderStart NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs before the render-texture object is updated place all shader setup here.

Parameters:
namedParams A list of named parameters for rendering setup.

Reimplemented from ManagedOgreRenderTexturePass.

void setDepthViewMatrix unsigned int  index,
const Matrix4 &  m
[inline]
 

void setLightParams Vector3 *  dirs,
Vector3 *  powers,
float *  radii,
float *  prc
[inline]
 


Member Data Documentation

TexturePtr brdfTexture [private]
 

Matrix4 depthViewMatrices[4] [private]
 

Vector3 lightDir[4] [private]
 

Vector3 lightPower[4] [private]
 

float lightPRC[4] [private]
 

float lightRadius[4] [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 10:59:27 2005 for OGRE_IllumModule by  doxygen 1.4.2