Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CBoundShadowMaps 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::aabbox3df &bound)
void update (const core::vector3df &lightPosition, float lightRadius, const core::aabbox3df &bound)
const core::aabbox3df & getFrustumBox ()
const core::matrix4 & getViewMatrices ()
const core::matrix4 & getProjectionMatrices ()
float * getShadowMatrices ()

Protected Member Functions

void updateMatrix (core::vector3df &camPos, const core::aabbox3df &bound)

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
core::aabbox3df m_frustumBox
float m_shadowMatrices [16]
float m_farValue

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