[add] Render Debugger

This commit is contained in:
kimnuri
2026-04-30 23:14:56 +09:00
parent 94de3a4dfa
commit f03d4e9a0a
6 changed files with 134 additions and 6 deletions
@@ -34,14 +34,17 @@ void CBuildingContainer::Update(_float fTimeDelta)
void CBuildingContainer::Late_Update(_float fTimeDelta)
{
const _float fDepthOcclusionThreshold = m_pGameInstance->Get_DepthOcclusionThreshold();
if (m_pGameInstance->IsIn_WorldFrustum(XMVectorSetW(XMLoadFloat3(&m_vExtentWorldPosition), 1.f), m_fRadius)) {
if (m_fCamDepth > 300.f)
if (m_fCamDepth > fDepthOcclusionThreshold)
{
if (m_pOcclusionQueryCom->isDraw())
__super::Late_Update(fTimeDelta);
}
else
else {
__super::Late_Update(fTimeDelta);
}
m_pGameInstance->Add_RenderGroup(RENDER::OCCLUSION, this);
@@ -89,8 +89,8 @@ void CMapObject_Render::Late_Update(_float fTimeDelta)
m_iNumMeshe = m_pModelComs[m_iLodIndex]->Get_NumMeshes();
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
}
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
}
HRESULT CMapObject_Render::Render()