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

ImageBasedLightingFinalRenderingRun Class Reference

Renders image based lighting. More...

#include <ImageBasedLightingFinalRenderingRun.h>

Inheritance diagram for ImageBasedLightingFinalRenderingRun:

FinalRenderingRun RenderingRun List of all members.

Public Member Functions

 ImageBasedLightingModule (Entity *owner)
 postRender (RenderTarget *backBuffer, CubeMapFaces cf=CUBEMAP_FACE_POSITIVE_X)
 Blend-add illumination for all environment samples. Depth maps are generated on-the-fly.
 renderSingleEntity (RenderTarget *backBuffer, CubeMapFaces cf=CUBEMAP_FACE_POSITIVE_X)
 Render everything in black.
 ~ImageBasedLightingModule ()

Private Attributes

IBLBlendAddIllumPassblendAddIllumPass

Static Private Attributes

static IBLRenderBlackPass renderBlackPass

Detailed Description

Renders image based lighting.

Uses results from IlluminationModule::imageLightingSamplesRun. There are two steps:


Constructor & Destructor Documentation

~ImageBasedLightingModule  ) 
 

Destructor.


Member Function Documentation

ImageBasedLightingModule Entity *  owner  ) 
 

Constructor.

Parameters:
owner Owner entity.

postRender RenderTarget *  backBuffer,
CubeMapFaces  cf = CUBEMAP_FACE_POSITIVE_X
[virtual]
 

Blend-add illumination for all environment samples. Depth maps are generated on-the-fly.

Parameters:
backBuffer The render target to be rendered to. While this is typically the frame buffer, 'final' rendering can be performed for a texture output, e.g. when rendering an environment map.
cf Meaningful if the render target is a cube map. Identifies the face to be rendered to.

Reimplemented from FinalRenderingRun.

renderSingleEntity RenderTarget *  backBuffer,
CubeMapFaces  cf = CUBEMAP_FACE_POSITIVE_X
[virtual]
 

Render everything in black.

Parameters:
backBuffer The render target to be rendered to. While this is typically the frame buffer, 'final' rendering can be performed for a texture output, e.g. when rendering an environment map.
cf Meaningful if the render target is a cube map. Identifies the face to be rendered to.

Implements FinalRenderingRun.


Member Data Documentation

IBLBlendAddIllumPass* blendAddIllumPass [private]
 

Pass blend-adding the contribtion of 4 samples to the image.

IBLRenderBlackPass renderBlackPass [static, private]
 

Pass rendering black objects (pre-render depth).


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