diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 4ff8bdbb3..818379636 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -188,6 +188,7 @@ call Update_Resources.bat
+
@@ -445,6 +446,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index 5616bdcba..bbff590f3 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -2,25 +2,25 @@
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define
+ 02.GameObjects\ReparoObject\99.Define
- 99.Define
+ 02.GameObjects\ReparoObject\99.Define
- 99.Define
+ 02.GameObjects\ReparoObject\99.Define
00.MainApp
@@ -146,7 +146,7 @@
02.GameObjects\Environment\01.MapPartObject
- 99.Define
+ 02.GameObjects\ReparoObject\99.Define
02.GameObjects\Environment\01.MapPartObject\Collision
@@ -791,25 +791,22 @@
02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_Record
+
+ 02.GameObjects\ReparoObject
+
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
-
- {2899f7fc-0ed2-41c0-8e24-0d89f08ffc39}
-
{2902e559-abdf-4dd7-ac4c-cc6e2b81ad0d}
-
- {05a0db73-4fbf-456c-9137-bb605c632d68}
-
{aa499dd2-f7cb-4abd-9b3c-19f6e8427d7e}
@@ -1647,13 +1644,22 @@
{2246ff16-d62c-4e16-a948-16e7968e0933}
+
+ {4fbbe0ec-6b65-49f1-a72d-fe73ddbf2b4d}
+
+
+ {2899f7fc-0ed2-41c0-8e24-0d89f08ffc39}
+
+
+ {05a0db73-4fbf-456c-9137-bb605c632d68}
+
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
00.MainApp
@@ -2337,9 +2343,6 @@
02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Point
-
- 02.GameObjects\Cameras\Camera_Model
-
02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Assassin
@@ -2388,6 +2391,9 @@
02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_Record
+
+ 02.GameObjects\ReparoObject
+
@@ -2435,7 +2441,7 @@
- 99.Define\00.DEFAULT
+ 02.GameObjects\ReparoObject\99.Define\00.DEFAULT
\ No newline at end of file
diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
index 1fa8647a0..62ce93e6a 100644
--- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
+++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
@@ -49,6 +49,8 @@ void CBroomRaceManager::Priority_Update(_float fTimeDelta)
case ENUM_CLASS(RACE_STATE::RACING):
Check_RingPassed();
break;
+ case ENUM_CLASS(RACE_STATE::FINISH):
+ break;
}
}
@@ -313,6 +315,10 @@ void CBroomRaceManager::Check_RingPassed()
}
}
+void CBroomRaceManager::Finish()
+{
+}
+
void CBroomRaceManager::SetTargetRing(CGameObject* pRacer)
{
@@ -324,6 +330,11 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer)
{
if (racer.pAI)
{
+ if (racer.curRing == m_pRaceRings.size() - 1)
+ {
+ racer.pAI->Get_Broom()->Set_Hover(true);
+ racer.pAI->Get_Broom()->Set_Move(false);
+ }
racer.pAI->Set_RaceRing(m_pRaceRings[racer.curRing]);
}
}
@@ -332,6 +343,11 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer)
{
if (racer.pRacer == pRacer)
{
+ if (racer.curRing == m_pRaceRings.size() - 1)
+ {
+ racer.pRacer->Get_Broom()->Set_Hover(true);
+ racer.pRacer->Get_Broom()->Set_Move(false);
+ }
racer.pRacer->Set_RaceRing(m_pRaceRings[racer.curRing]);
m_pInfoInstance->Event_CallBack(TEXT("CurrentRing"));
}
diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp
index 46e9196be..c00d0f670 100644
--- a/Jusin154_Team3D/Client/Private/Broom_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp
@@ -186,8 +186,6 @@ void CBroom::Behavior_Broom_HoverEnter()
HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
{
- if (false == m_bMove)
- return S_OK;
pair<_uint, _bool> pairAnimInfo = {};
_uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex();
_bool bFwd = m_Input.Z > 0.f;
@@ -198,6 +196,21 @@ HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
_bool bShift = m_Input.bHoverToggle;
_bool bTurbo = m_Input.bTurbo;
+ if (false == m_bMove)
+ {
+ m_fTargetSpeed = 0.f;
+
+ m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fDecel;
+
+
+ m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta);
+ pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B];
+ return S_OK;
+ }
+
+
+
+
if (m_bHoverToggle)
{
_float fTargetVertSpeed = 0.f;
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
index 57e040a1e..8fee914de 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
@@ -159,6 +159,11 @@ HRESULT CGoblin_Assassin::Render()
if (FAILED(Render_DeadDisolve())) {
return E_FAIL;
}
+
+ if (FAILED(Render_Disolve())) {
+ return E_FAIL;
+ }
+
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
for (_uint i = 0; i < iNumMeshes; i++)
{
@@ -218,6 +223,13 @@ HRESULT CGoblin_Assassin::Render()
}
}
+ {
+ _bool bDisolve = false;
+ _float zero = 0.f;
+ m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool));
+ m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
+ }
+
return S_OK;
}
@@ -345,7 +357,7 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
}
m_DamageInfo.vTarget_Pos = m_pCharacter_Controller->Get_HeadPosition();
-// m_pGoblinSpector->Set_Visible(false);
+ m_pGoblinSpector->Set_Visible(false);
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
Check_HitAngle(XMLoadFloat4(&CollisionDesc->vHitDir));
@@ -359,7 +371,7 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
if (pEffect_Container != nullptr)
{
_uint iSkillType = pEffect_Container->Get_SkillType();
- //damagePair = Get_Damage(m_pInfoInstance->Get_Spell_Damage(iSkillType));
+ damagePair = Get_Damage(m_pInfoInstance->Get_Spell_Damage(iSkillType));
switch (iSkillType)
{
@@ -403,14 +415,14 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
}
- //m_DamageInfo.fDamage = damagePair.first;
- //m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
- //if (0 == damagePair.second) {
- // m_pFSM->Change_State(FSMSTATE::DEAD);
- // _int ID = m_pStat->Get_Stat().iObjectID;
- // m_pInfoInstance->Event_CallBack(TEXT("MonsterDead"), &ID);
- // return;
- //}
+ m_DamageInfo.fDamage = damagePair.first;
+ m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
+ if (0 == damagePair.second) {
+ m_pFSM->Change_State(FSMSTATE::DEAD);
+ _int ID = m_pStat->Get_Stat().iObjectID;
+ m_pInfoInstance->Event_CallBack(TEXT("MonsterDead"), &ID);
+ return;
+ }
m_pFSM->Change_State(FSMSTATE::HIT);
@@ -485,7 +497,7 @@ HRESULT CGoblin_Assassin::Ready_Components()
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
}
- if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN"), (CComponent**)&m_pStat))) {
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN_ASSASSIN"), (CComponent**)&m_pStat))) {
return E_FAIL;
}
return S_OK;
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
index 0326fe5e3..d233fe7a6 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
@@ -132,7 +132,7 @@ HRESULT CGoblin_Assassin::Behavior_MoveExitCheck(_float fTimeDelta)
pair<_uint, _bool> pairAnimInfo = {};
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
- if (m_fTargetDistance >= 6.f)
+ if (m_fTargetDistance >= 7.f)
{
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
@@ -141,7 +141,6 @@ HRESULT CGoblin_Assassin::Behavior_MoveExitCheck(_float fTimeDelta)
if (!m_bFirstMove)
{
_uint Rand = m_pGameInstance->Real_Random_Int(0, 3);
-
switch (Rand)
{
case 0:
@@ -168,7 +167,6 @@ HRESULT CGoblin_Assassin::Behavior_MoveExitCheck(_float fTimeDelta)
break;
}
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.5f, true);
-
m_bFirstMove = true;
m_fMoveTime = 0.f;
return S_OK;
@@ -183,7 +181,7 @@ HRESULT CGoblin_Assassin::Behavior_MoveExitCheck(_float fTimeDelta)
}
- if (m_fTargetDistance <= 15.f && m_fTargetDistance >= 4.f && m_fTargetDistance != 0.f)
+ if (m_fTargetDistance <= 15.f && m_fTargetDistance >= 5.f && m_fTargetDistance != 0.f)
{
m_pFSM->Change_State(FSMSTATE::COMBAT);
return E_FAIL;
@@ -217,12 +215,7 @@ HRESULT CGoblin_Assassin::Behavior_CombatExitCheck(_float fTimeDelta)
return E_FAIL;
}
- if (m_fTargetDistance <= 6.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::SLASH)] <= 0.f)
- {
- m_pFSM->Change_State(FSMSTATE::SLASH);
- return E_FAIL;
- }
- else if (m_fTargetDistance <= 10.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::DASH)] <= 0.f)
+ if (m_fTargetDistance <= 7.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::DASH)] <= 0.f)
{
m_pFSM->Change_State(FSMSTATE::DASH);
return E_FAIL;
@@ -251,8 +244,7 @@ void CGoblin_Assassin::Behavior_SlashEnter()
m_pFSM->Enable_State(FSMSTATE::SLASH);
pairAnimInfo = m_Animation[STATEANIM::SLASH];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.5f);
- m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::SLASH)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::SLASH)];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.3f,false,1.3f);
Add_Event(pairAnimInfo.first,
[this]() {
@@ -263,6 +255,12 @@ void CGoblin_Assassin::Behavior_SlashEnter()
},
0.05f);
+ Add_Event(pairAnimInfo.first,
+ [this]() {
+ Get_PartObject("Goblin_Sword_L")->Set_CanTakeDamage(true);
+ Get_PartObject("Goblin_Sword_R")->Set_CanTakeDamage(true); },
+ 0.15f);
+
Add_Event(pairAnimInfo.first,
[this]() {
m_pGoblinSpector->Set_Disolve(true); },
@@ -280,8 +278,11 @@ void CGoblin_Assassin::Behavior_SlashEnter()
HRESULT CGoblin_Assassin::Behavior_SlashExitCheck(_float fTimeDelta)
{
- if (m_pModelCom->IsFinishedAnim())
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.9f)
{
+ Get_PartObject("Goblin_Sword_L")->Set_CanTakeDamage(false);
+ Get_PartObject("Goblin_Sword_R")->Set_CanTakeDamage(false);
m_pFSM->Change_State(FSMSTATE::COMBAT);
return E_FAIL;
}
@@ -307,7 +308,8 @@ void CGoblin_Assassin::Behavior_DashEnter()
HRESULT CGoblin_Assassin::Behavior_DashExitCheck(_float fTimeDelta)
{
- if (m_pModelCom->IsFinishedAnim())
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.7f)
{
m_pFSM->Change_State(FSMSTATE::SLASH);
return E_FAIL;
@@ -340,7 +342,8 @@ HRESULT CGoblin_Assassin::Behavior_BlinkExitCheck(_float fTimeDelta)
{
pair<_uint, _bool> pairAnimInfo = {};
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
- if (!m_bDisolve && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (m_fDisolveTime >= 0.8f && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
{
m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)];
_vector vPlayerPos = XMLoadFloat4(&m_vTargetPos);
@@ -365,7 +368,7 @@ HRESULT CGoblin_Assassin::Behavior_BlinkExitCheck(_float fTimeDelta)
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
}
- if (m_pModelCom->IsFinishedAnim() && iCurrAnimIndex == m_Animation[STATEANIM::BLINK].first)
+ if (fRatio >= 0.8f && iCurrAnimIndex == m_Animation[STATEANIM::BLINK].first)
{
m_bLookAt = true;
m_fTpTime = 0.f;
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp
index 8f54381e1..1792a3b69 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp
@@ -68,10 +68,11 @@ HRESULT CGoblin_Mage::Initialize(void* pArg)
m_pCharacter_Controller->Set_Position(XMVectorSet(-52.f, 0.f, -4.f, 1.f));
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-52.f, 0.f, -4.f, 1.f));
+#ifdef _DEBUG
#if 진우
m_isDebugMode = true;
#endif
-
+#endif
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
index 93d98f143..7266be66e 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
@@ -369,7 +369,7 @@ HRESULT CGoblin::Behavior_BlinkExitCheck(_float fTimeDelta)
{
pair<_uint, _bool> pairAnimInfo = {};
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
- if (!m_bDisolve && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
+ if (m_fDisolveTime >= 0.8f && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
{
m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)];
_vector vPlayerPos = XMLoadFloat4(&m_vTargetPos);
diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp
index 70e9b924c..34abda90b 100644
--- a/Jusin154_Team3D/Client/Private/Level_Field.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp
@@ -23,6 +23,9 @@ HRESULT CLevel_Field::Initialize(void* pArg)
if (FAILED(Ready_Lights())) {
return E_FAIL;
}
+ if (FAILED(Ready_Volumetric())) {
+ return E_FAIL;
+ }
if (FAILED(Ready_Layer_SkyBox())) {
return E_FAIL;
@@ -153,12 +156,27 @@ HRESULT CLevel_Field::Ready_Lights()
_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
+#ifdef gimch
+ vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
+ vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
+ vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
+#endif // gimch
+
+
+
pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
return S_OK;
}
+HRESULT CLevel_Field::Ready_Volumetric()
+{
+ m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
+ return S_OK;
+}
+
HRESULT CLevel_Field::Ready_Camera()
{
#ifdef _DEBUG
@@ -206,6 +224,8 @@ HRESULT CLevel_Field::Ready_Background()
m_pGameInstance->Set_FogColor(vColor);
m_pGameInstance->Set_Fog(10.f, 8.f);
+ m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND);
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 4853e5a6e..15315b463 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -17,6 +17,7 @@
#include "MapElement_Lake.h"
#include "RaceRing.h"
#include "BroomRaceManager.h"
+#include "ReparoObject.h"
#pragma region ACTOR
#include "Player.h"
@@ -44,7 +45,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
#ifdef _DEBUG
// 낮, 밤 설정
#ifdef gimch
- m_isDay = false;
+ m_isDay = true;
#endif // gimch
#ifdef Bin
m_isDay = true;
@@ -96,6 +97,10 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
return E_FAIL;
}
+ if (FAILED(Ready_Layer_ReparoObject(TEXT("Layer_ReparoObject")))) {
+ return E_FAIL;
+ }
+
if (FAILED(Ready_Layer_SkyBox(TEXT("Layer_SkyBox")))) {
return E_FAIL;
}
@@ -219,7 +224,8 @@ HRESULT CLevel_GamePlay::Ready_Volumetric()
1.251f, // 밀도
0.0253f, // 빛 강도
0.9f, // 산란 계수
- 1.78f // 깊이 분포 계수
+ 1.78f, // 깊이 분포 계수
+ 0.f
);
}
else
@@ -228,7 +234,8 @@ HRESULT CLevel_GamePlay::Ready_Volumetric()
0.626f, // 밀도
0.01f, // 빛 강도
0.11f, // 산란 계수
- 1.0f // 깊이 분포 계수
+ 1.0f, // 깊이 분포 계수
+ 0.f
);
}
@@ -723,6 +730,17 @@ HRESULT CLevel_GamePlay::Ready_Layer_RaceRing(const _wstring& strLayerTag)
return S_OK;
}
+HRESULT CLevel_GamePlay::Ready_Layer_ReparoObject(const _wstring& strLayerTag)
+{
+ for (_uint i = 0; i < 1; ++i) {
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
+ return E_FAIL;
+ }
+ }
+
+ return S_OK;
+}
+
HRESULT CLevel_GamePlay::Ready_Layer_SkyBox(const _wstring& strLayerTag)
{
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_SKYBOX))) {
@@ -753,14 +771,14 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
#endif // Bin
#endif // _DEBUG
if (true == isLoad_Monster) {
- for (_uint i = 0; i < 1; ++i)
+ for (_uint i = 0; i < 0; ++i)
{
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
return E_FAIL;
}
}
- for (_uint i = 0; i < 1; ++i)
+ for (_uint i = 0; i < 0; ++i)
{
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
return E_FAIL;
@@ -779,9 +797,9 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
+ /*if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
return E_FAIL;
- }
+ }*/
}
#if 진우
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 44d567c2d..65a0e77b6 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -24,6 +24,7 @@
#include "Goblin_Sword.h"
#include "Goblin_BattleAxe.h"
#include "BroomRaceManager.h"
+#include "ReparoObject.h"
#pragma region ACTOR
@@ -1937,7 +1938,7 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Broom_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Weapon_Model"),
@@ -1964,6 +1965,15 @@ HRESULT CLoader::Loading_For_GamePlay()
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Goblin_BattleAxe/SK_WPN_GOB_BattleAxe01.bin", XMMatrixRotationX(XMConvertToRadians(-90.f)) * XMMatrixIdentity()))))
return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin", XMMatrixIdentity()))))
+ return E_FAIL;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerB_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin", XMMatrixIdentity()))))
+ return E_FAIL;
+
+
#pragma endregion
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayerRobe::Create(m_pDevice, m_pContext)))) {
@@ -2985,6 +2995,10 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBroom::Create(m_pDevice, m_pContext))))
return E_FAIL;
+ /* For.Prototype_GameObject_ReparoObject */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CReparoObject::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
/* For.Prototype_GameObject_BroomRaceManager */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBroomRaceManager::Create(m_pDevice, m_pContext))))
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
index c0a2d1748..2b25e411a 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
@@ -315,9 +315,6 @@ CGameObject* CMapElement_Chest::Clone(void* pArg, CGameObject* pOwner)
void CMapElement_Chest::Free()
{
- //if (nullptr != m_pRigidBody) {
- // m_pGameInstance->Release_Actor(*m_pRigidBody->Get_Actor(), m_pGameInstance->Get_CurrentLevelID());
- //}
__super::Free();
if (m_bCloned)
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index a344012f0..6c2650f9e 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -254,13 +254,13 @@ HRESULT CPlayer::Render()
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
return E_FAIL;
}
-#ifdef _DEBUG
-#ifdef 기무리
- if (FAILED(m_pModelCom->Bind_BoneMatrices(i, m_pShaderCom, "g_BoneMatrices"))) {
- return E_FAIL;
- }
-#endif // 기무리
-#endif // _DEBUG
+//#ifdef _DEBUG
+//#ifdef 기무리
+// if (FAILED(m_pModelCom->Bind_BoneMatrices(i, m_pShaderCom, "g_BoneMatrices"))) {
+// return E_FAIL;
+// }
+//#endif // 기무리
+//#endif // _DEBUG
if (FAILED(m_pShaderCom->Bind_Matrices(
"g_OffsetMatrix",
@@ -289,6 +289,7 @@ HRESULT CPlayer::Render()
Render_CameraCoordinateSystem();
//m_pCharacter_Controller->Render();
#endif // _DEBUG
+
}
#ifdef _DEBUG
if (RENDER::NONLIGHT == eType) {
@@ -405,6 +406,7 @@ void CPlayer::Start_CameraShake(_float fTime, _float fIntense)
m_bCameraShake = true;
}
+
void CPlayer::Set_RaceRing(CRaceRing* pRaceRing)
{
if (m_pRaceRing != pRaceRing)
@@ -417,46 +419,6 @@ void CPlayer::Set_RaceRing(CRaceRing* pRaceRing)
SAFE_ADDREF(m_pRaceRing);
}
-void CPlayer::Render_CameraCoordinateSystem()
-{
-
-
- GUI::Text("W : %.2f, %.2f, %.2f", m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z);
- GUI::Text("A : %.2f, %.2f, %.2f", -m_vCameraRightDir.x, 0.f, -m_vCameraRightDir.z);
- GUI::Text("S : %.2f, %.2f, %.2f", -m_vCameraLookDir.x, 0.f, -m_vCameraLookDir.z);
- GUI::Text("D : %.2f, %.2f, %.2f", m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z);
-
- _float fButtonSize = 45.f;
- GUI::Button("##0", { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button(("W : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button("##2", { fButtonSize, fButtonSize });
- GUI::Button(("A : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , -m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button("##4", { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button(("D : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize });
- GUI::Button("##6", { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button(("S : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , -m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
- GUI::Button("##8", { fButtonSize, fButtonSize });
- //W CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })
- //A CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , - m_vCameraRightDir.z })
- //S CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })
- //D CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , - m_vCameraLookDir.z })
- }
- GUI::End();
- m_Batch->DrawLine( // W
- VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::GhostWhite),
- VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::Blue)
- );
- m_Batch->DrawLine( // D
- VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::GhostWhite),
- VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::Red)
- );
- m_Batch->DrawLine( // PlayerLook
- VertexPositionColor(XMVectorZero(), DirectX::Colors::GhostWhite),
- VertexPositionColor(fArrowLength * xmvLook, DirectX::Colors::HotPink)
- );
- m_Batch->End();
-}
-}
HRESULT CPlayer::Ready_Components()
{
CTransform::TRANSFORM_DESC Desc = {};
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index 85b936d59..87b4d9800 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -2271,7 +2271,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
{
m_fNeutralTime += fTimeDelta;
- if (m_fNeutralTime > 0.2f)
+ if (m_fNeutralTime > 0.25f)
{
if (iCurrAnimIndex != pairAnimInfo.first)
{
@@ -2281,9 +2281,11 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
}
}
else {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_IDLE);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
m_fNoInputTime += fTimeDelta;
- if (m_fNoInputTime > 0.2f)
+ if (m_fNoInputTime > 0.25f)
{
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_IDLE);
@@ -2443,7 +2445,7 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
{
m_fNeutralTime += fTimeDelta;
- if (m_fNeutralTime > 0.2f)
+ if (m_fNeutralTime > 0.25f)
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
}
}
@@ -2451,7 +2453,7 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
m_fNoInputTime += fTimeDelta;
- if (m_fNoInputTime > 0.2f)
+ if (m_fNoInputTime > 0.25f)
{
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_TURBO_FWD);
@@ -2748,6 +2750,22 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Info.pText = TEXT("아바다 케다브라!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
break;
+ case ENUM_CLASS(SKILL_TYPE::REPARO):
+ {
+ pairAnimInfo = m_Animation[STATEANIM::REPARO_START];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() { pairAnimInfo = m_Animation[STATEANIM::REPARO_LOOP];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); },
+ 0.95f);
+
+ Add_Event(m_Animation[STATEANIM::REPARO_LOOP].first,
+ [&]() { pairAnimInfo = m_Animation[STATEANIM::REPARO_END];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); },
+ 0.95f);
+ }
+ break;
case ENUM_CLASS(SKILL_TYPE::LUMOS):
if (m_pModelCom->Get_SecondAnimIndex() != m_Animation[STATEANIM::LUMOS].first)
{
@@ -3301,6 +3319,10 @@ void CPlayer::Set_Anim()
m_Animation[STATEANIM::ANCIENT_THROW] = { 920,false };
m_Animation[STATEANIM::AVADA_KEDAVRA] = { 0,false };
+ m_Animation[STATEANIM::REPARO_START] = { 759,false };
+ m_Animation[STATEANIM::REPARO_LOOP] = { 758,true };
+ m_Animation[STATEANIM::REPARO_END] = { 757,false };
+
m_Animation[STATEANIM::ANCIENT_LIGHTNING] = { 1002,false };
m_Animation[STATEANIM::SPELL_FAIL] = { 907,false };
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
index fe01b71b4..f14850d2f 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
@@ -744,9 +744,9 @@ void CRanrok::Behavior_LandEnter()
pairAnimInfo = m_Animation[STATEANIM::LAND];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- /*Add_Event(pairAnimInfo.first,
+ Add_Event(pairAnimInfo.first,
[this]() { CameraShake(30.f, 5.f, 10.f, 1.2f); },
- 0.53f);*/
+ 0.53f);
}
HRESULT CRanrok::Behavior_LandExitCheck(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/ReparoObject.cpp b/Jusin154_Team3D/Client/Private/ReparoObject.cpp
new file mode 100644
index 000000000..94fef5cff
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/ReparoObject.cpp
@@ -0,0 +1,207 @@
+#include "pch.h"
+#include "ReparoObject.h"
+
+#include "GameInstance.h"
+#include "InfoInstance.h"
+#include "Unit.h"
+#include "PartObject.h"
+#include "EffectParts.h"
+
+CReparoObject::CReparoObject(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CUnit(pDevice, pContext)
+{
+}
+
+CReparoObject::CReparoObject(const CReparoObject& Prototype)
+ : CUnit(Prototype),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+}
+
+HRESULT CReparoObject::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CReparoObject::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+
+
+ if (FAILED(Ready_Components())) {
+ return E_FAIL;
+ }
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
+
+ m_pModelCom->Set_AnimationIndex(0);
+
+
+ return S_OK;
+}
+
+void CReparoObject::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CReparoObject::Update(_float fTimeDelta)
+{
+ __super::Update(fTimeDelta);
+
+ m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
+
+#ifdef _DEBUG
+ Describe_Entity();
+#endif // _DEBUG
+
+
+}
+
+void CReparoObject::Late_Update(_float fTimeDelta)
+{
+ __super::Late_Update(fTimeDelta);
+
+ m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+
+}
+
+HRESULT CReparoObject::Render()
+{
+ if (!m_pModelCom) {
+ return S_OK;
+ }
+
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+
+ _uint iNumMeshes = m_pModelCom->Get_NumMeshes();
+
+ for (_uint i = 0; i < iNumMeshes; i++)
+ {
+ if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_Matrices(
+ "g_OffsetMatrix",
+ m_pModelCom->Get_OffsetMatrix(i).data(),
+ (_int)m_pModelCom->Get_OffsetMatrix(i).size()
+ )))
+ {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
+ return E_FAIL;
+ }
+
+ m_pModelCom->Bind_OutPut_SRV_VS(31, 0);
+ m_pModelCom->Bind_OutPut_SRV_VS_Prev(32, 0);
+
+ if (FAILED(m_pModelCom->Render(i))) {
+ return E_FAIL;
+ }
+ }
+
+ return S_OK;
+}
+
+HRESULT CReparoObject::Ready_Components()
+{
+ CTransform::TRANSFORM_DESC Desc = {};
+
+ Desc.fSpeedPerSec = 10.f;
+ Desc.fRotationPerSec = XMConvertToRadians(180.0f);
+ Desc.fRadius = 10.f;
+
+ __super::Ready_Components(&Desc);
+
+ /* Com_Model */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model"),
+ reinterpret_cast(&m_pModelCom)))) {
+ return E_FAIL;
+ }
+
+ /* Com_Shader */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_ANIMMESH,
+ reinterpret_cast(&m_pShaderCom)))) {
+ return E_FAIL;
+ }
+
+
+ return S_OK;
+}
+
+HRESULT CReparoObject::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Bind_PrevMatrix(m_pShaderCom, "g_PrevViewMatrix", D3DTS::VIEW))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Bind_PrevMatrix(m_pShaderCom, "g_PrevProjMatrix", D3DTS::PROJ))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
+ return E_FAIL;
+ }
+ 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;
+ }
+
+ return S_OK;
+}
+
+CReparoObject* CReparoObject::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CReparoObject* pInstance = new CReparoObject(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CReparoObject");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CReparoObject::Clone(void* pArg, CGameObject* pOwner)
+{
+ CReparoObject* pInstance = new CReparoObject(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CReparoObject");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CReparoObject::Free()
+{
+ __super::Free();
+
+}
+#ifdef _DEBUG
+
+void CReparoObject::Describe_Entity()
+{
+ GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
+
+ GUI::End();
+}
+
+#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Skill_Data.cpp b/Jusin154_Team3D/Client/Private/Skill_Data.cpp
index d42db2959..23182e4a1 100644
--- a/Jusin154_Team3D/Client/Private/Skill_Data.cpp
+++ b/Jusin154_Team3D/Client/Private/Skill_Data.cpp
@@ -22,6 +22,7 @@ HRESULT CSkill_Data::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pCon
Spell_UnLock(6);
Spell_UnLock(11);
Spell_UnLock(14);
+ Spell_UnLock(15);
Spell_UnLock(20);
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h
index 60fa310ca..5fd23bd0c 100644
--- a/Jusin154_Team3D/Client/Public/Broom.h
+++ b/Jusin154_Team3D/Client/Public/Broom.h
@@ -31,6 +31,7 @@ class CBroom final : public CUnit
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
void Set_Ride(_bool bRide) { m_bRide = bRide; }
+ void Set_Hover(_bool bHover) { m_bHoverToggle = bHover; }
_bool Get_Hover() { return m_bHoverToggle; }
_bool Get_Turbo() { return m_bTurbo; }
diff --git a/Jusin154_Team3D/Client/Public/BroomRaceManager.h b/Jusin154_Team3D/Client/Public/BroomRaceManager.h
index 2ae3c2106..b97efbb80 100644
--- a/Jusin154_Team3D/Client/Public/BroomRaceManager.h
+++ b/Jusin154_Team3D/Client/Public/BroomRaceManager.h
@@ -65,6 +65,7 @@ class CBroomRaceManager final : public CGameObject
void Update_Countdown(_float fTimeDelta);
void StartRaceMove();
void Check_RingPassed();
+ void Finish();
public:
static CBroomRaceManager* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
index 3dfaa013c..3d3a77061 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
@@ -10,9 +10,15 @@ NS_BEGIN(Client)
class CGoblin_Assassin final : public CMonster
{
+ enum class STRAFE_DIR
+ {
+ LEFT,
+ RIGHT,
+ NONE
+ };
+
enum class GOBLIN_ASSASSIN_SKILL
{
- SLASH,
DASH,
TP,
END
@@ -76,7 +82,7 @@ class CGoblin_Assassin final : public CMonster
virtual void Set_Anim();
_float m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = {};
- _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = { 5.f,2.f,15.f };
+ _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = { 8.f,15.f };
_bool m_bStep = { true };
_float m_fTpTime = {};
@@ -94,6 +100,14 @@ class CGoblin_Assassin final : public CMonster
_float m_fHitTimer = {};
_float m_fTumbleTimer = {};
+
+ STRAFE_DIR m_eStrafeDir = STRAFE_DIR::NONE;
+ STRAFE_DIR m_ePrevStrafeDir = STRAFE_DIR::NONE;
+
+ _float m_fDecisionTimer = 0.f;
+ _float m_fDecisionInterval = 2.f;
+
+
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
void Behavior_IdleExit();
diff --git a/Jusin154_Team3D/Client/Public/Level_Field.h b/Jusin154_Team3D/Client/Public/Level_Field.h
index 4c875dd93..978ec5d8b 100644
--- a/Jusin154_Team3D/Client/Public/Level_Field.h
+++ b/Jusin154_Team3D/Client/Public/Level_Field.h
@@ -23,6 +23,7 @@ class CLevel_Field final : public CLevel
virtual HRESULT Initialize() override;
HRESULT Initialize(void* pArg);
HRESULT Ready_Lights();
+ HRESULT Ready_Volumetric();
HRESULT Ready_Camera();
HRESULT Ready_Layer_SkyBox();
HRESULT Ready_Background();
diff --git a/Jusin154_Team3D/Client/Public/Level_GamePlay.h b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
index c5bd6bcd8..1a4e25fbd 100644
--- a/Jusin154_Team3D/Client/Public/Level_GamePlay.h
+++ b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
@@ -38,6 +38,7 @@ class CLevel_GamePlay final : public CLevel
HRESULT Ready_Layer_BroomRacerAI(const _wstring& strLayerTag);
HRESULT Ready_Layer_Item(const _wstring& strLayerTag);
HRESULT Ready_Layer_RaceRing(const _wstring& strLayerTag);
+ HRESULT Ready_Layer_ReparoObject(const _wstring& strLayerTag);
HRESULT Ready_Layer_SkyBox(const _wstring& strLayerTag);
HRESULT Ready_Layer_Monster();
HRESULT Ready_Layer_Manager(const _wstring& strLayerTag);
diff --git a/Jusin154_Team3D/Client/Public/ReparoObject.h b/Jusin154_Team3D/Client/Public/ReparoObject.h
new file mode 100644
index 000000000..239045e52
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/ReparoObject.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Unit.h"
+
+NS_BEGIN(Client)
+
+class CReparoObject final : public CUnit
+{
+private:
+ CReparoObject(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CReparoObject(const CReparoObject& Prototype);
+ virtual ~CReparoObject() = default;
+
+public:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+ virtual HRESULT Render() override;
+
+private:
+ CInfoInstance* m_pInfoInstance = { nullptr };
+
+private:
+ HRESULT Ready_Components();
+ HRESULT Bind_ShaderResources();
+
+public:
+ static CReparoObject* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override;
+ virtual void Free() override;
+#ifdef _DEBUG
+ virtual void Describe_Entity() override;
+#endif // _DEBUG
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Decal/Duengon_Decal_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Decal/Duengon_Decal_Data.xml
index c32ed59d2..1b8a58a81 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Decal/Duengon_Decal_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Decal/Duengon_Decal_Data.xml
@@ -1,61 +1,16 @@
-
-
-
-
-
+
+
-
@@ -150,7 +150,7 @@
Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7
Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7_Lod1
Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7_Lod2
-
+
@@ -168,7 +168,7 @@
Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2
Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3
-
+
-
-
-
-
-
-
-
-
-
-
-
@@ -520,16 +426,16 @@
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2
-
-
-
+
+
+
@@ -538,34 +444,10 @@
Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod1
Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod2
Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod3
-
+
-
-
-
-
-
@@ -636,9 +502,9 @@
Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1
Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2
Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3
-
+
-
+
-
@@ -852,7 +709,7 @@
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1
Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2
-
+
@@ -860,56 +717,48 @@
Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A
Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod1
Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod2
-
-
-
+
+
+
-
@@ -918,140 +767,67 @@
Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod1
Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod2
Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod3
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1.xml
new file mode 100644
index 000000000..b3bec76de
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1.xml
@@ -0,0 +1,966 @@
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod3
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1229.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1229.xml
new file mode 100644
index 000000000..a833d24ad
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1229.xml
@@ -0,0 +1,974 @@
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod1
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod2
+ Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod3
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_Repository_ArenaFloor_A
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2
+ Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml
index db7ac6f8e..c68fa0acb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml
@@ -1,123 +1,113 @@
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
index a9bf5fcb8..15ee1aa16 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
@@ -1,7 +1,8 @@
-
-
-
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin
index b8fe5dd2f..8964914d3 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e2b1dcd3c90fefd7bc76dd7bc745959a3aef6e70205d15c534d729163c586128
+oid sha256:3083522ead3ecf9d4aa84e2dfe177c46230c88fb26ba526183507a4cfdf6b2d4
size 1204794
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx
index 5ead16d59..17932a528 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6a511b9beb58d275bd38b545061d2f27f908668ec2af43d5ec94a5834c9ee85c
-size 3137484
+oid sha256:9e0e7fe00b4e4c204b18be1a9aa1fa710cd642af0078ee977962b71ea1668c7d
+size 3133836
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom1.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom1.fbx
deleted file mode 100644
index 9bb677d77..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom1.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2d071b22f597d86953d9e1751b79a9ae97fffdd2367856ee03f6bf3c500c7b40
-size 3138924
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom2.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom2.fbx
deleted file mode 100644
index 097c78d1c..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom2.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1f6b93e36368852a0fa56c73e6ec2d0d17a5339cc78961fb865b73c25da46e4e
-size 3122780
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom3.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom3.fbx
deleted file mode 100644
index 1b2b3a395..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom3.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3960d6a8980bd6332d69d85052d43a7ec1114b0c374b17217c4f7f65e8335e1f
-size 3140380
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin
new file mode 100644
index 000000000..36281b1c6
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4e33234c608d80c5238e31f368031f02bdbafb26ec5a4aad7ce2ad48a821c2f1
+size 1536914
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.fbx
new file mode 100644
index 000000000..4d230481b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1d6140196c9ebf8c23e7d5b3632bdb01ddd315e436a49a5d7321c7b68a043183
+size 3753004
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.xml
new file mode 100644
index 000000000..d92b1c3f3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_D.dds
new file mode 100644
index 000000000..924b54b89
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_E.dds
new file mode 100644
index 000000000..317b22e89
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_E.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_MRO.dds
new file mode 100644
index 000000000..b2f168cc8
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_MRO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_N.dds
new file mode 100644
index 000000000..c61d6c65e
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/T_MoonTrimmer_broom_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin
new file mode 100644
index 000000000..db6d0011c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a1096c9b3670edcac0ab9a9dab03ba62e56409260a5dd35ddfb64eeb0f63e62d
+size 3104615
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin
new file mode 100644
index 000000000..62040dc7f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e0f3bb296fa75aae17191189774440990f98687ea28e3a20cefaca3ec5efcfd0
+size 3845100
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_Vault_Castle_Door_01.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_Vault_Castle_Door_01.bin
new file mode 100644
index 000000000..0770c9a11
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Reparo_Object/VFX_SK_Vault_Castle_Door_01.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc8b8ec9babaff76a330e4d1219c737974f6b324d9e7aafeca6713476b220056
+size 6396029
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
index 53403c403..3aef86237 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
@@ -70,54 +70,70 @@ float2 Get_MovedUV(float2 vOriginalUV, float fDeltaU, float fDeltaV, uint iIndex
float2 vOffset = float2(iIndexU * fDeltaU, iIndexV * fDeltaV);
return vOriginalUV * vDelta + vOffset;
}
-
-float2 UV_Cutting(float2 originalUV, float2 uvCuttingCountFloat, int currentFrameIndex)
+float2 UV_Cutting(float2 vUV, float2 vUVCutting, int iCurrentFrame)
{
- // (1) 칸 개수는 정수로 취급 (0 방지)
- int uvCuttingCountX = max((int) uvCuttingCountFloat.x, 1);
- int uvCuttingCountY = max((int) uvCuttingCountFloat.y, 1);
-
- int totalFrameCount = uvCuttingCountX * uvCuttingCountY;
-
- // (2) currentFrameIndex를 [0, totalFrameCount)로 래핑 (정수 % 제거)
- int wrappedFrameIndex = currentFrameIndex;
- if (totalFrameCount > 0)
- {
- float inverseTotalFrameCount = 1.0f / (float) totalFrameCount;
-
- // loopCount = floor(currentFrameIndex / totalFrameCount)
- int loopCount = (int) floor((float) currentFrameIndex * inverseTotalFrameCount);
-
- wrappedFrameIndex = currentFrameIndex - loopCount * totalFrameCount;
-
- // 음수 프레임까지 방어(선택)
- if (wrappedFrameIndex < 0)
- {
- wrappedFrameIndex += totalFrameCount;
- }
- }
- else
- {
- wrappedFrameIndex = 0;
- }
-
- // (3) 가로 기준으로 행/열 구하기 (정수 /, % 제거)
- float inverseCuttingCountX = 1.0f / (float) uvCuttingCountX;
- float inverseCuttingCountY = 1.0f / (float) uvCuttingCountY;
-
- // frameIndexY = floor(wrappedFrameIndex / uvCuttingCountX)
- int frameIndexY = (int) floor((float) wrappedFrameIndex * inverseCuttingCountX);
-
- // frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX (% 대체)
- int frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX;
-
- // (4) UV 변환
- float2 resultUV = originalUV;
- resultUV.x = resultUV.x * inverseCuttingCountX + (float) frameIndexX * inverseCuttingCountX;
- resultUV.y = resultUV.y * inverseCuttingCountY + (float) frameIndexY * inverseCuttingCountY;
-
- return resultUV;
+ float2 UV = vUV; // 이미지의 UV값
+
+ int iTotalFrame = vUVCutting.x * vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
+
+ int iFrameX = iCurrentFrame % (int) vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
+ int iFrameY = iCurrentFrame / (int) vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
+
+ float fFreamWidth = 1.0 / vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
+ float fFreamHeight = 1.0 / vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
+
+ UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
+ UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
+
+ return UV;
}
+//float2 UV_Cutting(float2 originalUV, float2 uvCuttingCountFloat, int currentFrameIndex)
+//{
+// // (1) 칸 개수는 정수로 취급 (0 방지)
+// int uvCuttingCountX = max((int) uvCuttingCountFloat.x, 1);
+// int uvCuttingCountY = max((int) uvCuttingCountFloat.y, 1);
+
+// int totalFrameCount = uvCuttingCountX * uvCuttingCountY;
+
+// // (2) currentFrameIndex를 [0, totalFrameCount)로 래핑 (정수 % 제거)
+// int wrappedFrameIndex = currentFrameIndex;
+// if (totalFrameCount > 0)
+// {
+// float inverseTotalFrameCount = 1.0f / (float) totalFrameCount;
+
+// // loopCount = floor(currentFrameIndex / totalFrameCount)
+// int loopCount = (int) floor((float) currentFrameIndex * inverseTotalFrameCount);
+
+// wrappedFrameIndex = currentFrameIndex - loopCount * totalFrameCount;
+
+// // 음수 프레임까지 방어(선택)
+// if (wrappedFrameIndex < 0)
+// {
+// wrappedFrameIndex += totalFrameCount;
+// }
+// }
+// else
+// {
+// wrappedFrameIndex = 0;
+// }
+
+// // (3) 가로 기준으로 행/열 구하기 (정수 /, % 제거)
+// float inverseCuttingCountX = 1.0f / (float) uvCuttingCountX;
+// float inverseCuttingCountY = 1.0f / (float) uvCuttingCountY;
+
+// // frameIndexY = floor(wrappedFrameIndex / uvCuttingCountX)
+// int frameIndexY = (int) floor((float) wrappedFrameIndex * inverseCuttingCountX);
+
+// // frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX (% 대체)
+// int frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX;
+
+// // (4) UV 변환
+// float2 resultUV = originalUV;
+// resultUV.x = resultUV.x * inverseCuttingCountX + (float) frameIndexX * inverseCuttingCountX;
+// resultUV.y = resultUV.y * inverseCuttingCountY + (float) frameIndexY * inverseCuttingCountY;
+
+// return resultUV;
+//}
// (Kd F(Lambert)) + (Ks F(cook-torrance))
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
index a444c00e5..2b2f6e03c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
@@ -1478,7 +1478,7 @@ technique11 DefaultTechnique
SetRasterizerState(RS_Default);
SetDepthStencilState(DSS_Default, 0);
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
- VertexShader = compile vs_5_0 VS_MAIN_LEGACY();
+ VertexShader = compile vs_5_0 VS_MAIN();
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_Player_Suit_DSRON_ToSRO();
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index 3ab7f069c..c52077f4c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -761,6 +761,8 @@ float4 DrawEffect(PS_IN In)
}
else
{
+
+
if (g_fDissolveCutRatio <= fTimeRatio) // 일정 수준 이상 넘어가지 못하도록 막기
{
fTimeRatio = g_fDissolveCutRatio;
@@ -772,7 +774,7 @@ float4 DrawEffect(PS_IN In)
if (g_isNoDissolveSmoothStep == true)
{
- fFade = fTimeRatio;
+ fFade = smoothstep(fTimeRatio, fTimeRatio, vMtrlDissolve.r);
}
vMtrlDiffuse.a *= fFade;
@@ -864,6 +866,9 @@ PS_OUT BlendedWeight(float4 fDiffuse, float fLinearZ)
//float fWeight = pow(fLinearZ, -2.5);
+ // float fWeight = clamp(pow(fLinearZ, -2.5f), 1.0f, 1000.0f);
+
+
float linearZPositive = max(fLinearZ, 1e-6f);
float fWeight = clamp(pow(linearZPositive, -2.5f), 1.0f, 1000.0f);
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
index 88e7510c3..21cec3e50 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
@@ -51,7 +51,9 @@ PS_OUT PS_MAIN(PS_IN In)
vector vMixedDiffuse = g_MixedDiffuseTexture.Sample(PointSampler, In.vTexcoord);
- float fRevealage = g_RevealageTexture.Sample(PointSampler, In.vTexcoord).r;
+ float fRevealage = clamp(g_RevealageTexture.Sample(PointSampler, In.vTexcoord).r, 0.f ,1.f);
+
+
Out.vBackBuffer = vector(vMixedDiffuse.rgb / fRevealage , fRevealage);
diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
index ec7b30f23..5c031e37c 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -102,7 +102,7 @@ HRESULT CLevel_EffectViewer::Initialize()
//m_PlaneData.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
//m_pGameInstance->Add_Editor_Plane(m_PlaneData);
- m_pGameInstance->Setting_Volumetirc(0.5f, 0.064f, 0.902f, 2.0f);
+ m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
index 4eaf4d891..f994c61c7 100644
--- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
@@ -18,6 +18,7 @@
#include "MapElement_Door.h"
#include "MapElement_Chest.h"
#include "DummyDecal.h"
+#include "EffectPool.h"
CLevel_MapViewer::CLevel_MapViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID)
: CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) }
@@ -49,6 +50,11 @@ HRESULT CLevel_MapViewer::Initialize()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_EffectPool")))) //플레이어보다 먼저 생성해야함!
+ {
+ return E_FAIL;
+ }
+
if (FAILED(Ready_Layer_Player_And_Ranrok())) {
return E_FAIL;
}
@@ -87,6 +93,8 @@ HRESULT CLevel_MapViewer::Initialize()
return E_FAIL;
}
+ m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
index 7a1994213..d84838442 100644
--- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
@@ -178,6 +178,8 @@ void CLevel_ObjectViewer::Show_ModelFilePath()
Category_ModelList("Human");
Category_ModelList("Object");
+
+ Category_ModelList("VFX");
}
GUI::EndTabBar();
GUI::End();
diff --git a/Jusin154_Team3D/Editor/Private/LightSpawner.cpp b/Jusin154_Team3D/Editor/Private/LightSpawner.cpp
index 50d51bc82..08775ecdd 100644
--- a/Jusin154_Team3D/Editor/Private/LightSpawner.cpp
+++ b/Jusin154_Team3D/Editor/Private/LightSpawner.cpp
@@ -207,6 +207,7 @@ HRESULT CLightSpawner::Save_XML(tinyxml2::XMLDocument& doc, tinyxml2::XMLElement
Diffuse->SetAttribute("x", pLight->vDiffuse.x);
Diffuse->SetAttribute("y", pLight->vDiffuse.y);
Diffuse->SetAttribute("z", pLight->vDiffuse.z);
+ Diffuse->SetAttribute("w", pLight->vDiffuse.w);
object->InsertEndChild(Diffuse);
/* Ambient */
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index b676a313a..e65563471 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -2399,6 +2399,12 @@ future*> CLoader::Deferred_ModelLoad(MODEL eType, const
HRESULT CLoader::Loading_For_MapViewer()
{
#pragma region PLAYER_AND_RANROK
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_NPC_PBR_ANIM,
+ CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl"),
+ VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
return E_FAIL;
@@ -2419,6 +2425,37 @@ HRESULT CLoader::Loading_For_MapViewer()
/* For.Prototype_GameObject_Player */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayer::Create(m_pDevice, m_pContext))))
return E_FAIL;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ /* For.Prototype_GameObject_Wand */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Wand_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationX(XMConvertToRadians(-90.f)) * XMMatrixIdentity()))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_Camera_Gaze */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamera_Gaze::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_CamPosition_Player */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Socket::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_CamPosition_Shoulder */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Shoulder::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_CamPosition_Target */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Target::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CEffectPool::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
#pragma endregion
diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
index affe73a84..b2a988d02 100644
--- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
@@ -74,11 +74,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
}
vector*>> futures = {};
- //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Anim_Model"),
- // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\RiggedObjects\\Props\\Weapons\\Goblins\\SK_WPN_GOB_SmallSword.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
- // return E_FAIL;
-
-
#pragma region MONSTER
futures.emplace_back(Deferred_ModelLoad(
@@ -129,7 +124,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
));
futures.emplace_back(Deferred_ModelLoad(
- MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
TEXT("Prototype_Component_Ghost_Peeves_Model")
));
@@ -166,9 +161,22 @@ HRESULT CLoader::Loading_For_ObjectViewer()
TEXT("Prototype_Component_Wand_Model")
));
futures.emplace_back(Deferred_ModelLoad(
- MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
TEXT("Prototype_Component_Broom_Model")
));
+
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
+ TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerB_Model")
+ ));
+
+
futures.emplace_back(Deferred_ModelLoad(
MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SkyBox.bin", XMMatrixIdentity(),
TEXT("Prototype_Component_SkyboxModel")
diff --git a/Jusin154_Team3D/Editor/Private/MainLight.cpp b/Jusin154_Team3D/Editor/Private/MainLight.cpp
index 18e0ffc3a..903d0adcd 100644
--- a/Jusin154_Team3D/Editor/Private/MainLight.cpp
+++ b/Jusin154_Team3D/Editor/Private/MainLight.cpp
@@ -135,8 +135,8 @@ HRESULT CMainLight::Ready_Components()
LIGHT_DESC LightDesc{};
LightDesc.eType = LIGHT::DIRECTIONAL;
- LightDesc.vDiffuse = _float4(0.3294f, 0.4824f, 0.4824f, 0.0314f);
- LightDesc.vAmbient = _float4(0.1608f, 0.1608f, 0.1608f, 0.0f);
+ LightDesc.vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
+ LightDesc.vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
LightDesc.vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
m_pTransformCom->Rotation(XMConvertToRadians(-4.f), XMConvertToRadians(271.f), 0.f);
LightDesc.pDirection = m_pTransformCom->Get_StatePtr(STATE::LOOK);
@@ -162,6 +162,8 @@ HRESULT CMainLight::Ready_Components()
m_pGameInstance->Set_Fog(10.f, 10.f);
#endif // gimch
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/MapInfo.cpp b/Jusin154_Team3D/Editor/Private/MapInfo.cpp
index 1b9e1c2cc..d251a0162 100644
--- a/Jusin154_Team3D/Editor/Private/MapInfo.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapInfo.cpp
@@ -289,6 +289,7 @@ HRESULT CMapInfo::Load_PointLights(const _char* pFilePath)
Diffuse->QueryFloatAttribute("x", &Desc.vDiffuse.x);
Diffuse->QueryFloatAttribute("y", &Desc.vDiffuse.y);
Diffuse->QueryFloatAttribute("z", &Desc.vDiffuse.z);
+ Diffuse->QueryFloatAttribute("w", &Desc.vDiffuse.w);
auto* Ambient = Object->FirstChildElement("Ambient");
Ambient->QueryFloatAttribute("x", &Desc.vAmbient.x);
diff --git a/Jusin154_Team3D/Editor/Private/Player.cpp b/Jusin154_Team3D/Editor/Private/Player.cpp
index c000c4921..1c5dcdc1c 100644
--- a/Jusin154_Team3D/Editor/Private/Player.cpp
+++ b/Jusin154_Team3D/Editor/Private/Player.cpp
@@ -100,6 +100,9 @@ HRESULT CPlayer::Initialize(void* pArg)
// UI 연동 추가
m_pModelCom->Set_Temp(true);
+#ifdef gimch
+ m_pCharacter_Controller->Set_GravityAmount(0.f);
+#endif
return S_OK;
}
@@ -560,6 +563,20 @@ void CPlayer::Describe_Entity()
m_pLightCom->Describe_Entity();
+#ifdef gimch
+
+ if(m_pGameInstance->Key_Down(DIK_K))
+ {
+ _float3 vPos;
+ if (m_pGameInstance->isPicking(&vPos))
+ {
+ m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3(&vPos),1.f));
+ }
+ }
+
+#endif //
+
+
GUI::End();
}
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
index 814857bff..5a646c65a 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
@@ -666,6 +666,24 @@ void CRanrok::Describe_Entity()
{
__super::Describe_Entity();
+ if (GUI::Button("MovePos"))
+ {
+ m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Get_CamPosition()->x, m_pGameInstance->Get_CamPosition()->y, m_pGameInstance->Get_CamPosition()->z, 1.f));
+ }
+
+#ifdef gimch
+
+ if (m_pGameInstance->Key_Down(DIK_L))
+ {
+ _float3 vPos;
+ if (m_pGameInstance->isPicking(&vPos))
+ {
+ m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3(&vPos), 1.f));
+ }
+ }
+
+#endif //
+
m_pTransformCom->Describe_Entity();
GUI::DragFloat("Tucked Speed", &m_fTuckedSpeed);
diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
index 53403c403..3aef86237 100644
--- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
+++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli
@@ -70,54 +70,70 @@ float2 Get_MovedUV(float2 vOriginalUV, float fDeltaU, float fDeltaV, uint iIndex
float2 vOffset = float2(iIndexU * fDeltaU, iIndexV * fDeltaV);
return vOriginalUV * vDelta + vOffset;
}
-
-float2 UV_Cutting(float2 originalUV, float2 uvCuttingCountFloat, int currentFrameIndex)
+float2 UV_Cutting(float2 vUV, float2 vUVCutting, int iCurrentFrame)
{
- // (1) 칸 개수는 정수로 취급 (0 방지)
- int uvCuttingCountX = max((int) uvCuttingCountFloat.x, 1);
- int uvCuttingCountY = max((int) uvCuttingCountFloat.y, 1);
-
- int totalFrameCount = uvCuttingCountX * uvCuttingCountY;
-
- // (2) currentFrameIndex를 [0, totalFrameCount)로 래핑 (정수 % 제거)
- int wrappedFrameIndex = currentFrameIndex;
- if (totalFrameCount > 0)
- {
- float inverseTotalFrameCount = 1.0f / (float) totalFrameCount;
-
- // loopCount = floor(currentFrameIndex / totalFrameCount)
- int loopCount = (int) floor((float) currentFrameIndex * inverseTotalFrameCount);
-
- wrappedFrameIndex = currentFrameIndex - loopCount * totalFrameCount;
-
- // 음수 프레임까지 방어(선택)
- if (wrappedFrameIndex < 0)
- {
- wrappedFrameIndex += totalFrameCount;
- }
- }
- else
- {
- wrappedFrameIndex = 0;
- }
-
- // (3) 가로 기준으로 행/열 구하기 (정수 /, % 제거)
- float inverseCuttingCountX = 1.0f / (float) uvCuttingCountX;
- float inverseCuttingCountY = 1.0f / (float) uvCuttingCountY;
-
- // frameIndexY = floor(wrappedFrameIndex / uvCuttingCountX)
- int frameIndexY = (int) floor((float) wrappedFrameIndex * inverseCuttingCountX);
-
- // frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX (% 대체)
- int frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX;
-
- // (4) UV 변환
- float2 resultUV = originalUV;
- resultUV.x = resultUV.x * inverseCuttingCountX + (float) frameIndexX * inverseCuttingCountX;
- resultUV.y = resultUV.y * inverseCuttingCountY + (float) frameIndexY * inverseCuttingCountY;
-
- return resultUV;
+ float2 UV = vUV; // 이미지의 UV값
+
+ int iTotalFrame = vUVCutting.x * vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
+
+ int iFrameX = iCurrentFrame % (int) vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
+ int iFrameY = iCurrentFrame / (int) vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
+
+ float fFreamWidth = 1.0 / vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
+ float fFreamHeight = 1.0 / vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
+
+ UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
+ UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
+
+ return UV;
}
+//float2 UV_Cutting(float2 originalUV, float2 uvCuttingCountFloat, int currentFrameIndex)
+//{
+// // (1) 칸 개수는 정수로 취급 (0 방지)
+// int uvCuttingCountX = max((int) uvCuttingCountFloat.x, 1);
+// int uvCuttingCountY = max((int) uvCuttingCountFloat.y, 1);
+
+// int totalFrameCount = uvCuttingCountX * uvCuttingCountY;
+
+// // (2) currentFrameIndex를 [0, totalFrameCount)로 래핑 (정수 % 제거)
+// int wrappedFrameIndex = currentFrameIndex;
+// if (totalFrameCount > 0)
+// {
+// float inverseTotalFrameCount = 1.0f / (float) totalFrameCount;
+
+// // loopCount = floor(currentFrameIndex / totalFrameCount)
+// int loopCount = (int) floor((float) currentFrameIndex * inverseTotalFrameCount);
+
+// wrappedFrameIndex = currentFrameIndex - loopCount * totalFrameCount;
+
+// // 음수 프레임까지 방어(선택)
+// if (wrappedFrameIndex < 0)
+// {
+// wrappedFrameIndex += totalFrameCount;
+// }
+// }
+// else
+// {
+// wrappedFrameIndex = 0;
+// }
+
+// // (3) 가로 기준으로 행/열 구하기 (정수 /, % 제거)
+// float inverseCuttingCountX = 1.0f / (float) uvCuttingCountX;
+// float inverseCuttingCountY = 1.0f / (float) uvCuttingCountY;
+
+// // frameIndexY = floor(wrappedFrameIndex / uvCuttingCountX)
+// int frameIndexY = (int) floor((float) wrappedFrameIndex * inverseCuttingCountX);
+
+// // frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX (% 대체)
+// int frameIndexX = wrappedFrameIndex - frameIndexY * uvCuttingCountX;
+
+// // (4) UV 변환
+// float2 resultUV = originalUV;
+// resultUV.x = resultUV.x * inverseCuttingCountX + (float) frameIndexX * inverseCuttingCountX;
+// resultUV.y = resultUV.y * inverseCuttingCountY + (float) frameIndexY * inverseCuttingCountY;
+
+// return resultUV;
+//}
// (Kd F(Lambert)) + (Ks F(cook-torrance))
diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
index 88e7510c3..21cec3e50 100644
--- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
+++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl
@@ -51,7 +51,9 @@ PS_OUT PS_MAIN(PS_IN In)
vector vMixedDiffuse = g_MixedDiffuseTexture.Sample(PointSampler, In.vTexcoord);
- float fRevealage = g_RevealageTexture.Sample(PointSampler, In.vTexcoord).r;
+ float fRevealage = clamp(g_RevealageTexture.Sample(PointSampler, In.vTexcoord).r, 0.f ,1.f);
+
+
Out.vBackBuffer = vector(vMixedDiffuse.rgb / fRevealage , fRevealage);
diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp
index 1c0c529c9..f6f3298f3 100644
--- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp
+++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp
@@ -1355,9 +1355,9 @@ _float* CGameInstance::Get_DepthPackExponentPtr()
return m_pVolumetric->Get_DepthPackExponentPtr();
}
-void CGameInstance::Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent)
+void CGameInstance::Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent, _float fHeightOffset)
{
- m_pVolumetric->Setting_Volumetirc(fDensity , fLightIntensity , fAsymmetryParameter, fDepthPackExponent);
+ m_pVolumetric->Setting_Volumetirc(fDensity , fLightIntensity , fAsymmetryParameter, fDepthPackExponent, fHeightOffset);
}
void CGameInstance::Update_Volumetric()
diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp
index dcd9330ad..51bb1f188 100644
--- a/Jusin154_Team3D/Engine/Private/Mesh.cpp
+++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp
@@ -383,6 +383,12 @@ HRESULT CMesh::Ready_VertexBuffer_For_Anim(const CModel* pModel, SaveMesh* _Save
{
SaveBoneWeight _SaveBoneWeight = _SaveBone.Weights[j];
+ if (_SaveBoneWeight.VertexId >= m_iNumVertices)
+ {
+ continue;
+ }
+
+
if (0.f == pVertices[_SaveBoneWeight.VertexId].vBlendWeight.x)
{
pVertices[_SaveBoneWeight.VertexId].vBlendIndex.x = i;
@@ -406,6 +412,22 @@ HRESULT CMesh::Ready_VertexBuffer_For_Anim(const CModel* pModel, SaveMesh* _Save
}
}
+ for (_uint i = 0; i < m_iNumVertices; ++i)
+ {
+ _float sum =
+ pVertices[i].vBlendWeight.x +
+ pVertices[i].vBlendWeight.y +
+ pVertices[i].vBlendWeight.z +
+ pVertices[i].vBlendWeight.w;
+
+ if (sum <= 0.f)
+ {
+ pVertices[i].vBlendIndex.x = 0;
+ pVertices[i].vBlendWeight.x = 1.f;
+ }
+ }
+
+
if (0 == m_iNumBones)
{
m_iNumBones = 1;
diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp
index 99cad7dad..a8f4f8702 100644
--- a/Jusin154_Team3D/Engine/Private/Model.cpp
+++ b/Jusin154_Team3D/Engine/Private/Model.cpp
@@ -212,7 +212,8 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform)
}
- m_Bones[m_iRootBoneIndex]->Update_CombinedTransformationMatrix(m_Bones, XMLoadFloat4x4(&m_PreTransformMatrix));
+ if (m_iRootBoneIndex >= 0)
+ m_Bones[m_iRootBoneIndex]->Update_CombinedTransformationMatrix(m_Bones, XMLoadFloat4x4(&m_PreTransformMatrix));
for (_uint i = 0; i < m_Bones.size(); ++i)
{
@@ -433,6 +434,8 @@ void CModel::Set_Second_AnimationIndex(_uint BoneIndex, _uint iIndex, _bool isLo
void CModel::Update_RootBone(_float Amount)
{
+ if (m_iRootBoneIndex < 0 || m_iRootBoneIndex >= (_int)m_Bones.size())
+ return;
if (m_Bones[m_iRootBoneIndex]->Compare_Name("Reference")|| m_Bones[m_iRootBoneIndex]->Compare_Name("root") &&
m_pTransform != nullptr)
{
diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp
index e1f2961e4..fd84aed39 100644
--- a/Jusin154_Team3D/Engine/Private/Renderer.cpp
+++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp
@@ -569,7 +569,7 @@ void CRenderer::Render_Fog()
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Fog"), m_pShader, "g_Texture"))) {
return;
}
- m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::DEBUG));
+ m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::PRINT_BACKBUFFER));
m_pVIBuffer->Bind_Resources();
m_pVIBuffer->Render();
@@ -585,7 +585,7 @@ void CRenderer::Render_Fog()
return;
}
- m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::PRINT_BACKBUFFER));
+ m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::FOG));
m_pVIBuffer->Bind_Resources();
m_pVIBuffer->Render();
diff --git a/Jusin154_Team3D/Engine/Private/Volumetric.cpp b/Jusin154_Team3D/Engine/Private/Volumetric.cpp
index 5c8fd5aed..3d942da75 100644
--- a/Jusin154_Team3D/Engine/Private/Volumetric.cpp
+++ b/Jusin154_Team3D/Engine/Private/Volumetric.cpp
@@ -132,7 +132,7 @@ void CVolumetric::Cumpute_Volume()
pDesc->fAsymmetryParameter = m_fAsymmetryParameter;
pDesc->iNumLight = m_iNumLights;
- pDesc->fHeightOffset = m_fHieghtOffset;
+ pDesc->fHeightOffset = m_fHeightOffset;
pDesc->fBaseHeight = m_fBaseHeight;
m_pContext->Unmap(m_pConstantBuffer, 0);
@@ -207,12 +207,13 @@ HRESULT CVolumetric::Dispatch()
}
-void CVolumetric::Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent)
+void CVolumetric::Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent, _float fHeightOffset)
{
m_fDensity = fDensity;
m_fLightIntensity = fLightIntensity;
m_fAsymmetryParameter = fAsymmetryParameter;
m_fDepthPackExponent = fDepthPackExponent;
+ m_fHeightOffset = fHeightOffset;
}
CVolumetric* CVolumetric::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -262,10 +263,10 @@ void CVolumetric::Describe_Entity()
GUI::Begin("SYSTEM", &open, IMGUI_GLOBAL_BEGIN_FLAG);
if (GUI::CollapsingHeader("VOLUMETRIC")) {
GUI::SliderFloat("Density", &m_fDensity,0.001f, 5.f);
- GUI::SliderFloat("LightIntensity", &m_fLightIntensity, 0.01f, 0.5f, "%.4f");
+ GUI::SliderFloat("LightIntensity", &m_fLightIntensity, 0.00f, 0.5f, "%.4f");
GUI::SliderFloat("AsymmetryParameter", &m_fAsymmetryParameter, -0.9f, 0.9f, "%.4f");
GUI::SliderFloat("DepthPackExponent", &m_fDepthPackExponent, 0.01f, 5.f);
- GUI::SliderFloat("HieghtOffset", &m_fHieghtOffset, 0.f, 1.f, "%.5f");
+ GUI::SliderFloat("HieghtOffset", &m_fHeightOffset, 0.f, 1.f, "%.5f");
GUI::InputFloat("BaseHeight", &m_fBaseHeight, 0.1f, 1.f);
}
GUI::End();
diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h
index ca2940a6a..cc51669be 100644
--- a/Jusin154_Team3D/Engine/Public/GameInstance.h
+++ b/Jusin154_Team3D/Engine/Public/GameInstance.h
@@ -277,7 +277,7 @@ class ENGINE_DLL CGameInstance final : public CBase
#pragma region VOLUMETRIC
ID3D11ShaderResourceView* Get_VolumeSRV();
_float* Get_DepthPackExponentPtr();
- void Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent);
+ void Setting_Volumetirc(_float fDensity, _float fLightIntensity, _float fAsymmetryParameter, _float fDepthPackExponent, _float fHeightOffset);
void Update_Volumetric();
#pragma endregion
diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h
index b6da518ac..826e83134 100644
--- a/Jusin154_Team3D/Engine/Public/Model.h
+++ b/Jusin154_Team3D/Engine/Public/Model.h
@@ -213,7 +213,7 @@ class ENGINE_DLL CModel final : public CComponent
_float m_fRadius = { 0.f }; // 컬링용 Radius
_int m_iRootBoneIndex = { -1 }; // 루트본의 인덱스
- _int m_iIndexAnimPlayableMesh = { -1 };
+ _uint m_iIndexAnimPlayableMesh = { 0 };
_vector m_vector[3];
vector<_uint> m_iBoneMask;
diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h
index d62346d41..90f5b6623 100644
--- a/Jusin154_Team3D/Engine/Public/State.h
+++ b/Jusin154_Team3D/Engine/Public/State.h
@@ -19,7 +19,7 @@ enum ESTATE
ATTACK_END,
SHUFFLE1, SHUFFLE2, SHUFFLE3, SHUFFLE4,
MAPHELP,POTION,
- ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,LUMOS_STOP,DISILLUSION_ENTER,DISILLUSION_EXIT, ANCIENT_THROW, AVADA_KEDAVRA,
+ ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,LUMOS_STOP,DISILLUSION_ENTER,DISILLUSION_EXIT, ANCIENT_THROW, AVADA_KEDAVRA,REPARO_START, REPARO_LOOP, REPARO_END,
SPELL_FAIL, SPELL_CHARGE,
ANCIENT_LIGHTNING,
PARRY_180,PARRY2, PARRY3, PARRY4,
diff --git a/Jusin154_Team3D/Engine/Public/Volumetric.h b/Jusin154_Team3D/Engine/Public/Volumetric.h
index e368327fd..1c7cb6efe 100644
--- a/Jusin154_Team3D/Engine/Public/Volumetric.h
+++ b/Jusin154_Team3D/Engine/Public/Volumetric.h
@@ -58,7 +58,7 @@ class CVolumetric final : public CBase
ID3D11ShaderResourceView* Get_VolumeSRV() { return m_pAccVolumeSRV; }
_float* Get_DepthPackExponentPtr() { return &m_fDepthPackExponent; }
- void Setting_Volumetirc(_float fDensity , _float fLightIntensity, _float fAsymmetryParameter , _float fDepthPackExponent);
+ void Setting_Volumetirc(_float fDensity , _float fLightIntensity, _float fAsymmetryParameter , _float fDepthPackExponent, _float fHeightOffset);
private:
class CGameInstance* m_pGameInstance = { nullptr };
ID3D11Device* m_pDevice = { nullptr };
@@ -90,7 +90,7 @@ class CVolumetric final : public CBase
_float m_fLightIntensity = { 0.01f }; // 광원 강도
_float m_fAsymmetryParameter = { 0.5344f }; // 이방성 계수 값이 클 수록 들어오는 방향으로 나가는 빛의 양이 많아짐
_float m_fDepthPackExponent = { 1.f }; // 깊이 비선형 분포 지수
- _float m_fHieghtOffset = { 0.f };
+ _float m_fHeightOffset = { 0.f };
_float m_fBaseHeight = { 0.f };
_uint m_iNumLights = { 1 };
_uint m_iMaxNumLights = { 20 };