![]() |
Skylicht Engine
|
Public Member Functions | |
| void | init (int shadowMapSize, float farValue, int screenWidth, int screenHeight) |
| void | update (CCamera *camera, const core::vector3df &lightDir) |
| const core::aabbox3df & | getFrustumBox () |
| const core::matrix4 & | getViewMatrices () |
| const core::matrix4 & | getProjectionMatrices () |
| float * | getShadowDistance () |
| float * | getShadowMatrices () |
Protected Member Functions | |
| void | updateFrustumCorners (const core::vector3df &camPos, const core::vector3df &camForward) |
| void | updateMatrix (core::vector3df &camPos) |
Protected Attributes | |
| int | m_shadowMapSize |
| float | m_nearOffset |
| core::vector3df | m_lightDirection |
| core::matrix4 | m_bias |
| core::matrix4 | m_viewMatrices |
| core::matrix4 | m_projMatrices |
| core::matrix4 | m_textureMatrices |
| SFrustumSplit | m_frustum |
| core::aabbox3df | m_frustumBox |
| float | m_farBounds [4] |
| float | m_shadowMatrices [16 *4] |
| float | m_farValue |