#include <CausticMapRenderingRun.h>
Inheritance diagram for CausticMapRenderingRun:
Public Member Functions | |
CausticMapRenderingRun (Entity *entity) | |
Constructor. | |
const String & | getResultTextureName () |
Returns with the created texture. | |
void | init () |
Runs passes which should run just once. | |
void | setParameters () |
Changes the value of the parameters. | |
void | update () |
Recalculates the passes. | |
~CausticMapRenderingRun () | |
Destructor. | |
Private Attributes | |
Entity * | entity |
The owner entity. | |
Matrix4 | g_mWorldEntityMesh |
Contains the World martix of the entity objerct (refractor). | |
Matrix4 | g_mWorldViewProj |
Contains the WorldViewProjection martix. | |
TexturePtr | g_pCubeMapTexture |
The texture of the CubeMap (caustic receiver). | |
Vector3 | g_vCameraPos3f |
Contains the position of the camera. | |
RenderPhotonHitPass * | renderPhotonHitPass |
Pass to calculate the world position of the Photon hits and create the caustic effect in the CubeMap texure. | |
RenderRefractObjectMapPass * | renderRefractObjectMapPass |
Pass to create the refractor object with its refraction and reflection effect. | |
Static Private Attributes | |
static TexturePtr | g_pPowerOfSnipetTexelTexture |
The texture of Photon hits. It is used to blur the silhouette of the Photon hits. | |
static RenderCubeMapColorDistancePass * | renderCubeMapColorDistancePass |
Pass to calculate the ColorDistance texture for the CubeMap. | |
static RenderCubeMapUVPass * | renderCubeMapUVPass |
Pass to calculate the UV texture for the CubeMap. | |
static RenderPhotonUVMapPass * | renderPhotonUVMapPass |
Pass to calculate the UV positions of the Photon hits. | |
static RenderUmbraPass * | renderUmbraPass |
Pass to calculate the shadow of the caustic generator. |
SuperClass: PreComputingRun Class: CausticMapRenderingRun The instances of this class are to generate a texture for the surface which receives caustics. The resulting texture is a PF_FLOAT32_RGBA type texture.
|
Constructor. Constructor.
|
|
Destructor.
|
|
Returns with the created texture.
Reimplemented from PreComputingRun. |
|
Runs passes which should run just once.
|
|
Changes the value of the parameters.
|
|
Recalculates the passes.
Implements PreComputingRun. |
|
The owner entity.
|
|
Contains the World martix of the entity objerct (refractor).
|
|
Contains the WorldViewProjection martix.
|
|
The texture of the CubeMap (caustic receiver).
|
|
The texture of Photon hits. It is used to blur the silhouette of the Photon hits.
|
|
Contains the position of the camera.
|
|
Pass to calculate the ColorDistance texture for the CubeMap.
|
|
Pass to calculate the UV texture for the CubeMap.
|
|
Pass to calculate the world position of the Photon hits and create the caustic effect in the CubeMap texure.
|
|
Pass to calculate the UV positions of the Photon hits.
|
|
Pass to create the refractor object with its refraction and reflection effect.
|
|
Pass to calculate the shadow of the caustic generator.
|