![]() |
Kochol Game Engine
0.1.0
|
#include <xpsm.h>
Public Member Functions | |
| XPSM (int ShadowMapSize, sn::SceneManager *pSmgr) | |
| Constructor. | |
| ~XPSM () | |
| Destructor. | |
| virtual bool | Init () |
| Inits the XPSM. | |
| void | PreRender (float elapsedTime=0.0f) |
| The works must to do before rendering the object. | |
| void | Render () |
| The works must to do after rendering the object. | |
| void | PostRenderEverything () |
| The works must to do after rendering all of the scene nodes. | |
Public Member Functions inherited from kge::efx::ShadowMapProjection | |
| 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 const char * | GetShaderCode () |
| virtual math::Matrix * | GetMatrix () |
| virtual void | OnReset () |
| For internal use. | |
Public Member Functions inherited from kge::efx::Effect | |
| Effect () | |
| Constructor. | |
| virtual | ~Effect () |
| Destructor. | |
Public Attributes | |
| float | m_XPSM_Coef |
| float | m_XPSM_Bias |
| float | m_XPSM_ZBias |
| float | m_XPSM_EpsilonW |
Public Attributes inherited from kge::efx::ShadowMapProjection | |
| gfx::Texture * | m_pShadowMap |
| The shadow map texture. | |
| gfx::Colorf | m_cShadowColor |
Protected Member Functions | |
| void | BuildXPSMProjectionMatrix () |
| Builds XPSM Projection Matrix. | |
| void | TransformWithWClip (const std::vector< gfx::Vertex3 > &inVectors, std::vector< gfx::Vertex3 > &outVectors, const math::Matrix &transform, float wThreshold) |
| bool | IntersectAABB2D (math::AABB &c, const math::AABB &a, const math::AABB &b) |
Protected Member Functions inherited from kge::efx::ShadowMapProjection | |
| void | AddMeshes (std::vector< MeshMatrix > &Alpha, std::vector< MeshMatrix > &NoAlpha, sn::SceneNode *mesh) |
| kge::efx::XPSM::XPSM | ( | int | ShadowMapSize, |
| sn::SceneManager * | pSmgr | ||
| ) |
Constructor.
| kge::efx::XPSM::~XPSM | ( | ) |
Destructor.
|
protected |
Builds XPSM Projection Matrix.
|
virtual |
Inits the XPSM.
Reimplemented from kge::efx::ShadowMapProjection.
|
protected |
|
virtual |
The works must to do after rendering all of the scene nodes.
Reimplemented from kge::efx::ShadowMapProjection.
|
virtual |
The works must to do before rendering the object.
Reimplemented from kge::efx::ShadowMapProjection.
|
virtual |
The works must to do after rendering the object.
Reimplemented from kge::efx::ShadowMapProjection.
|
protected |
|
protected |