commit
This commit is contained in:
@@ -197,7 +197,8 @@ HRESULT CBlink::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
|
||||
m_pBlink_Swirl->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
|
||||
|
||||
m_pBlink_Circle->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
m_pBlink_Circle2->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
|
||||
m_pBlink_Distortion->Set_Visible(true);
|
||||
|
||||
|
||||
@@ -83,6 +83,9 @@ void CGoblin::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CGoblin::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
m_pFSM->Update_State(fTimeDelta);
|
||||
|
||||
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
|
||||
@@ -135,6 +138,9 @@ void CGoblin::Update(_float fTimeDelta)
|
||||
|
||||
void CGoblin::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
if (true == m_pCharacter_Controller->IsActive()) {
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
||||
|
||||
@@ -82,6 +82,9 @@ void CGoblin_Mage::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CGoblin_Mage::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
m_pFSM->Update_State(fTimeDelta);
|
||||
|
||||
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
|
||||
@@ -124,6 +127,9 @@ void CGoblin_Mage::Update(_float fTimeDelta)
|
||||
|
||||
void CGoblin_Mage::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
if (true == m_pCharacter_Controller->IsActive()) {
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
||||
|
||||
@@ -220,6 +220,7 @@ void CTransformation::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
|
||||
m_pInfoInstance->ActiveAt_Interactive(XMLoadFloat4(&vCCTPos));
|
||||
|
||||
CollisionDesc.pObject->Set_Visible(false);
|
||||
//m_pTransformCom->Set_WorldMatrix(CollisionDesc.pObject->Get_Component<CRigidBody_Dynamic>()->Get_Actor()->getGlobalPose());
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -840,9 +840,9 @@ HRESULT CGameInstance::Begin_MRT_NonClear(const _wstring& strMRTTag, ID3D11Depth
|
||||
return m_pRenderTarget_Manager->Begin_MRT_NonClear(strMRTTag, pDSV);
|
||||
}
|
||||
|
||||
HRESULT CGameInstance::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV)
|
||||
HRESULT CGameInstance::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV, _bool isClear)
|
||||
{
|
||||
return m_pRenderTarget_Manager->Begin_MRT_Include_BackBuffer(strMRTTag, pDSV);
|
||||
return m_pRenderTarget_Manager->Begin_MRT_Include_BackBuffer(strMRTTag, pDSV , isClear);
|
||||
}
|
||||
|
||||
HRESULT CGameInstance::Begin_MRT_NO_DepthStencil(const _wstring& strMRTTag)
|
||||
|
||||
@@ -115,7 +115,7 @@ HRESULT CRenderTarget_Manager::Begin_MRT_NonClear(const _wstring& strMultiRender
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CRenderTarget_Manager::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV)
|
||||
HRESULT CRenderTarget_Manager::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV , _bool isClear)
|
||||
{
|
||||
m_pContext->OMGetRenderTargets(1, &m_pBackBufferRTV, &m_pOriginalDSV);
|
||||
|
||||
@@ -135,15 +135,23 @@ HRESULT CRenderTarget_Manager::Begin_MRT_Include_BackBuffer(const _wstring& strM
|
||||
|
||||
pRenderTargetViews[iNumRenderTargets++] = m_pBackBufferRTV;
|
||||
|
||||
|
||||
|
||||
for (auto& pRenderTarget : *pMRTList)
|
||||
{
|
||||
pRenderTarget->Clear();
|
||||
if (isClear == true) {
|
||||
pRenderTarget->Clear();
|
||||
}
|
||||
|
||||
pRenderTargetViews[iNumRenderTargets++] = pRenderTarget->Get_RTV();
|
||||
}
|
||||
|
||||
|
||||
if (0 == iNumRenderTargets) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
m_pContext->OMSetRenderTargets(iNumRenderTargets, pRenderTargetViews, (nullptr == pDSV) ? m_pOriginalDSV : pDSV);
|
||||
|
||||
return S_OK;
|
||||
|
||||
@@ -819,7 +819,7 @@ void CRenderer::Render_Blur_Mesh()
|
||||
return pSour->Get_Depth() > pDest->Get_Depth();
|
||||
});
|
||||
|
||||
if (FAILED(m_pGameInstance->Begin_MRT_Include_BackBuffer(L"MRT_Blur_Mesh")))
|
||||
if (FAILED(m_pGameInstance->Begin_MRT_Include_BackBuffer(L"MRT_Blur_Mesh", nullptr, false)))
|
||||
return;
|
||||
|
||||
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BULR_MESH)])
|
||||
|
||||
@@ -170,7 +170,7 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
HRESULT Add_MRT(const _wstring& strMultiRenderTargetKey, const _wstring& strRenderTargetKey);
|
||||
HRESULT Begin_MRT(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV = nullptr);
|
||||
HRESULT Begin_MRT_NonClear(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV = nullptr);
|
||||
HRESULT Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV = nullptr);
|
||||
HRESULT Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV = nullptr , _bool isClear = true);
|
||||
HRESULT Begin_MRT_NO_DepthStencil(const _wstring& strMRTTag);
|
||||
HRESULT End_MRT();
|
||||
HRESULT Bind_RenderTarget(const _wstring& strTargetTag, class CShader* pShader, const _char* pConstantName);
|
||||
|
||||
@@ -14,7 +14,7 @@ class CRenderTarget_Manager final : public CBase
|
||||
HRESULT Add_MRT(const _wstring& strMultiRenderTargetKey, const _wstring& strRenderTargetKey);
|
||||
HRESULT Begin_MRT(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV);
|
||||
HRESULT Begin_MRT_NonClear(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV);
|
||||
HRESULT Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV);
|
||||
HRESULT Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV , _bool isClear);
|
||||
HRESULT Begin_MRT_NO_DepthStencil(const _wstring& strMRTTag);
|
||||
HRESULT End_MRT();
|
||||
HRESULT Bind_RenderTarget(const _wstring& strTargetTag, class CShader* pShader, const _char* pConstantName);
|
||||
|
||||
Reference in New Issue
Block a user