Merge branch 'Develope' into Bloom

This commit is contained in:
kimnuri
2025-12-04 15:03:22 +09:00
35 changed files with 601 additions and 165 deletions
@@ -76,7 +76,7 @@ technique11 NorTechnique11
pass BoundingDebugPass
{
SetRasterizerState(RS_Nocull);
SetDepthStencilState(DSS_None, 0);
SetDepthStencilState(DSS_Default, 0);
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
VertexShader = compile vs_5_0 VS_MAIN();
GeometryShader = NULL;
@@ -45,7 +45,7 @@ void CBuildingContainer::Update(_float fTimeDelta)
_vector vCamPosition = XMLoadFloat4(m_pGameInstance->Get_CamPosition());
// m_fCamDepth = XMVectorGetX(XMVector3LengthSq(vCamPosition - XMVectorSetW(XMLoadFloat3(&m_vExtentPosition), 1.f)));
m_fCamDepth = XMVectorGetX(XMVector3Length(vCamPosition - XMLoadFloat3(&m_vExtentPosition)));
m_fCamDepth = XMVectorGetX(XMVector3LengthSq(vCamPosition - WorldPosition));
}
}
@@ -66,15 +66,15 @@ void CBuildingContainer::Late_Update(_float fTimeDelta)
if (m_bOcclusionPassed)
{
if(m_fCamDepth > 80.f)
if(m_fCamDepth > 3000.f)
{
if (m_pOcclusionQueryCom->isDraw())
__super::Late_Update(fTimeDelta);
m_pGameInstance->Add_RenderGroup(RENDER::OCCLUSION, this);
}
else
__super::Late_Update(fTimeDelta);
m_pGameInstance->Add_RenderGroup(RENDER::OCCLUSION, this);
}
else
{
@@ -327,8 +327,6 @@ void CLevel_ObjectViewer::Show_AnimList()
if (GUI::Button(pModel->Get_AnimList(i)))
{
pModel->Set_AnimationIndex(i);
pModel->Set_CurrentTrackPosition(0.f);
pModel->Play_Animation(0.f);
}
}
}
@@ -661,8 +659,6 @@ void CLevel_ObjectViewer::Find_Anim()
if (GUI::Button(pModel->Get_AnimList(m_iAnimIndex)))
{
pModel->Set_AnimationIndex(m_iAnimIndex);
pModel->Set_CurrentTrackPosition(0.f);
pModel->Play_Animation(0.f);
}
}
@@ -677,8 +673,6 @@ void CLevel_ObjectViewer::Find_Anim()
if (GUI::Button(pModel->Get_AnimList(i)))
{
pModel->Set_AnimationIndex(i);
pModel->Set_CurrentTrackPosition(0.f);
pModel->Play_Animation(0.f);
}
}
}
@@ -1950,6 +1950,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/Goblin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
TEXT("Prototype_Component_Goblin_Model")
));
futures.emplace_back(Deferred_ModelLoad(
MODEL::ANIM, "../Bin/Resources/Models/Monster/TombProtector/TombProtector.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
TEXT("Prototype_Component_TombProtector_Model")