diff --git a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp index 75a74ac27..c9a3a016e 100644 --- a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp @@ -194,8 +194,6 @@ HRESULT CBroomRacerAI::Render() } } - - return S_OK; } HRESULT CBroomRacerAI::Render_Shadow(SHADOW eType) @@ -329,10 +327,7 @@ HRESULT CBroomRacerAI::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { return E_FAIL; } - _float Intensity = 0.f; - if (FAILED(m_pShaderCom->Bind_RawValue("g_fMBIntensity", &Intensity, sizeof(_float)))) { - return E_FAIL; - } + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp index 018fe4de3..b17b2b510 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp @@ -316,10 +316,6 @@ HRESULT CGoblin_Assassin_Spector::Bind_ShaderResources() return E_FAIL; } - _float Intensity = 0.f; - if (FAILED(m_pShaderCom->Bind_RawValue("g_fMBIntensity", &Intensity, sizeof(_float)))) { - return E_FAIL; - } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp b/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp index 977d57ce3..e505bb819 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp @@ -292,14 +292,9 @@ HRESULT CGoblin_Spector::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { return E_FAIL; } - _float Intensity = 0.f; - if (FAILED(m_pShaderCom->Bind_RawValue("g_fMBIntensity", &Intensity, sizeof(_float)))) { - return E_FAIL; - } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp index 83ea1618e..b81de7e0a 100644 --- a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp +++ b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp @@ -167,8 +167,6 @@ HRESULT CHuman_Duelist::Render() if (FAILED(Bind_ShaderResources())) { return E_FAIL; } - _float fIntensity = 0.f; - m_pShaderCom->Bind_RawValue("g_fMBIntensity", &fIntensity, sizeof(_float)); RENDER eType = m_pGameInstance->Get_CurrentRenderPass(); if (RENDER::NONBLEND == eType) { _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 84ebfc958..ccb34dd7b 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -233,8 +233,6 @@ HRESULT CPlayer::Render() if (FAILED(Bind_ShaderResources())) { return E_FAIL; } - _float fIntensity = 0.f; - m_pShaderCom->Bind_RawValue("g_fMBIntensity", &fIntensity, sizeof(_float)); RENDER eType = m_pGameInstance->Get_CurrentRenderPass(); if (RENDER::NONBLEND == eType) { _uint iNumMeshes = m_pModelCom->Get_NumMeshes();