Skip to content

Commit

Permalink
Fixed typo in GetCascadeTransform function name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Oct 15, 2024
1 parent 767c142 commit 3ed5fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Samples/Atmosphere/src/AtmosphereSample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ void AtmosphereSample::RenderShadowMap(IDeviceContext* pContext,
m_pImmediateContext->SetRenderTargets(0, nullptr, pCascadeDSV, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
m_pImmediateContext->ClearDepthStencil(pCascadeDSV, CLEAR_DEPTH_FLAG, 1.f, 0, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);

const auto CascadeProjMatr = m_ShadowMapMgr.GetCascadeTranform(iCascade).Proj;
const auto CascadeProjMatr = m_ShadowMapMgr.GetCascadeTransform(iCascade).Proj;

const auto& WorldToLightViewSpaceMatr = m_PackMatrixRowMajor ?
ShadowAttribs.mWorldToLightView :
Expand Down
2 changes: 1 addition & 1 deletion Samples/Shadows/src/ShadowsSample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ void ShadowsSample::RenderShadowMap()
auto iNumShadowCascades = m_LightAttribs.ShadowAttribs.iNumCascades;
for (int iCascade = 0; iCascade < iNumShadowCascades; ++iCascade)
{
const auto CascadeProjMatr = m_ShadowMapMgr.GetCascadeTranform(iCascade).Proj;
const auto CascadeProjMatr = m_ShadowMapMgr.GetCascadeTransform(iCascade).Proj;

const auto& WorldToLightViewSpaceMatr = m_PackMatrixRowMajor ?
m_LightAttribs.ShadowAttribs.mWorldToLightView :
Expand Down

0 comments on commit 3ed5fd4

Please sign in to comment.