![]() |
Kochol Game Engine
0.1.0
|
#include <ShadowMapProjection.h>
Classes | |
struct | MeshMatrix |
Public Member Functions | |
ShadowMapProjection (int ShadowMapSize, sn::SceneManager *pSmgr) | |
Constructor. | |
virtual | ~ShadowMapProjection () |
Destructor. | |
virtual void | AddNodes (sn::SceneNode *pNodes) |
Add nodes of mesh that effect influencing on it. | |
virtual void | PreRender (float elapsedTime=0.0f) |
The works must to do before rendering the object. | |
virtual void | Render () |
The works must to do after rendering the object. | |
virtual void | PostRenderEverything () |
The works must to do after rendering all of the scene nodes. | |
virtual bool | Init () |
Inits the shadow map. | |
virtual const char * | GetShaderCode () |
virtual math::Matrix * | GetMatrix () |
virtual void | OnReset () |
For internal use. | |
![]() | |
Effect () | |
Constructor. | |
virtual | ~Effect () |
Destructor. |
Public Attributes | |
gfx::Texture * | m_pShadowMap |
The shadow map texture. | |
gfx::Colorf | m_cShadowColor |
Protected Member Functions | |
void | AddMeshes (std::vector< MeshMatrix > &Alpha, std::vector< MeshMatrix > &NoAlpha, sn::SceneNode *mesh) |
Definition at line 28 of file ShadowMapProjection.h.
kge::efx::ShadowMapProjection::ShadowMapProjection | ( | int | ShadowMapSize, |
sn::SceneManager * | pSmgr | ||
) |
Constructor.
|
virtual |
Destructor.
|
protected |
|
virtual |
Add nodes of mesh that effect influencing on it.
Reimplemented from kge::efx::Effect.
|
inlinevirtual |
Definition at line 55 of file ShadowMapProjection.h.
|
virtual |
|
virtual |
Inits the shadow map.
Reimplemented in kge::efx::XPSM.
|
virtual |
For internal use.
Reimplemented from kge::efx::Effect.
|
virtual |
The works must to do after rendering all of the scene nodes.
Implements kge::efx::Effect.
Reimplemented in kge::efx::XPSM.
|
virtual |
The works must to do before rendering the object.
Implements kge::efx::Effect.
Reimplemented in kge::efx::XPSM.
|
virtual |
The works must to do after rendering the object.
Implements kge::efx::Effect.
Reimplemented in kge::efx::XPSM.
gfx::Colorf kge::efx::ShadowMapProjection::m_cShadowColor |
Definition at line 61 of file ShadowMapProjection.h.
|
protected |
Definition at line 107 of file ShadowMapProjection.h.
|
protected |
Definition at line 69 of file ShadowMapProjection.h.
|
protected |
Definition at line 99 of file ShadowMapProjection.h.
|
protected |
Definition at line 99 of file ShadowMapProjection.h.
|
protected |
Definition at line 99 of file ShadowMapProjection.h.
|
protected |
Definition at line 105 of file ShadowMapProjection.h.
|
protected |
The shadow material.
Definition at line 92 of file ShadowMapProjection.h.
|
protected |
Definition at line 92 of file ShadowMapProjection.h.
|
protected |
Definition at line 92 of file ShadowMapProjection.h.
|
protected |
Definition at line 92 of file ShadowMapProjection.h.
|
protected |
Definition at line 99 of file ShadowMapProjection.h.
|
protected |
The pixel shader for rendering shadow map.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
The pixel shader for rendering shadow map with alpha test.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
Definition at line 99 of file ShadowMapProjection.h.
|
protected |
Definition at line 72 of file ShadowMapProjection.h.
|
protected |
Definition at line 65 of file ShadowMapProjection.h.
|
protected |
Definition at line 87 of file ShadowMapProjection.h.
|
protected |
Definition at line 87 of file ShadowMapProjection.h.
|
protected |
Definition at line 87 of file ShadowMapProjection.h.
|
protected |
Definition at line 87 of file ShadowMapProjection.h.
|
protected |
Definition at line 70 of file ShadowMapProjection.h.
gfx::Texture* kge::efx::ShadowMapProjection::m_pShadowMap |
The shadow map texture.
Definition at line 60 of file ShadowMapProjection.h.
|
protected |
The scene manager pointer.
Definition at line 67 of file ShadowMapProjection.h.
|
protected |
The vertex shader for rendering shadow map.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
The vertex shader for rendering shadow map with alpha test.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
The vertex shader for rendering shadow map with instancing.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
The vertex shader for rendering shadow map with instancing & alpha test.
Definition at line 75 of file ShadowMapProjection.h.
|
protected |
Shader handle for world view projection matrix.
Definition at line 82 of file ShadowMapProjection.h.
|
protected |
Definition at line 82 of file ShadowMapProjection.h.
|
protected |
Definition at line 82 of file ShadowMapProjection.h.
|
protected |
Definition at line 82 of file ShadowMapProjection.h.
|
protected |
The view port for rendering in shadow map.
Definition at line 97 of file ShadowMapProjection.h.