Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CShadowMaps Class Reference

Public Member Functions

void init (int shadowMapSize, float farValue, int screenWidth, int screenHeight)
void update (CCamera *camera, const core::vector3df &lightDir)
const core::aabbox3dfgetFrustumBox ()
const core::matrix4getViewMatrices ()
const core::matrix4getProjectionMatrices ()
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

The documentation for this class was generated from the following file: