Inheritance diagram for DepthShadowMapRenderingRun:
Public Member Functions | |
DepthShadowMapRenderingRun (unsigned int resolutionX, unsigned int resolutionY) | |
Constructor. | |
Protected Member Functions | |
virtual void | createDepthMap ()=0 |
Creates the depth map texture (2D or CUBE according to light type). | |
virtual void | updateDepthCubeFace (int facenum)=0 |
Updates one face of the depth cubemap (used only in case of point lights). | |
virtual void | updateDepthMap ()=0 |
Updates the depth map (in case of directional and spot lights). | |
virtual void | updateFrame (unsigned long frameNum)=0 |
This function does the actual update in a frame. | |
Protected Attributes | |
unsigned int | resolutionX |
width of the depth map texture | |
unsigned int | resolutionY |
height of the depth map texture |
A shadow map stores depth values from the lightsource.
|
Constructor.
|
|
Updates one face of the depth cubemap (used only in case of point lights).
Implemented in OgreDepthShadowMapRenderingRun. |
|
This function does the actual update in a frame.
Reimplemented from RenderingRun. Implemented in OgreDepthShadowMapRenderingRun. |