diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index a2579166f..c9a6c7f64 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -268,6 +268,7 @@ call Update_Resources.bat
+
@@ -408,6 +409,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index ea9bf389c..ee057fee4 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -158,10 +158,10 @@
02.GameObjects\Cameras\Camera_Gaze
- 02.GameObjects\Monster\Goblin
+ 02.GameObjects\NPC\Hostile\Monster\Goblin
- 02.GameObjects\Monster
+ 02.GameObjects\NPC\Hostile\Monster
02.GameObjects\Environment\00.MapContainer
@@ -269,7 +269,7 @@
02.GameObjects\Effect\Effects\Lumos
- 02.GameObjects\Monster\Troll
+ 02.GameObjects\NPC\Hostile\Monster\Troll
02.GameObjects\Item\Troll_Weapon
@@ -409,6 +409,9 @@
02.GameObjects\UI\Screen\Logo\Logo_Text
+
+ 04.Mechanic\State\State_Combat\Dead
+
@@ -491,9 +494,6 @@
{603938cc-e4fe-44d8-890b-784174a86161}
-
- {b72a9bb0-1b21-416b-bd0c-ba943cd7cc9d}
-
{2814c935-13d9-4b9a-94ba-c9e470219a18}
@@ -635,12 +635,6 @@
{b719d948-fce3-4144-9d2c-edcab4cfceaf}
-
- {d371e373-e343-4e0b-9a0c-34eae167c1cd}
-
-
- {1ff3d6f1-f31d-47b7-84b7-d23efe98d7d2}
-
{e2d84a8f-46c9-4689-bd91-cc45343d2b10}
@@ -728,9 +722,6 @@
{71f6a568-488d-4ec1-be79-8fcce6677e27}
-
- {a1b1f17d-ed4f-4b20-aa8e-c52e693683d4}
-
{1d6c078d-dddd-493d-a6f0-f2cac2e4107e}
@@ -851,6 +842,15 @@
{7e641382-9dfa-4da7-a8c8-a3ee06360e7a}
+
+ {d371e373-e343-4e0b-9a0c-34eae167c1cd}
+
+
+ {1ff3d6f1-f31d-47b7-84b7-d23efe98d7d2}
+
+
+ {a1b1f17d-ed4f-4b20-aa8e-c52e693683d4}
+
{c02bfd67-091b-4636-a45f-34a3603ffbd8}
@@ -869,6 +869,9 @@
{c584798b-d7aa-4cb0-b6e8-c2aff73757ce}
+
+ {81add99f-7450-4730-8d3f-bf1de06b2b8d}
+
@@ -1016,13 +1019,13 @@
02.GameObjects\Cameras\Camera_Gaze
- 02.GameObjects\Monster\Goblin
+ 02.GameObjects\NPC\Hostile\Monster\Goblin
- 02.GameObjects\Monster\Goblin
+ 02.GameObjects\NPC\Hostile\Monster\Goblin
- 02.GameObjects\Monster
+ 02.GameObjects\NPC\Hostile\Monster
02.GameObjects\Environment\00.MapContainer\BuildingContainer
@@ -1133,10 +1136,10 @@
02.GameObjects\Environment\03.MapElement\Light
- 02.GameObjects\Monster\Troll
+ 02.GameObjects\NPC\Hostile\Monster\Troll
- 02.GameObjects\Monster\Troll
+ 02.GameObjects\NPC\Hostile\Monster\Troll
02.GameObjects\Item\Troll_Weapon
@@ -1276,6 +1279,9 @@
02.GameObjects\UI\Screen\Logo\Logo_Text
+
+ 04.Mechanic\State\State_Combat\Dead
+
diff --git a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_Behavior.cpp b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_Behavior.cpp
index 140eb3454..2e11f5720 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_Behavior.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_Behavior.cpp
@@ -60,7 +60,7 @@ PSX::PxControllerBehaviorFlags CCallBack_EffectHitBox_Behavior::getBehaviorFlags
PSX::PxControllerBehaviorFlags CCallBack_EffectHitBox_Behavior::getBehaviorFlags(const PSX::PxController& controller)
{
// CCT끼리 부딪힐 때를 굳이 안 쓰면 0 리턴
- return PSX::PxControllerBehaviorFlags(0);
+ return PSX::PxControllerBehaviorFlag::eCCT_SLIDE;
}
PSX::PxControllerBehaviorFlags CCallBack_EffectHitBox_Behavior::getBehaviorFlags(const PSX::PxObstacle& obstacle)
diff --git a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp
index acbbdb0ad..cb60b353a 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp
@@ -43,7 +43,7 @@ void CCallBack_EffectHitBox_HitReport::onShapeHit(const PSX::PxControllerShapeHi
case PXOBJECT::WALL:
/* OnCollision 함수에 넘길 값 */
- CollisionDesc.vWorldPos = XMVectorSet( (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f);
+ CollisionDesc.vWorldPos = { (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f };
memcpy(&CollisionDesc.vWorldNomal, &vWorldNormal, sizeof(_float3));
memcpy(&CollisionDesc.vHitDir, &vDir, sizeof(_float3));
CollisionDesc.fLength = fLength;
@@ -53,13 +53,13 @@ void CCallBack_EffectHitBox_HitReport::onShapeHit(const PSX::PxControllerShapeHi
case PXOBJECT::GOBLIN_WARRIOR:
/* OnCollision 함수에 넘길 값 */
- CollisionDesc.vWorldPos = XMVectorSet( (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f);
+ CollisionDesc.vWorldPos = { (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f };
memcpy(&CollisionDesc.vWorldNomal, &vWorldNormal, sizeof(_float3));
memcpy(&CollisionDesc.vHitDir, &vDir, sizeof(_float3));
CollisionDesc.fLength = fLength;
pOwnerActorData->pOwner->Get_Owner()->OnCollision(pTargetActorData->pOwner , &CollisionDesc);
- static_cast(pTargetActorData->pBody)->Add_Force(CollisionDesc.vHitDir * fLength * 100.f, PSX::PxForceMode::eIMPULSE);
+ static_cast(pTargetActorData->pBody)->Add_Force(XMLoadFloat4(&CollisionDesc.vHitDir) * fLength * 100.f, PSX::PxForceMode::eIMPULSE);
break;
default:
{
@@ -112,7 +112,7 @@ void CCallBack_EffectHitBox_HitReport::onControllerHit(const PSX::PxControllersH
case PXOBJECT::GOBLIN_WARRIOR:
/* OnCollision 함수에 넘길 값 */
- CollisionDesc.vWorldPos = XMVectorSet((_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f);
+ CollisionDesc.vWorldPos = { (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f };
memcpy(&CollisionDesc.vWorldNomal, &vWorldNormal, sizeof(_float3));
memcpy(&CollisionDesc.vHitDir, &vDir, sizeof(_float3));
CollisionDesc.fLength = fLength;
diff --git a/Jusin154_Team3D/Client/Private/CallBack_Monster_Behavior.cpp b/Jusin154_Team3D/Client/Private/CallBack_Monster_Behavior.cpp
index 699647c82..e4b961ca8 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_Monster_Behavior.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_Monster_Behavior.cpp
@@ -60,7 +60,7 @@ PSX::PxControllerBehaviorFlags CCallBack_Monster_Behavior::getBehaviorFlags(cons
PSX::PxControllerBehaviorFlags CCallBack_Monster_Behavior::getBehaviorFlags(const PSX::PxController& controller)
{
// CCT끼리 부딪힐 때를 굳이 안 쓰면 0 리턴
- return PSX::PxControllerBehaviorFlags(0);
+ return PSX::PxControllerBehaviorFlag::eCCT_SLIDE;
}
PSX::PxControllerBehaviorFlags CCallBack_Monster_Behavior::getBehaviorFlags(const PSX::PxObstacle& obstacle)
@@ -93,5 +93,5 @@ HRESULT CCallBack_Monster_Behavior::Finalize()
CCallBack_Monster_Behavior* CCallBack_Monster_Behavior::Create()
{
- return new CCallBack_Monster_Behavior();;
+ return new CCallBack_Monster_Behavior();
}
diff --git a/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp
index 9cc701393..01f1a3bfa 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp
@@ -111,10 +111,10 @@ void CCallBack_Monster_HitReport::onControllerHit(const PSX::PxControllersHit& h
void CCallBack_Monster_HitReport::onObstacleHit(const PSX::PxControllerObstacleHit& hit)
{
PSX::PxController* pController = hit.controller;
- PSX::PxExtendedVec3 vWorldPos = hit.worldPos; // 접촉지점
- PSX::PxVec3 vWorldNormal = hit.worldNormal; // 접촉노말
- PSX::PxVec3 vDir = hit.dir; // 시도한 move 방향
- _float fLength = hit.length; // 시도한 move 길이
+ PSX::PxExtendedVec3 vWorldPos = hit.worldPos; // 접촉지점
+ PSX::PxVec3 vWorldNormal = hit.worldNormal; // 접촉노말
+ PSX::PxVec3 vDir = hit.dir; // 시도한 move 방향
+ _float fLength = hit.length; // 시도한 move 길이
const void* pOtherController = hit.userData; // 장애물
diff --git a/Jusin154_Team3D/Client/Private/CallBack_Playable_Behavior.cpp b/Jusin154_Team3D/Client/Private/CallBack_Playable_Behavior.cpp
index b74143b2f..28678a758 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_Playable_Behavior.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_Playable_Behavior.cpp
@@ -60,7 +60,7 @@ PSX::PxControllerBehaviorFlags CCallBack_Playable_Behavior::getBehaviorFlags(con
PSX::PxControllerBehaviorFlags CCallBack_Playable_Behavior::getBehaviorFlags(const PSX::PxController& controller)
{
// CCT끼리 부딪힐 때를 굳이 안 쓰면 0 리턴
- return PSX::PxControllerBehaviorFlags(0);
+ return PSX::PxControllerBehaviorFlag::eCCT_SLIDE;
}
PSX::PxControllerBehaviorFlags CCallBack_Playable_Behavior::getBehaviorFlags(const PSX::PxObstacle& obstacle)
diff --git a/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp b/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp
index e65029f2e..7a34e1158 100644
--- a/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp
+++ b/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp
@@ -126,7 +126,7 @@ HRESULT CDummy_PhysXPlayable::Ready_Components(void* pArg)
Desc.iSubKind = pDesc->iSubKind;
Desc.pTransform = m_pTransformCom;
Desc.eBodyType = ACTOR::CAPSULE;
- Desc.fContactOffset = 0.1f;
+ Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 0.5f, 0.5f, 0.6f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.05f };
diff --git a/Jusin154_Team3D/Client/Private/EffectObject.cpp b/Jusin154_Team3D/Client/Private/EffectObject.cpp
index 92de39155..7d9f66942 100644
--- a/Jusin154_Team3D/Client/Private/EffectObject.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectObject.cpp
@@ -143,6 +143,16 @@ void CEffectObject::Add_Light()
m_pGameInstance->Add_Light(CURRENT_LEVEL, m_pLightCom);
}
+void CEffectObject::FollowParants(const _float4x4* pParantsMat)
+{
+ if (pParantsMat == nullptr)
+ return;
+
+
+ m_pPerentMatrix = pParantsMat;
+ m_bVisible = true;
+}
+
HRESULT CEffectObject::Render_Bloom()
{
@@ -207,9 +217,8 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel)
SAFE_RELEASE(m_pInstance_ModelCom);
- if (m_pLightCom != nullptr){
+ if (m_pLightCom != nullptr)
SAFE_RELEASE(m_pLightCom);
- }
_string strPerfectFilePath = pFilePath;
@@ -244,6 +253,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel)
m_EffectInfo.LightDesc.pPosition = m_pTransformCom->Get_StatePtr(STATE::POSITION);
m_EffectInfo.LightDesc.iLevel = ENUM_CLASS(eLevel);
+
if (m_EffectInfo.LightDesc.eType != LIGHT::DIRECTIONAL) // 0이 아닐때만 생성
{
if (FAILED(Add_Component(g_iStaticLevel, &m_pLightCom, &m_EffectInfo.LightDesc)))
@@ -251,9 +261,13 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel)
CloseHandle(hFile);
return E_FAIL;
}
+
+ m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity);
}
+
+
if (m_EffectInfo.isDiffuse)
{
size_t iComponentLength = {};
@@ -481,11 +495,30 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel)
}
+
HRESULT CEffectObject::Bind_ShaderResources()
{
+ if (m_pPerentMatrix != nullptr)
+ {
+
+ _matrix socketMatrix = XMLoadFloat4x4(m_pPerentMatrix);
+
+ for (int i = 0; i < 3; ++i) {
+ socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
+ }
+ socketMatrix = socketMatrix * m_pParentTransformCom->Get_XMWorldMatrix();
+
+ m_pTransformCom->Set_State(STATE::POSITION, socketMatrix.r[3]);
+ }
+
+
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
return E_FAIL;
+ if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShaderCom, "g_DepthTexture"))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
return E_FAIL;
}
@@ -493,6 +526,13 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) {
+ return E_FAIL;
+
+ }
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDiffuse", &m_EffectInfo.isDiffuse, sizeof(_bool)))) {
return E_FAIL;
@@ -702,6 +742,13 @@ HRESULT CEffectObject::Bind_ShaderResources()
}
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColor", &m_EffectInfo.vDissolveColor, sizeof(_float4)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColorCut", &m_EffectInfo.vDissolveColorCut, sizeof(_float2)))) {
+ return E_FAIL;
+ }
@@ -753,7 +800,6 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/EffectParts.cpp b/Jusin154_Team3D/Client/Private/EffectParts.cpp
index 6c42097fe..308426c27 100644
--- a/Jusin154_Team3D/Client/Private/EffectParts.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectParts.cpp
@@ -54,7 +54,6 @@ void CEffectParts::Update(_float fTimeDelta)
void CEffectParts::Late_Update(_float fTimeDelta)
{
-
if (m_bVisible == false)
return;
@@ -65,17 +64,18 @@ void CEffectParts::Late_Update(_float fTimeDelta)
m_pInstance_ModelCom->Drop(fTimeDelta);
+ if (m_EffectInfo.isBillboard)
+ m_pGameInstance->BillBoard(m_pTransformCom);
+
+
if (m_EffectInfo.isLightDissolve == true)
{
if (m_pLightCom != nullptr)
{
- m_pLightCom->Update_AmbientRatio(fTimeDelta, m_EffectInfo.isLightTime);
+ m_pLightCom->Update_IntensityRatio(fTimeDelta, m_EffectInfo.isLightTime, m_EffectInfo.fLightDeley);
}
}
- if (m_EffectInfo.isBillboard)
- m_pGameInstance->BillBoard(m_pTransformCom);
-
if (m_EffectInfo.isBloom == true)
{
@@ -91,6 +91,7 @@ void CEffectParts::Late_Update(_float fTimeDelta)
if (m_EffectInfo.isOnlyBlur == true)
return;
+
if (m_pLightCom != nullptr)
m_pGameInstance->Add_Light_Group(CURRENT_LEVEL, m_pLightCom);
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 7dcecb132..d07197020 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -44,9 +44,9 @@ HRESULT CEffectPool::Initialize(void* pArg)
return E_FAIL;
}
- if (FAILED(Ready_Effect())) {
- return E_FAIL;
- }
+ //if (FAILED(Ready_Effect())) {
+ // return E_FAIL;
+ //}
return S_OK;
}
@@ -122,7 +122,6 @@ HRESULT CEffectPool::Bind_ShaderResources()
HRESULT CEffectPool::Ready_Effect()
{
-#ifndef 기무리
if(FAILED(Create_Effect(SKILL_TYPE::JAP, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
CNomalJap* pEffect = nullptr;
@@ -168,7 +167,6 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
-
if (FAILED(Create_Effect(SKILL_TYPE::JAP_SIDE, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel)-> CEffect_Container* {
CNomalJapSide* pEffect = nullptr;
@@ -226,10 +224,6 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
-#endif // 기무리
-
-
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
index 62f49e939..d112eb2fe 100644
--- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp
+++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
@@ -72,7 +72,7 @@ void CEffect_Container::Reset_Light()
if (pLight == nullptr)
continue;
- pLight->Reset_AmbientRatio();
+ pLight->Reset_IntensityRatio();
}
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin.cpp b/Jusin154_Team3D/Client/Private/Goblin.cpp
index a940e626d..bb92f4009 100644
--- a/Jusin154_Team3D/Client/Private/Goblin.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin.cpp
@@ -185,18 +185,13 @@ _vector CGoblin::Get_LockOnPos()
void CGoblin::OnCollision(CGameObject* pOther, void* pDesc)
{
+ if (true == m_bDead) {
+ return;
+ }
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
- _vector vWorldPos = {}; // 접촉지점
- _vector vWorldNomal = {}; // 접촉노말
- _vector vHitDir = {}; // 시도한 move 방향
- _float fLength = {}; // 작용된 힘
- //m_pCharacter_Controller->ConvertToDO(*m_pRigidBody);
- //m_pRigidBody->Add_Force(vHitDir * fLength * 10000.f, PSX::PxForceMode::eFORCE);
-
- //m_pCharacter_Controller->ConvertToDO(*m_pRigidBody);
- //m_pRigidBody->Add_Force(vHitDir * fLength * 100.f, PSX::PxForceMode::eIMPULSE);
_uint iSkillType = dynamic_cast(pOther)->Get_SkillType();
+ m_fHitRadius = CMyTools::Get_Direction2D(m_pTransformCom->Get_State(STATE::LOOK), XMLoadFloat4(&CollisionDesc->vHitDir));
switch (iSkillType)
{
case ENUM_CLASS(SKILL_TYPE::DESCENDO):
@@ -207,6 +202,10 @@ void CGoblin::OnCollision(CGameObject* pOther, void* pDesc)
break;
case ENUM_CLASS(SKILL_TYPE::JAP):
m_eHitSpell = STATEANIM::HIT_LEVIOSO;
+ if (true == Get_Damage(60.f)) {
+ m_pFSM->Change_State(FSMSTATE::DEAD);
+ return;
+ }
break;
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
m_eHitSpell = STATEANIM::HIT_LEVIOSO;
@@ -215,8 +214,9 @@ void CGoblin::OnCollision(CGameObject* pOther, void* pDesc)
m_eHitSpell = STATEANIM::KNOCKDOWN_FWD;
break;
}
- if (!m_pFSM->IsEnable(FSMSTATE::BLINK))
+ if (!m_pFSM->IsEnable(FSMSTATE::BLINK)){
m_pFSM->Change_State(FSMSTATE::HIT);
+ }
}
@@ -248,7 +248,7 @@ HRESULT CGoblin::Ready_Components()
Desc.iSubKind = ENUM_CLASS(PXOBJECT::GOBLIN_WARRIOR);
Desc.pTransform = m_pTransformCom;
Desc.eBodyType = ACTOR::CAPSULE;
- Desc.fContactOffset = 0.3f;
+ Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.05f };
@@ -272,6 +272,9 @@ HRESULT CGoblin::Ready_Components()
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor());
}
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN"), (CComponent**)&m_pStat))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
index f3fd39800..e680861ed 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
@@ -16,6 +16,7 @@
#include "State_Throw.h"
#include "State_Blink.h"
#include "State_Hit.h"
+#include "State_Dead.h"
#pragma endregion
@@ -338,6 +339,60 @@ void CGoblin::Behavior_HitExit()
m_pFSM->Disable_State(FSMSTATE::HIT);
}
+void CGoblin::Behavior_DeadEnter()
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ m_pFSM->Enable_State(FSMSTATE::DEAD);
+
+ _bool bStrongerKnockDown = { false };
+
+ switch (m_eHitSpell)
+ {
+ case STATEANIM::KNOCKDOWN_FWD:
+ bStrongerKnockDown = true;
+ break;
+ case STATEANIM::TUMBLE2:
+ bStrongerKnockDown = true;
+ break;
+ default:
+ break;
+ }
+
+ _float fabsRadius = fabsf(m_fHitRadius);
+ _uint iState = { UINT_MAX };
+
+ if (fabsRadius > 135.f) {
+ iState = STATEANIM::DEAD_BWD;
+ }
+ else if (fabsRadius < 45.f) {
+ iState = STATEANIM::DEAD_FWD;
+ }
+ else {
+ if (m_fHitRadius < 0.f) {
+ iState = STATEANIM::DEAD_R;
+ }
+ else {
+ iState = STATEANIM::DEAD_L;
+ }
+ }
+ pairAnimInfo = m_Animation[iState + bStrongerKnockDown];
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CGoblin::Behavior_DeadExitCheck(_float fTimeDelta)
+{
+ if (true == m_pModelCom->IsFinishedAnim()) {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CGoblin::Behavior_DeadExit()
+{
+ m_bDead = true;
+}
+
void CGoblin::Add_FSM()
{
@@ -374,7 +429,6 @@ void CGoblin::Add_FSM()
Desc.funcLateUpdate = nullptr;
m_States.emplace(FSMSTATE::COMBAT, CState_Combat::Create(&Desc));
}
-
{
CState_Swing::STATE_SWING_DESC Desc{};
Desc.pOwner = this;
@@ -385,7 +439,6 @@ void CGoblin::Add_FSM()
Desc.funcLateUpdate = nullptr;
m_States.emplace(FSMSTATE::SWING, CState_Swing::Create(&Desc));
}
-
{
CState_Throw::STATE_THROW_DESC Desc{};
Desc.pOwner = this;
@@ -396,7 +449,6 @@ void CGoblin::Add_FSM()
Desc.funcLateUpdate = nullptr;
m_States.emplace(FSMSTATE::SKILL, CState_Throw::Create(&Desc));
}
-
{
CState_Blink::STATE_BLINK_DESC Desc{};
Desc.pOwner = this;
@@ -409,7 +461,14 @@ void CGoblin::Add_FSM()
}
#pragma endregion
#pragma region Behavior_Combat_Focus
-
+ {
+ CState_Dead::STATE_DEAD_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_DeadEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
+ Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
+ m_States.emplace(FSMSTATE::DEAD, CState_Dead::Create(&Desc));
+ }
#pragma endregion
#pragma region Hit
diff --git a/Jusin154_Team3D/Client/Private/InfoInstance.cpp b/Jusin154_Team3D/Client/Private/InfoInstance.cpp
index 6256f0af1..26265cc4c 100644
--- a/Jusin154_Team3D/Client/Private/InfoInstance.cpp
+++ b/Jusin154_Team3D/Client/Private/InfoInstance.cpp
@@ -48,7 +48,7 @@ HRESULT CInfoInstance::Regist_PlayerAlly(CUnit* pUnit)
HRESULT CInfoInstance::Deregist_PlayerAlly(CUnit* pUnit)
{
- if (nullptr == m_pMonsterInfo) {
+ if (nullptr == s_pInstance || nullptr == m_pMonsterInfo) {
return S_OK; // 게임 종료 된 상태
}
return m_pMonsterInfo->Deregist_PlayerAlly(pUnit);
@@ -61,7 +61,7 @@ HRESULT CInfoInstance::Regist_ActiveMonster(CMonster* pUnit)
HRESULT CInfoInstance::Deregist_ActiveMonster(CMonster* pUnit)
{
- if (nullptr == m_pMonsterInfo) {
+ if (nullptr == s_pInstance || nullptr == m_pMonsterInfo) {
return S_OK; // 게임 종료 된 상태
}
return m_pMonsterInfo->Deregist_ActiveMonster(pUnit);
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 25818fe76..c935d3d9f 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -158,99 +158,128 @@ HRESULT CLevel_GamePlay::Ready_Background()
return E_FAIL;
}
+ // ---------------------------------
+ // >> M A P Configuration <<
+ // 맵 로드할지 안할지 bool 설정
+ // ---------------------------------
+ _bool isReady_Background = { false };
+
+#ifdef gimch
+ isReady_Background = false;
+#endif // gimch
+#ifdef bin
+ isReady_Background = false;
+#endif //
+#ifdef 진우
+ isReady_Background = false;
+#endif //
+#ifdef 기무리
+ isReady_Background = false;
+#endif //
+#ifdef 인혁
+ isReady_Background = false;
+#endif //
+
+
/* Map Containters */
- /* 테스트용 맵 */
+ if(false == isReady_Background)
+ {
+ /* 테스트용 맵 */
+ CInfoInstance::GetInstance()->Load_MapObjects("ClientTest");
+ }
+ else
+ {
+ ///* 전체 맵 */
+ CInfoInstance::GetInstance()->Load_MapObjects("Hogsmeade_MapContainer_Data");
- //CInfoInstance::GetInstance()->Load_MapObjects("ClientTest");
- /* 전체 맵 */
- //CInfoInstance::GetInstance()->Load_MapObjects("Hogsmeade_MapContainer_Data");
+ /* 조명 오브젝트 */
+ CInfoInstance::GetInstance()->Load_LightElements("LightElement");
- ///* 조명 오브젝트 */
- //CInfoInstance::GetInstance()->Load_LightElements("LightElement");
+ /* 상호작용 오브젝트 */
+ CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_Barrel");
+ CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_PostPackage_B");
+ CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_PostPackage_F");
+ CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_TeaShopTable");
+ CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_TeaShopChair");
- ///* 상호작용 오브젝트 */
- //CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_Barrel");
- //CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_PostPackage_B");
- //CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_PostPackage_F");
- //CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_TeaShopTable");
- //CInfoInstance::GetInstance()->Load_InteractableElements("E_INTER_TeaShopChair");
+ CInstancedProp::INSTANCE_PROP_DESC Desc = {};
- //CInstancedProp::INSTANCE_PROP_DESC Desc = {};
+ /* InstanceProp Oak_Tree*/
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OakTree_MedA.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) {
+ return E_FAIL;
+ }
- ///* InstanceProp Oak_Tree*/
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OakTree_MedA.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))){
- // return E_FAIL;
- //}
+ /* BearBerry */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/BearBerry_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) {
+ return E_FAIL;
+ }
- ///* BearBerry */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/BearBerry_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))){
- // return E_FAIL;
- //}
+ /* SM_HM_OwlPost_Window_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* SM_HM_OwlPost_Window_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ ///* WA_Rectangle_Double_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- /////* WA_Rectangle_Double_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ ///* WC_Retangle_Double_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- /////* WC_Retangle_Double_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ ///* WA_Square_Double_C */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- /////* WA_Square_Double_C */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* Quid_Window_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* Quid_Window_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* Ollivanders_Box_Window */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* Ollivanders_Box_Window */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* WC_L_DoubleS_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* WC_L_DoubleS_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* WC_Round_Double_A */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* WC_Round_Double_A */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* SM_HM_Door1a */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
- ///* SM_HM_Door1a */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
-
- ///* SM_HM_Door1a */
- //Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b";
- //Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin";
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
- // return E_FAIL;
+ /* SM_HM_Door1a */
+ Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b";
+ Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin";
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc)))
+ return E_FAIL;
+ }
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp
index f9833d7e1..92a800e41 100644
--- a/Jusin154_Team3D/Client/Private/Levioso.cpp
+++ b/Jusin154_Team3D/Client/Private/Levioso.cpp
@@ -40,11 +40,9 @@ HRESULT CLevioso::Initialize(void* pArg)
return E_FAIL;
m_pLeviosoPJ_0 = Get_PartObject("Levioso_PJ0");
- m_pLeviosoTrail = Get_PartObject("Levioso_Trail");
m_pTrail_PT_0 = Get_PartObject("Trail_PT0");
SAFE_ADDREF(m_pLeviosoPJ_0);
- SAFE_ADDREF(m_pLeviosoTrail);
SAFE_ADDREF(m_pTrail_PT_0);
m_wstrEffectName = L"Levioso";
@@ -85,7 +83,6 @@ void CLevioso::Update(_float fTimeDelta)
_matrix WorldMat = m_pTrail_PT_0->Get_Component()->Get_XMWorldMatrix();
- m_pLeviosoTrail->Trail_Update(WorldMat, fTimeDelta);
}
@@ -140,8 +137,6 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
pWandSmoke->Set_Visible(true);
pWandLight->Set_Visible(true);
- m_pLeviosoTrail->Set_Visible(true);
- m_pLeviosoTrail->Get_Component()->Reset_Trail();
m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
@@ -240,9 +235,7 @@ void CLevioso::Free()
{
__super::Free();
-
SAFE_RELEASE(m_pLeviosoPJ_0);
- SAFE_RELEASE(m_pLeviosoTrail);
SAFE_RELEASE(m_pTrail_PT_0);
}
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 79f95116b..f84363b26 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -275,290 +275,311 @@ HRESULT CLoader::Loading_For_GamePlay()
{
m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다.");
+ _bool isLoad_Background = { false };
+
+#ifdef gimch
+ isLoad_Background = false;
+#endif // gimch
+#ifdef bin
+ isLoad_Background = false;
+#endif //
+#ifdef 진우
+ isLoad_Background = false;
+#endif //
+#ifdef 기무리
+ isLoad_Background = false;
+#endif //
+#ifdef 인혁
+ isLoad_Background = false;
+#endif //
+
#pragma region MAP_MODELS
vector*>> jobMapModels;
-// {
-// { /* Terrain */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
-// ".bin", false
-// ));
-// }
-//
-// { /* Ollivanders*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
-// ".bin", false
-// ));
-// }
-//
-// { /* Gatehouse*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
-// ".bin", false
-// ));
-// }
-//
-// { /* TScrolls */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
-// ".bin", false
-// ));
-// }
-// { /* 3BroomStick*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
-// ".bin", false
-// ));
-// }
-//
-//
-// { /* BLDG_QuidditchShop */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_HogsheadInn */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_Honeydukes */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_OwlPost */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_TeaShop */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_Zonkos */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_DB_GR */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_Potions */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
-// ".bin", false
-// ));
-// }
-// { /* BLDG_Salon */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
-// ".bin", false
-// ));
-// }
-// { /* Hengist_Tree */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
-// ".bin", false
-// ));
-// }
-// { /* GEN A*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN B*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN C*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN E*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN F*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN G*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN H*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
-// ".bin", false
-// ));
-// }
-// { /* GEN J*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
-// ".bin", false
-// ));
-// }
-// {/* Light Objects */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts",
-// ".bin", false
-// ));
-// }
-// {/* Doors */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Doors",
-// ".bin", false
-// ));
-// }
-// {/* Step and Stair */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/GroundSurfaces",
-// ".bin", false
-// ));
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/GroundSurfaces",
-// ".bin", false
-// ));
-// }
-// {/* Barrel */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Meshes",
-// ".bin", false
-// ));
-// /* Box */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/MiscProps",
-// ".bin", false
-// ));
-// /* TeaShop Table */
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Tables",
-// ".bin", false
-// ));
-// /* TeaShop Chair*/
-// jobMapModels.emplace_back(Deferred_FolderLoad(
-// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Chairs",
-// ".bin", false
-// ));
-// }
-// }
-//
-//#pragma endregion
+ {
+ { /* Terrain */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
+ ".bin", false
+ ));
+ }
+
+ { /* Ollivanders*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
+ ".bin", false
+ ));
+ }
+
+ { /* Gatehouse*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
+ ".bin", false
+ ));
+ }
+
+ if (true == isLoad_Background)
+ {
+ { /* TScrolls */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
+ ".bin", false
+ ));
+ }
+ { /* 3BroomStick*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
+ ".bin", false
+ ));
+ }
+
+
+ { /* BLDG_QuidditchShop */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_HogsheadInn */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_Honeydukes */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_OwlPost */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_TeaShop */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_Zonkos */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_DB_GR */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_Potions */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
+ ".bin", false
+ ));
+ }
+ { /* BLDG_Salon */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
+ ".bin", false
+ ));
+ }
+ { /* Hengist_Tree */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
+ ".bin", false
+ ));
+ }
+ { /* GEN A*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN B*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN C*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN E*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN F*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN G*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN H*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
+ ".bin", false
+ ));
+ }
+ { /* GEN J*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
+ ".bin", false
+ ));
+ }
+ {/* Light Objects */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts",
+ ".bin", false
+ ));
+ }
+ {/* Doors */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Doors",
+ ".bin", false
+ ));
+ }
+ {/* Step and Stair */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/GroundSurfaces",
+ ".bin", false
+ ));
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/GroundSurfaces",
+ ".bin", false
+ ));
+ }
+ {/* Barrel */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Meshes",
+ ".bin", false
+ ));
+ /* Box */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/MiscProps",
+ ".bin", false
+ ));
+ /* TeaShop Table */
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Tables",
+ ".bin", false
+ ));
+ /* TeaShop Chair*/
+ jobMapModels.emplace_back(Deferred_FolderLoad(
+ "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Chairs",
+ ".bin", false
+ ));
+ }
+ }
+ }
+
+#pragma endregion
#pragma region UI
@@ -791,206 +812,206 @@ HRESULT CLoader::Loading_For_GamePlay()
{
return E_FAIL;
}
-#pragma region UI_ANI
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273))))
- {
- return E_FAIL;
- }
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216))))
- {
- return E_FAIL;
- }
-
-#pragma endregion
+//#pragma region UI_ANI
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273))))
+// {
+// return E_FAIL;
+// }
+//
+// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"),
+// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216))))
+// {
+// return E_FAIL;
+// }
+//
+//#pragma endregion
#pragma region TERRAIN_TEXTURE
/* Terrain_Diffuse */
@@ -1323,7 +1344,7 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Weapon_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Troll_Weapon/Troll_Weapon.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/SubTroll_Weapon/SK_WPN_Troll_Club07.fbx", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Rock_Big_Model"),
@@ -1438,6 +1459,7 @@ HRESULT CLoader::Loading_For_GamePlay()
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
+#pragma region UI
/* For.Prototype_GameObject_UI_Manager*/
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CUI_Manager::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
@@ -1632,6 +1654,8 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
+#pragma endregion
+
/* For.Prototype_GameObject_SkyBox */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CSkyBox::Create(m_pDevice, m_pContext))))
return E_FAIL;
@@ -1651,7 +1675,7 @@ HRESULT CLoader::Loading_For_GamePlay()
Desc.ePxRigidBodyFlags = {};
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
Desc.vMatInfo = { 1.2f, 1.0f, 0.0f };
}
CRigidBody_Static* pRigid = CRigidBody_Static::Create(m_pDevice, m_pContext, Desc);
@@ -1796,6 +1820,11 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTroll::Create(m_pDevice, m_pContext))))
return E_FAIL;
+#pragma endregion
+#pragma region STAT PROTOTYPE
+ if (FAILED(Stat_FileLoad("../Bin/Resources/Data/Stat/Stat.xml"))) {
+ return E_FAIL;
+ }
#pragma endregion
@@ -1858,28 +1887,28 @@ HRESULT CLoader::Loading_For_GamePlay()
#pragma region RECEIVE_THREAD
- //{ // MapModels
- // _uint iIndex = 0;
- // for (auto& JobMapModels : jobMapModels)
- // {
- // vector* pOut = JobMapModels.get();
- // for (_uint i = 0; i < pOut->size(); ++i) {
- // FOLDER_LOAD* pContents = (*pOut)[i];
- // if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pModelTag, pContents->pLoadedModel))) {
- // return E_FAIL;
- // }
+ { // MapModels
+ _uint iIndex = 0;
+ for (auto& JobMapModels : jobMapModels)
+ {
+ vector* pOut = JobMapModels.get();
+ for (_uint i = 0; i < pOut->size(); ++i) {
+ FOLDER_LOAD* pContents = (*pOut)[i];
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pModelTag, pContents->pLoadedModel))) {
+ return E_FAIL;
+ }
- // for (_uint j = 0; j < pContents->pRigidBodyTags.size(); ++j) {
- // if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pRigidBodyTags[j], pContents->LoadedRigidBody[j]))) {
- // return E_FAIL;
- // }
- // }
- // Safe_Delete(pContents);
- // }
- // iIndex++;
- // Safe_Delete(pOut);
- // }
- //}
+ for (_uint j = 0; j < pContents->pRigidBodyTags.size(); ++j) {
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pRigidBodyTags[j], pContents->LoadedRigidBody[j]))) {
+ return E_FAIL;
+ }
+ }
+ Safe_Delete(pContents);
+ }
+ iIndex++;
+ Safe_Delete(pOut);
+ }
+ }
#pragma endregion
m_strMessage = TEXT("정보를 불러오는 중입니다.");
@@ -1958,6 +1987,34 @@ HRESULT CLoader::Asset_FileLoad(const _char* pDirectoryPath, const _tchar* pPreN
return S_OK;
}
+HRESULT CLoader::Stat_FileLoad(const _char* pDirectoryPath)
+{
+ filesystem::path pathStatFile = pDirectoryPath;
+
+ tinyxml2::XMLDocument doc;
+ tinyxml2::XMLError Error = doc.LoadFile(pathStatFile.string().c_str());
+ if (Error != tinyxml2::XML_SUCCESS) {
+ return E_FAIL;
+ }
+
+ tinyxml2::XMLElement* pStatInfo = doc.FirstChildElement("StatInfo");
+ if (!pStatInfo) {
+ return E_FAIL;
+ }
+
+ _uint iNumChild = pStatInfo->ChildElementCount();
+ tinyxml2::XMLNode* pChild = pStatInfo->FirstChildElement();
+ for (_uint i = 0; i < iNumChild; ++i) {
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, CMyTools::ToWstring(pChild->Value()),
+ CStat::Create(m_pDevice, m_pContext, pChild)))) {
+ return E_FAIL;
+ }
+ pChild = pChild->NextSiblingElement();
+ }
+
+ return S_OK;
+}
+
vector* APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pDirectoryPath, const _char* pFileExt, _bool bUseTag)
{
if (FAILED(CoInitializeEx(nullptr, 0))) {
@@ -2005,7 +2062,7 @@ vector* APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, I
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
}
pContents->pRigidBodyTags.emplace_back(CMyTools::ToWstring(pModel->Get_MeshName(i) + to_string(i)).c_str());
@@ -2043,6 +2100,12 @@ future*> CLoader::Deferred_ModelLoad(MODEL eType, const
return m_pGameInstance->EnqueueJob(&Deferred_ModelLoad_Main, m_pDevice, m_pContext, eType, pDirectoryPath, pPrototypeTag, PreTransform);
}
+void CLoader::Ready_MapModels(vector*>>& jobMapModels)
+{
+
+
+}
+
CLoader* CLoader::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID)
{
CLoader* pInstance = new CLoader(pDevice, pContext);
diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp
index 0a63ce306..cabc592b7 100644
--- a/Jusin154_Team3D/Client/Private/MapInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp
@@ -80,7 +80,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName)
{
const _char* pName = {};
_uint iMapContainerType = {};
- //Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType);
+ Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType);
Container->FirstChildElement("MapContainerType")->QueryUnsignedAttribute("type", &iMapContainerType);
diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
index 7155be0e6..433cc9bf3 100644
--- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
+++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
@@ -75,7 +75,7 @@ void CMapObject_Render::Update(_float fTimeDelta)
void CMapObject_Render::Late_Update(_float fTimeDelta)
{
- m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
+ //m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
if (m_pGameInstance->isIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), m_fRadius)) {
m_fCamDepth = XMVectorGetX(XMVector3LengthSq(XMLoadFloat4(m_pGameInstance->Get_CamPosition()) - XMLoadFloat4(&m_vExtentPosition)));
diff --git a/Jusin154_Team3D/Client/Private/Monster.cpp b/Jusin154_Team3D/Client/Private/Monster.cpp
index 9df271243..7b4184203 100644
--- a/Jusin154_Team3D/Client/Private/Monster.cpp
+++ b/Jusin154_Team3D/Client/Private/Monster.cpp
@@ -119,6 +119,16 @@ void CMonster::Set_DrawOutLine()
m_bDrawOutLine = true;
}
+_bool CMonster::Get_Damage(_float fDamage)
+{
+ return m_pStat->Get_Damage(fDamage);
+}
+
+_float2 CMonster::Get_Hp()
+{
+ return { m_pStat->Get_Stat(ENUM_CLASS(STAT::HP)), m_pStat->Get_Stat(ENUM_CLASS(STAT::MAXHP)) };
+}
+
HRESULT CMonster::Ready_Components(void*pArg)
{
__super::Ready_Components(pArg);
@@ -149,6 +159,7 @@ void CMonster::Free()
{
__super::Free();
+ SAFE_RELEASE(m_pStat);
SAFE_RELEASE(m_pTarget);
if (nullptr != m_pInfoInstance){
CInfoInstance* pInfo = m_pInfoInstance;
diff --git a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
index 88190cd7a..51100c7b8 100644
--- a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
@@ -12,8 +12,8 @@ void CMonsterInfo::Update(_float fTimeDelta)
{
Refresh_PlayerAllies();
Refresh_LockOnMonsters();
+ Refresh_ActiveMonsters();
}
-
void CMonsterInfo::Change_Level()
{
SAFE_RELEASE(m_pLockOnMonster);
@@ -124,7 +124,11 @@ HRESULT CMonsterInfo::Refresh_LockOnMonsters()
for (list::iterator iter = m_ActiveMonsters.begin(); iter != m_ActiveMonsters.end(); ++iter) {
// (카메라의 룩)과 (카메라 -> 몬스터 방향 벡터)를 내적해서 가장 큰 크기가 나온 몬스타가 락온 대상
- vMonsterPos = (*iter)->Get_WorldPostion();
+ CMonster* pMonster = (*iter);
+ if (pMonster->Get_Hp().x <= 0) {
+ continue;
+ }
+ vMonsterPos = pMonster->Get_WorldPostion();
vToMonsterDir = vMonsterPos - vCameraPos;
_float fDotResult = CMyTools::DirectionCompare(vCameraLook, vToMonsterDir);
if (fDotResult <= cosf(fFovy)) {
@@ -132,13 +136,13 @@ HRESULT CMonsterInfo::Refresh_LockOnMonsters()
}
if (nullptr == m_pLockOnMonster) {
- m_pLockOnMonster = (*iter);
+ m_pLockOnMonster = pMonster;
fMaxDot = fDotResult;
continue;
}
if (fMaxDot < fDotResult) {
- m_pLockOnMonster = (*iter);
+ m_pLockOnMonster = pMonster;
fMaxDot = fDotResult;
}
}
@@ -149,6 +153,22 @@ HRESULT CMonsterInfo::Refresh_LockOnMonsters()
return S_OK;
}
+HRESULT CMonsterInfo::Refresh_ActiveMonsters()
+{
+ list::iterator iter = m_ActiveMonsters.begin();
+ for (; iter != m_ActiveMonsters.end();) {
+ if (true == (*iter)->isDead()) {
+ SAFE_RELEASE(*iter);
+ iter = m_ActiveMonsters.erase(iter);
+ }
+ else {
+ ++iter;
+ }
+ }
+ return S_OK;
+}
+
+
HRESULT CMonsterInfo::Refresh_PlayerAllies()
{
for (list::iterator iter = m_PlayerAllies.begin(); iter != m_PlayerAllies.end();) {
diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp
index 150f467bf..502976a40 100644
--- a/Jusin154_Team3D/Client/Private/NomalJap.cpp
+++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp
@@ -119,26 +119,39 @@ void CNomalJap::Update(_float fTimeDelta)
void CNomalJap::Late_Update(_float fTimeDelta)
{
- if (m_bVisible == false) {
+ if (false == m_bVisible) {
return;
}
+ if (false == m_bHit) {
+ SweepTarget();
+ }
+ Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta);
+ __super::Late_Update(fTimeDelta);
+}
+
+void CNomalJap::SweepTarget()
+{
_vector vStartPos = m_pProjectile->Get_WorldPostion();
-
_vector vEndPos = XMLoadFloat4(&m_vTargetPos);
-
_vector vDir = { vEndPos - vStartPos };
_float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos));
PSX::PxSweepBuffer pxBuffer = {};
- _bool bHit = m_pGameInstance->SphereCast(0.2f, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
+ _bool bHit = m_pGameInstance->SphereCast(0.002f, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
if (bHit) {
const PSX::PxSweepHit& hit = pxBuffer.block;
PSX::PxRigidActor* pActor = hit.actor;
PSX::PxShape* pShape = hit.shape;
+ ON_COLLISION_INFO tagCollInfo = {};
+ memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position));
+ memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal));
+ XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
+ tagCollInfo.fLength = fDistance;
+
if (nullptr != pActor && nullptr != pActor->userData)
{
@@ -151,14 +164,17 @@ void CNomalJap::Late_Update(_float fTimeDelta)
switch (PXOBJECT(pUserData->iSubKind))
{
case PXOBJECT::MONSTER:
+ break;
case PXOBJECT::GOBLIN_WARRIOR:
{
- pUserData->pOwner->OnCollision(this);
+ pUserData->pOwner->OnCollision(this, &tagCollInfo);
+ m_bHit = true;
}
- break;
+ break;
case PXOBJECT::TROLL:
{
- pUserData->pOwner->OnCollision(this);
+ pUserData->pOwner->OnCollision(this, &tagCollInfo);
+ m_bHit = true;
}
break;
}
@@ -166,11 +182,6 @@ void CNomalJap::Late_Update(_float fTimeDelta)
}
}
}
-
- Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta);
-
-
- __super::Late_Update(fTimeDelta);
}
HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg)
@@ -186,7 +197,6 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg)
XMStoreFloat4(&m_vStartPos, vStartPos);
/* 초기 객체 위치 초기화 */
-
m_pProjectile->Get_Component()->Set_State(STATE::POSITION, vStartPos);
m_pProjectile_Side->Get_Component()->Set_State(STATE::POSITION, vStartPos);
@@ -213,7 +223,7 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg)
{ /* 대상 위치 지정 */
-
+ m_bHit = false;
CUnit* pTargetUnit = m_pInfoInstance->Get_LockOnUnit();
if (nullptr != pTargetUnit) {
XMStoreFloat4(&m_vTargetPos, pTargetUnit->Get_LockOnPos());
@@ -222,8 +232,6 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg)
XMStoreFloat4(&m_vTargetPos, vStartPos + vDirection * m_fLinearSpeed * 0.5f);
}
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
-
-
}
else {
// 타겟이 없다면 현재위치 -> 카메라 룩벡터 * duration간 예상 이동거리 를 대상으로 지정
@@ -314,11 +322,13 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc)
{
int iIndex = CollisionCheck();
- if (iIndex < 0)
+ if (iIndex < 0){
return;
+ }
- if (m_isCollisionEnter == true)
+ if (m_isCollisionEnter == true){
return;
+ }
m_isCollisionEnter = true;
diff --git a/Jusin154_Team3D/Client/Private/NomalJapSide.cpp b/Jusin154_Team3D/Client/Private/NomalJapSide.cpp
index 31f938912..98c485063 100644
--- a/Jusin154_Team3D/Client/Private/NomalJapSide.cpp
+++ b/Jusin154_Team3D/Client/Private/NomalJapSide.cpp
@@ -42,11 +42,13 @@ HRESULT CNomalJapSide::Initialize(void* pArg)
m_pWandParticle = Get_PartObject("WandParticle1");
m_pWandLight = Get_PartObject("Wand_Red_Long");
+ m_pWandLight_R = Get_PartObject("Wand_Light_R");
m_pWandTrail = Get_PartObject();
SAFE_ADDREF(m_pWandLight);
SAFE_ADDREF(m_pWandTrail);
SAFE_ADDREF(m_pWandParticle);
+ SAFE_ADDREF(m_pWandLight_R);
m_Events.emplace(0.6f, [&]() {
@@ -64,6 +66,7 @@ HRESULT CNomalJapSide::Initialize(void* pArg)
m_isTrailEnd = true;
XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix());
+ m_pWandLight_R->Set_Visible(false);
});
@@ -94,6 +97,7 @@ void CNomalJapSide::Update(_float fTimeDelta)
return;
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
// 파티클생성이 막히면 실행되지 않음
if (m_isParticleEnd == false)
@@ -130,6 +134,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg)
m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고
m_pWandLight->Set_Visible(true);
+ m_pWandLight_R->Set_Visible(true);
/*트레일 초기화 */
m_pWandTrail->Set_Visible(true);
@@ -139,7 +144,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg)
/*_vector pPos = pPlayer->Get_WandPos().r[3];*/
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
-
+ m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
return S_OK;
}
@@ -198,6 +203,8 @@ void CNomalJapSide::Free()
Safe_Release(m_pWandLight);
Safe_Release(m_pWandTrail);
Safe_Release(m_pWandParticle);
+ Safe_Release(m_pWandLight_R);
+
}
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 911d7e028..ef120d229 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -150,8 +150,13 @@ void CPlayer::Late_Update(_float fTimeDelta)
__super::Late_Update(fTimeDelta);
- if (nullptr != m_pLockOnMonster && false == m_pLockOnMonster->isDead()) {
- static_cast(m_pLockOnMonster)->Set_DrawOutLine();
+ if (nullptr != m_pLockOnMonster) {
+ if (false == m_pLockOnMonster->isDead()) {
+ static_cast(m_pLockOnMonster)->Set_DrawOutLine();
+ }
+ else {
+ m_pLockOnMonster = nullptr;
+ }
}
}
@@ -321,6 +326,10 @@ HRESULT CPlayer::Ready_Components()
return E_FAIL;
}
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_PLAYER"), (CComponent**)&m_pStat))) {
+ return E_FAIL;
+ }
+
{ // CCT
CCharacter_Controller::Character_Controller_DESC Desc{};
@@ -492,6 +501,7 @@ void CPlayer::Free()
SAFE_RELEASE(m_pCharacter_Controller);
SAFE_RELEASE(m_pRigidBody);
SAFE_RELEASE(m_pLightCom);
+ SAFE_RELEASE(m_pStat);
Safe_Delete(m_pCallBack_Behavior);
Safe_Delete(m_pCallBack_HitReport);
SAFE_RELEASE(m_pCamPosition_TopDown_FollowPart);
diff --git a/Jusin154_Team3D/Client/Private/State_Dead.cpp b/Jusin154_Team3D/Client/Private/State_Dead.cpp
new file mode 100644
index 000000000..14e11a7ec
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/State_Dead.cpp
@@ -0,0 +1,56 @@
+#include "pch.h"
+#include "State_Dead.h"
+#include "Unit.h"
+
+
+CState_Dead::CState_Dead()
+ :CState_Root()
+{
+}
+
+void CState_Dead::Enter()
+{
+ __super::Enter();
+}
+
+HRESULT CState_Dead::Update(_float fTimeDelta)
+{
+ if (E_FAIL == (__super::Update(fTimeDelta))) {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CState_Dead::Exit()
+{
+ __super::Exit();
+}
+
+HRESULT CState_Dead::Initialize(STATE_DEAD_DESC* pDesc)
+{
+ if (FAILED(__super::Initialize(pDesc))) {
+ return E_FAIL;
+ }
+ m_pModel = m_pOwner->Get_Component();
+ m_pFSM = m_pOwner->Get_Component();
+
+ return S_OK;
+}
+
+CState_Dead* CState_Dead::Create(STATE_DEAD_DESC* pDesc)
+{
+ CState_Dead* pInstance = new CState_Dead;
+ if (FAILED(pInstance->Initialize(pDesc))) {
+ SAFE_RELEASE(pInstance);
+ }
+ return pInstance;
+}
+
+void CState_Dead::Free()
+{
+ __super::Free();
+}
+
+void CState_Dead::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp
index 688561087..c5d8a6995 100644
--- a/Jusin154_Team3D/Client/Private/Troll.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll.cpp
@@ -5,6 +5,7 @@
#include "Troll_Rock.h"
#include "GameInstance.h"
#include "Effect_Container.h"
+#include "EffectParts.h"
#pragma region STATE
#include "State_Idle.h"
@@ -275,6 +276,9 @@ HRESULT CTroll::Ready_Components()
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor());
}
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_TROLL"), (CComponent**)&m_pStat))) {
+ return E_FAIL;
+ }
return S_OK;
}
@@ -301,7 +305,53 @@ HRESULT CTroll::Ready_Parts()
}
Get_PartObject()->Set_Visible(false);
-
+
+
+#pragma region EFFECT
+ /* EFFECT */
+
+ CPartObject::PARTOBJECT_DESC PartsDesc{};
+
+ PartsDesc.pParentTransform = m_pTransformCom;
+
+
+
+ /*if (FAILED(Add_PartObject("Troll_Particle", g_iStaticLevel, &m_pTroll_Particle, &PartsDesc)))
+ {
+ return E_FAIL;
+ }
+
+ m_pTroll_Particle->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle", static_cast(NEXT_LEVEL));
+ m_pTroll_Particle->FollowParants(m_pModelCom->Get_BoneMatrixPtr("HeadEnd"));
+
+
+
+ if (FAILED(Add_PartObject("Troll_Particle2", g_iStaticLevel, &m_pTroll_Particle2, &PartsDesc)))
+ {
+ return E_FAIL;
+ }
+
+ m_pTroll_Particle2->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle2", static_cast(NEXT_LEVEL));
+ m_pTroll_Particle2->FollowParants(m_pModelCom->Get_BoneMatrixPtr("HeadEnd"));
+
+
+ if (FAILED(Add_PartObject("Troll_Right_Smoke", g_iStaticLevel, &m_pRight_Smoke, &PartsDesc)))
+ {
+ return E_FAIL;
+ }
+
+ m_pRight_Smoke->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke", static_cast(NEXT_LEVEL));
+ m_pRight_Smoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightArm"));
+
+ if (FAILED(Add_PartObject("Troll_Left_Smoke", g_iStaticLevel, &m_pLeft_Smoke, &PartsDesc)))
+ {
+ return E_FAIL;
+ }
+
+ m_pLeft_Smoke->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke", static_cast(NEXT_LEVEL));
+ m_pLeft_Smoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("LeftArm"));
+*/
+#pragma endregion
return S_OK;
}
@@ -362,6 +412,11 @@ void CTroll::Free()
SAFE_RELEASE(m_pRigidBody);
Safe_Delete(m_pCallBack_Behavior);
Safe_Delete(m_pCallBack_HitReport);
+
+ SAFE_RELEASE(m_pTroll_Particle);
+ SAFE_RELEASE(m_pTroll_Particle2);
+ SAFE_RELEASE(m_pRight_Smoke);
+ SAFE_RELEASE(m_pLeft_Smoke);
}
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Client/Public/EffectObject.h b/Jusin154_Team3D/Client/Public/EffectObject.h
index e06833b44..d941deff3 100644
--- a/Jusin154_Team3D/Client/Public/EffectObject.h
+++ b/Jusin154_Team3D/Client/Public/EffectObject.h
@@ -104,19 +104,31 @@ class CEffectObject abstract : public CPartObject
_float2 vDissolveUVGainAmount = {};
_bool isDissolveMove = {};
-
-
_float3 vDissolveValue = {};
- _float3 vPadding1 = {};
-
- _float fPadding0 = {};
+ _float2 vPadding0 = {};
+ _float fLightDeley = {};
+ _float fLightIntensity = {};
_float isLightTime = { 0.f };
_bool isLightDissolve = {};
+ _bool isPadding0 = {};
+
+ _float4 vDissolveColor = {};
+ _float2 vDissolveColorCut = {};
+
+ _float3 vPadding1 = {};
+ _float4 vPadding2 = {};
+ _float4 vPadding3 = {};
+ _float4 vPadding4 = {};
+ _float4 vPadding5 = {};
+
_bool isPadding1 = {};
+ _bool isPadding2 = {};
+ _bool isPadding3 = {};
+ _bool isPadding4 = {};
}EFFECT_INFO;
@@ -137,6 +149,7 @@ class CEffectObject abstract : public CPartObject
void Disable_Light();
void Add_Light();
+ void FollowParants(const _float4x4* pParantsMat);
protected:
virtual HRESULT Bind_ShaderResources() override;
virtual HRESULT Ready_Components(void* pArg) override;
@@ -156,6 +169,7 @@ class CEffectObject abstract : public CPartObject
CInstance_Model* m_pInstance_ModelCom = { nullptr };
+ const _float4x4* m_pPerentMatrix = { nullptr };
protected:
EFFECT_INFO m_EffectInfo = {};
diff --git a/Jusin154_Team3D/Client/Public/Goblin.h b/Jusin154_Team3D/Client/Public/Goblin.h
index e70a6b496..3e467c587 100644
--- a/Jusin154_Team3D/Client/Public/Goblin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin.h
@@ -67,7 +67,6 @@ class CGoblin final : public CMonster
_float m_fTpTime = {};
_float m_fAirTime = {};
-
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
void Behavior_IdleExit();
@@ -96,6 +95,10 @@ class CGoblin final : public CMonster
void Behavior_HitEnter();
HRESULT Behavior_HitExitCheck(_float fTimeDelta);
void Behavior_HitExit();
+
+ void Behavior_DeadEnter();
+ HRESULT Behavior_DeadExitCheck(_float fTimeDelta);
+ void Behavior_DeadExit();
};
NS_END
diff --git a/Jusin154_Team3D/Client/Public/Levioso.h b/Jusin154_Team3D/Client/Public/Levioso.h
index a0275c221..4c365ccee 100644
--- a/Jusin154_Team3D/Client/Public/Levioso.h
+++ b/Jusin154_Team3D/Client/Public/Levioso.h
@@ -36,7 +36,6 @@ class CLevioso final : public CEffect_Container
class CEffectParts* m_pLeviosoPJ_0 = { nullptr };
class CEffectParts* m_pLeviosoPJ_1 = { nullptr };
- class CTrailObject* m_pLeviosoTrail = { nullptr };
class CEffectParts* m_pTrail_PT_0 = { nullptr };
_vector m_vOwnerLook = {};
diff --git a/Jusin154_Team3D/Client/Public/Loader.h b/Jusin154_Team3D/Client/Public/Loader.h
index 86df14ee7..c75611a58 100644
--- a/Jusin154_Team3D/Client/Public/Loader.h
+++ b/Jusin154_Team3D/Client/Public/Loader.h
@@ -40,8 +40,11 @@ class CLoader final : public CBase
private:
HRESULT Asset_FileLoad(const _char* pDirectoryPath, const _tchar* pPreName, function AddPrototypeEvent);
+ HRESULT Stat_FileLoad(const _char* pDirectoryPath);
future*> Deferred_FolderLoad(const _char* pDirectoryPath, const _char* pFileExt, _bool bUseTag);
future*> Deferred_ModelLoad(MODEL eType, const _char* pDirectoryPath, _fmatrix PreTransform, const _tchar* pPrototypeTag);
+ void Ready_MapModels(vector*>>& jobMapModels);
+
public:
static CLoader* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID);
virtual void Free() override;
diff --git a/Jusin154_Team3D/Client/Public/Monster.h b/Jusin154_Team3D/Client/Public/Monster.h
index 0a73f3783..84679bd8d 100644
--- a/Jusin154_Team3D/Client/Public/Monster.h
+++ b/Jusin154_Team3D/Client/Public/Monster.h
@@ -19,10 +19,13 @@ class CMonster abstract : public CUnit
virtual HRESULT Render_OutLine() override;
virtual void Set_DrawOutLine();
_float4 Get_TargetPos() { return m_vTargetPos; }
+ virtual _bool Get_Damage(_float fDamage);
+ virtual _float2 Get_Hp();
protected:
CInfoInstance* m_pInfoInstance = { nullptr };
CUnit* m_pTarget = { nullptr };
+ CStat* m_pStat = { nullptr };
_float4 m_vTargetPos = { };
_float3 m_vToTargetDir = { };
_float m_fTargetDistance = { FLT_MAX };
diff --git a/Jusin154_Team3D/Client/Public/MonsterInfo.h b/Jusin154_Team3D/Client/Public/MonsterInfo.h
index b45493079..f2c0672d0 100644
--- a/Jusin154_Team3D/Client/Public/MonsterInfo.h
+++ b/Jusin154_Team3D/Client/Public/MonsterInfo.h
@@ -42,6 +42,7 @@ class CMonsterInfo final : public CBase
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
HRESULT Refresh_LockOnMonsters();
HRESULT Refresh_PlayerAllies();
+ HRESULT Refresh_ActiveMonsters();
public:
diff --git a/Jusin154_Team3D/Client/Public/NomalJap.h b/Jusin154_Team3D/Client/Public/NomalJap.h
index 10ae59cb8..0dbdfa863 100644
--- a/Jusin154_Team3D/Client/Public/NomalJap.h
+++ b/Jusin154_Team3D/Client/Public/NomalJap.h
@@ -20,7 +20,6 @@ class CNomalJap final : public CEffect_Container
virtual void Update(_float fTimeDelta) override;
virtual void Late_Update(_float fTimeDelta) override;
-
public:
virtual HRESULT Pre_Setting(CGameObject* pObject , void* pArg = nullptr) override;
@@ -31,6 +30,7 @@ class CNomalJap final : public CEffect_Container
HRESULT Ready_Child();
HRESULT Bind_ShaderResources() override;
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+ void SweepTarget();
private:
class CInfoInstance* m_pInfoInstance = { nullptr };
_wstring m_wstrEffectName = {};
@@ -57,6 +57,7 @@ class CNomalJap final : public CEffect_Container
_float m_fAngularSpeed = {};
_float m_fLinearSpeed = 35.f;
_float m_fTimeRate = {};
+ _bool m_bHit = { false };
/*좌우 무빙 관련 변수들*/
_float3 m_vRotateRight = {};
diff --git a/Jusin154_Team3D/Client/Public/NomalJapSide.h b/Jusin154_Team3D/Client/Public/NomalJapSide.h
index dcb24ad6a..c4b1b4593 100644
--- a/Jusin154_Team3D/Client/Public/NomalJapSide.h
+++ b/Jusin154_Team3D/Client/Public/NomalJapSide.h
@@ -37,6 +37,7 @@ class CNomalJapSide final : public CEffect_Container
_bool m_isTrailEnd = {};
_float4x4 m_TrailStopMat = {};
+ class CEffectParts* m_pWandLight_R = { nullptr };
class CEffectParts* m_pWandLight = { nullptr };
class CTrailObject* m_pWandTrail = { nullptr };
class CEffectParts* m_pWandParticle = { nullptr };
diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h
index a63fa36e4..8c7e76025 100644
--- a/Jusin154_Team3D/Client/Public/Player.h
+++ b/Jusin154_Team3D/Client/Public/Player.h
@@ -52,6 +52,7 @@ class CPlayer final : public CUnit
class CModel* m_pBroomModel = { nullptr };
class CTransform* m_pBroomTransform = { nullptr };
class CBroom* m_pBroom = { nullptr };
+ CStat* m_pStat = { nullptr };
private:
virtual HRESULT Initialize_Prototype() override;
virtual HRESULT Initialize(void* pArg) override;
diff --git a/Jusin154_Team3D/Client/Public/State_Dead.h b/Jusin154_Team3D/Client/Public/State_Dead.h
new file mode 100644
index 000000000..5dea32e2b
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/State_Dead.h
@@ -0,0 +1,31 @@
+#pragma once
+#include "Client_Define.h"
+#include "State_Root.h"
+
+NS_BEGIN(Client)
+
+class CState_Dead final : public CState_Root
+{
+public:
+ typedef struct tagLand : public CState_Root::STATE_ROOT_DESC {
+
+ }STATE_DEAD_DESC;
+private:
+ CState_Dead();
+ virtual ~CState_Dead() = default;
+
+public:
+ virtual void Enter();
+ virtual HRESULT Update(_float fTimeDelta);
+ virtual void Exit();
+
+private:
+ HRESULT Initialize(STATE_DEAD_DESC* pDesc);
+
+public:
+ static CState_Dead* Create(STATE_DEAD_DESC* pDesc);
+ virtual void Free() override;
+ virtual void Describe_Entity();
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/Troll.h b/Jusin154_Team3D/Client/Public/Troll.h
index a1dc4e9bf..b9d80b1b0 100644
--- a/Jusin154_Team3D/Client/Public/Troll.h
+++ b/Jusin154_Team3D/Client/Public/Troll.h
@@ -43,6 +43,11 @@ class CTroll final : public CMonster
_float2 m_vStunTimer = { 0.f, 4.f };
_uint iIndex;
+ class CEffectParts* m_pRight_Smoke = { nullptr };
+ class CEffectParts* m_pLeft_Smoke = { nullptr };
+ class CEffectParts* m_pTroll_Particle = { nullptr };
+ class CEffectParts* m_pTroll_Particle2 = { nullptr };
+
private:
virtual HRESULT Initialize_Prototype() override;
virtual HRESULT Initialize(void* pArg) override;
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin
deleted file mode 100644
index 2c547a396..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3e153084cdc55fcdd9bd2fdd31772d20aa0164d1cabfba425ab78ab8076fddc9
-size 849
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin
index 0e116c3db..301dc7e46 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f4982ae6d9d2aa2a7d9d080be0620bb80bfe29f0d76d724da8e2b808890e6734
-size 939
+oid sha256:2b6ac214e96d4da30d987ce20c3558e50b4ed717c5220787477abdfaaba008ec
+size 1131
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
index 821032287..30a2d8402 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e23d2fbae1afc68c8f2b1b9932eab1997a420db15e478baad3739589f0424979
-size 934
+oid sha256:377e5395d8757335ec7fb6996c511c756bed17174acbfcb928ebdd941d79ceb2
+size 1126
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin
index c49549ff6..f863cf149 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:33166959d341985ce19c2287eca35f802644107341304cfa3230761d7bd8b2c9
-size 892
+oid sha256:aaa06e374bcfc56f65154e4d2293463f823d5c74cc61a5c49c69a5ba55e0eeac
+size 1124
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin
index 734251a4b..a373bbb1d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a66d082a202629c9c4a98e452582f0988e202d443c48c66100f9660c79a524f9
-size 886
+oid sha256:db346033f515749f0d4556f3095a54ae6f0b95a3573c6289efa9ae14a98c55f1
+size 1078
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
index d02a75ef2..af1a3ce5e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:eea7ec18e3b6a10a9384a658dd2b17c050f8589c8be0b0465040d01d92418ae1
-size 894
+oid sha256:e7be6c40fc89bd24a6e52b241c38060de62459db7b2ca5c9a73a3796f93ab4b6
+size 1086
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
index 3c238dbaa..defad9844 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a6d7d022a477f09b26c5416713b84ba46117bc6e22b1eed24ffbf1f12377b444
-size 894
+oid sha256:9637ca3adc6bfb8e08c16d2aa301210d56e16746d3edcf64a601a86e4ba843f0
+size 1086
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
index 0ae3bb312..38cf0f270 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4eb7e229ae2d592272751b6d435beebd2bceebb9fd4a47db875ce032b4cbc079
-size 886
+oid sha256:193806a665e16659703332985e175a4cc91701b0b6852577d51fc58b85ae49d1
+size 1078
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
index b70d9d198..60ff9cd2c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1682a1e194e9522960e9399ef044dd62f7d2acc4c1b7708367e903478f5112d9
-size 886
+oid sha256:c1ddb59edb9de096b776a19ed62ce291c1453eab460e7c34efc15696e7971677
+size 1078
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
index 2e03975c7..a05de1534 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9347dfd7bc45e98e449da16170de9f2585100941a91df91d054ebfaab99fa833
-size 991
+oid sha256:a035417dfceaef27d4a26f4049c6f58e7a7d9a9a55d2e0c7df7a9a4f7d242d2a
+size 1183
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin
index fd383ae0c..6b6478374 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e661cf40073840d2c3342f58b3933a08f445811cfa8775f29ca49467d944d0dd
-size 989
+oid sha256:6396dfcf2ec2ae0c17043d76aae02724cb1357403c82c37b1bade33e0f9c8214
+size 1181
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
index 2cae4b52c..9bcdb0de6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fa34ce3f1dcd6e07a2f88cde9a505f5b62c5e8ef264d69a04df5cf1363473ea0
-size 890
+oid sha256:9101fac6ba963410e5282ca2127264bab27525c37fccf45f83c139ed48cc5b6e
+size 1082
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
index 1d63bec70..f60f08151 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7d2d0bca1f174f149ed0c785fc77bc8952f0552f118b36d65d81863daca82d26
-size 852
+oid sha256:f56590e67f319d45402d6529cde5f57a680966e945fe097e713031ecd1fac0e0
+size 1044
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
index b50a4a758..4b5017beb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9890c29b54063e2ef8ebd7a980a4f09a13edbd8e721a906445b16fd2b85f7506
-size 867
+oid sha256:fa01889c99f54820be2bd08567c251b2fb7c99674847ad56dd3a345ba6de77a0
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
index 58cff23be..74fd7115f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:503d5221bfd3cadb71653ff08c9c58a947080ad2ef866928ac3f2fdd9dffe48f
-size 888
+oid sha256:7f30d683b587cc16c5499f64d2971b0ed1b755f172ea9fc4dae00aa5ba8fe365
+size 1080
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin
index 1b224a281..82c5c9ef7 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f1d5850e1f6c81c3506a1ce74f39467ba740d98f2e04e165b83ddac638174ad8
-size 897
+oid sha256:7be855e1a322fe23be04351bba63c8076fb478c08daeed63dd47671a463e8200
+size 1089
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin
index 23d5a9e5d..830ad2f3e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:170d5ec8ed70c7db6e2b58cac0dcb739351d9cec941721d74333efc3bfdd377c
-size 904
+oid sha256:77456eacc5a33250c30b9287c11fec1c22cbeddfdde492ed715099efd9d30868
+size 1096
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin
index 9063576a6..2ef503ea1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0d3cbde0a391f9961fad37ce5b2a0396db836805b2b578909606acb92ac2e176
-size 890
+oid sha256:7b3ed267395967eb9780d0bc00421dd4b96ecbd37ab68e25761ad82834cdd2ab
+size 1082
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin
index bb45391fc..74cf73e60 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:12efcb8f2884fef77496816bc3bc8d1bcbf87a1e0ea51560d8386afdf6b2b7fb
-size 893
+oid sha256:18d13829d51b648d7a673f99a6a9179adea0a86b81a6176f1358a5455fb4272a
+size 1085
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin
index fd1e2b836..40d7aa507 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8db24ad8c49b3753b25ba0bc241eee35c9ed11d7146e1aaf55f2e49f3b3ae7c0
-size 835
+oid sha256:095202f43eb3cb685e4232432b23281a820807754eabad1074ca3ebdcca05e92
+size 1027
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin
index 41d9a41e8..485912ad6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ffa3be24968023fec2a03a0b8652fe86681a898767754b5225ccd1f859f5fa70
-size 844
+oid sha256:cd2a595005be802b075ab785fd96287b50c9d835bb64b4aecfaaedaa713676b1
+size 1036
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin
index 582ca1705..edf67e9dc 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3899a259f6b6c3abc07c7f0a29c37f9002f5f4d1242d310a6bbb80a522272141
-size 850
+oid sha256:883f62dfd809c08dd1a19af917f03186d2b9cf98985c6f24314a00a2be67c2da
+size 1042
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin
index bb1c069ff..ad0bad3a7 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8e19e2c6faa0e308d3cb34d74e1cdf859bed9d6e3782a738928b49a051d31c3e
-size 987
+oid sha256:9408de7e9af59c23253c5898946eadae263632f4902567fe41913704b9fa0a50
+size 1179
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin
index 84291808b..fa26e58e6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:31b6142312d4e23feb52059f63ad991dd03babf9b1465e66119f03e31d585901
-size 888
+oid sha256:90c99a730683d9f48097ce09544deb13faf2626556a8db026f3d0d3231f0c54f
+size 1080
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin
index bdfb1f400..37c1a5a9a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e99dbf52bb2e97dcac555f8a371e56f8ffe6dd70e6c02ab5721999c1a9b6430f
-size 851
+oid sha256:88260c597965852584fdb3b3813fc45737770150617e6105f71ae4057376e57c
+size 1043
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin
index 9628ac5bc..37e04f1f6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7c09bc8d6f722548e4992dd7b3ec97ad3361bd04c61617731b1a6364501cd232
-size 927
+oid sha256:8094b4da5316e8a98501ec71123a7214af4e66f3e32d040ea9fda366bda47f07
+size 1119
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin
index 22d4200d9..0be1dbb5c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1a7f630df6cbb75e1b9c8f6bc2574a88d769ddf70aae5196e05bf66f8216fb1e
-size 901
+oid sha256:738e598412c1387d50dc4e947ac610d31b6e85ac61dfd27653e24b7f4f7981ba
+size 1093
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin
index 29f8faaac..9aebda538 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:745584fb88e30df42ac5cc770fffcdbd8f9b4556f186041e380ffbaa44e91d6b
-size 851
+oid sha256:6985f802101c9123a86dea9cbeb657e56e61fe3dcb4530eb8bfc0ab0edc67200
+size 1043
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin
index a9bcb3be8..1bcd4f6fc 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e30d27fc6a2553c66969f4530ef60c36969596b9e66a4f01832d513f3a1f38cb
-size 936
+oid sha256:f2c88ace7083579ea52f6280bb38e5977d6b4466a66c3e3f506fa9e16e50da2c
+size 1128
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin
index c64aa5ac1..bc10838e5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:279647ef118bfd585aa4179522fd3dca04889a5d95e70a87c79e9d9e964e7c75
-size 854
+oid sha256:e915456730332b776ff1128e2ad7795f131a60ae73c031e70c22ec75a61a9d70
+size 1046
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail
index 7317469cb..337154657 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin
index 40a5784cb..3c8637d44 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e
-size 867
+oid sha256:bc98c7cb2d207e45529ba528e760ea8ad0b606d10ae001a423e3fd68538ea713
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin
new file mode 100644
index 000000000..42e29c68e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:964879cf444c4b44ee740b040fcc8c7e514745ce589c0064554e2de2e59c95e0
+size 1080
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin
index c28802f6c..7a26ab0b1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf9f8ef7f1db3a61ef0edec2f01ac4efc165b9117b0fa0a10ef404f2238171ac
-size 857
+oid sha256:1f985636e0121a35e5a69f6b4ada7b35c4f49111065353ed6f7380c87d2765f8
+size 1049
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
index 8570b8900..5f30e9d4a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2d43f892f944e930e63cf0819ea01afa1790b837078e153c5871f00157d43469
-size 853
+oid sha256:bd618c0c98518702cc47e8c03a78068b223ccbf0149890896c1844709c60e749
+size 1045
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin
index e73bb8f57..c1c1eb727 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:116419f8af98d28995fff998bbaa3e5a903a6510015d8c3642c1634e54ebd395
-size 892
+oid sha256:1e6b330c22c99173404d1a7084102c8a47eb101d49fdd3894c232f25bd62df78
+size 1084
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin
index 54ecfeb8e..40a333060 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:02ed2d7311d1dd8a9973ef5e333c2cbb2287ef33d19cc6b75b972a76c078cf65
-size 939
+oid sha256:b7f432b4354554e54b2b7cf35621a51eb85261b0b48ded8a98c87474faaa50b4
+size 1131
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin
index a4ed6e8d1..5ae1ccd19 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b3f18fea3b470c012c6b85bed14f6902872f63defd27309498945c2d1aa1aa71
-size 853
+oid sha256:9557ddd746b50e2e05e3af9ddb86d33f0f4cd4ccd8bef1dd389c97ade6f4b91a
+size 1045
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
index dd5def07d..7fb8e9a14 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:610b4a2f877d463be79cbe0e879fe092c2374b99b7365878c4f41e2da14025be
-size 846
+oid sha256:89d5ad4ce55c1ee4ef9479db01069badd6da9a49b76540a25eb635b2d3473966
+size 1038
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
index 5fed507bb..d4923e9a5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6ff25fa522f8454386a9d95553b914ccd0ef3df5091430993904282b86f608cb
-size 846
+oid sha256:92fd89dc2aad977330b0619823fac3c7048b1d97fa69004d16c5daeec6f0abc4
+size 1038
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
index 0137e0a86..d6a091c3f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a57929919341c072920b4863d43dddc8c45791b5f7806e5fe3e4d61cf472bc85
-size 908
+oid sha256:2313becaef73e5ed33599de33b8ca9af9d72e86ec8798b36c24010c5206000a8
+size 1100
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin
index d2fd356d5..f4ebe7526 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4e785a47a5a86c3ce3b81393c5c43de76348c7e378148e9d787d6a2db896827a
-size 885
+oid sha256:ea2310b83f57b7a83309a0908e2ddae11eed3967cdd1f409a6ef3baaf8e0939b
+size 1077
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin
index 85418c281..6ceafad49 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:dbe3538e3dd6dc2d20f6e1eea79806b155d94ae990e199e2461f3a8dc0695ad8
-size 1022
+oid sha256:570794aab6db4ce525347b99d5775c984bab5bcf4ad594cc5732ae47bdda6378
+size 1214
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin
index c92bca8de..6e7e1c0f3 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cdfaffcc12699dc67f67d22869c5b28823ea99a60569c1d781d96f8607c39793
-size 853
+oid sha256:3507cb051a6c5b703d63ed65549587fde761d0d522da15838f49111f3bc28d55
+size 1045
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
index 7ff8f8f63..b86bdde02 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2b0f468c25b89711942c94f876b7c5d3b3a805e255b1b27b67c7f9b307bdaed3
-size 888
+oid sha256:b76bef4948453dd2d17f8a6d1671b759dad20023ea31e0bf9aa35ff88d983a13
+size 1080
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin
index d2c2752a0..14e149de8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:65f80d66d63314fa4a87dfe3ff13e30a1d0ff5a978eef9fe6663feedebc41019
-size 888
+oid sha256:cca351a65f0502727999c0ceab439f28dc4d94108b2e59ed85a54e7c095076e1
+size 1080
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin
deleted file mode 100644
index d3f56394f..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:274f316e589af69601de1ec5c3a5e06f2d3a78942b26474031c2a5879a9df64c
-size 215
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin
index 886e6288f..e35483954 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b6088a9dcf3bd646cacdb15ee2988034b88a5b705aeec8129cea37181eebedb5
-size 209
+oid sha256:b00bb82a4991d3d41720a6890a3f56c481a337d8fa4bac5e06ca8f654a666931
+size 277
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin
index 6bef637b5..f3847aa6a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:15833dcafbd0eb537af1778fbc67272b54e9822228954cd5b30f65595132ecb7
-size 881
+oid sha256:a600cc4489502d2909c4542d2ac3240106d0ddf6ede43588f573cf9e11726749
+size 1073
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin
index 21c147fb6..1dc126b14 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:644e92a872fc3fb447f96797cc650b3b4aee66dae89a41bbb0fd365e751a51be
-size 929
+oid sha256:e51ef5ceb2e67e3f28a71ac406b7b954971793218cf087a6b21980d2645c5beb
+size 1121
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin
index 4210328a2..db0d9cb1f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c50e7c84eb5365daf3027b87f0df1eab4bcf02b38139942ec6995ebb286ccdd9
-size 886
+oid sha256:b4c30dde390dbaf394054a565d10cb6ce15d503ff5af19ddf2804f6ae0facdd0
+size 1078
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin
index e41c1fb0d..46f1fbd37 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:12363ee96cc40dbd2583a5d01f50f5c4fafd57cd9afdd167d9aff32023e036dd
-size 876
+oid sha256:bf42c45bcf958ab7ff58983cc1e7e27cb6f7f42f181b1eb3bdcde8249ada8727
+size 1068
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin
index 9bcfb9d2d..ef53ab80f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f338986ada7267c670a79cdcd6d73a5e05561fc4785b3c7e9ecd4dc54413dd6e
-size 839
+oid sha256:a47e473a0f9ecb337e83df02cad7988a591c785ee5070e40a7808e14f9a758e8
+size 1031
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin
index 2a3977ac2..e4911bf16 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2e9da0c1375d14ea6a7e87fdc2b50d694a9e664d4256a899a67eca21152a2cdd
-size 904
+oid sha256:4654728d937fa4bd660d9cea86dbbf3255a10d8e26c18192fe0af843c9071423
+size 1096
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin
index 99889f73b..3a1c45b68 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a69321b1bb53845f1371cb226c951b0188e3837762b51f6c544352bec27c4f0f
-size 921
+oid sha256:f9de3e3523fc314885db67856e7bc991b5d30e4deac24987b8ea1e4f2197e6b9
+size 1113
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin
index acfc209ed..8f595449c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:db5a4d106360bc3e2988164a58233d85434ea704f8ba26038eb21c865f696eb0
-size 867
+oid sha256:1b8f38c414a3e2d36b9b7a0e6dae6e918a459cc059a1cdf88eb9dd41fad8fc74
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin
index 8a181f0c9..463d918be 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b1ab99ab6a72cac79f590e76f3892a25292c61267636c53746115317cc6e56d2
-size 867
+oid sha256:909afda0251ea941a133029a04dfcbd9a11a3c97e252766cdfa800236828e0d8
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin
index cc2a9982e..cd99bee1d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6393d40f55a9150a81325961f40f2826aa157758f1b143a2fb9bd49f315c07e2
-size 867
+oid sha256:3a509e8d871655509eb36cb4063ed6c1d0d291f08dde00a91d2d55a524695b78
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin
deleted file mode 100644
index 2e92a175c..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dba1c71ec461ed664e404f650c7be341d981da3da0592ed53a37cbedf051abe2
-size 877
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin
index 29844aa9a..7bc6914de 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:790370fd2eccf5334bcd29231f55bea5aca19b7a6f168a2944efa562dc4570bc
-size 851
+oid sha256:5e2602ee8766acd9372a95acb251a499c428ae3c9194702d73cb1ccb5d401dfb
+size 1043
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin
index f54818d24..2630722e8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:74493bae7b833781d0286ca1bc8bda7f2c9e8a28565f11906df5a76241061d7f
-size 894
+oid sha256:b30a2d20fb44e1b18854256c07f9dbc53868c2859bfe550e0adee72073b171b2
+size 1086
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin
index ef8d5548b..c65030587 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3617a2afa91c199f403487d4e21af86cfb070ca789d777033114d12cb11296cd
-size 867
+oid sha256:fc743f3f64b00584fe581caf8ba4c9645eb4c155b7645a882a596e7a0042305d
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin
index 3fc08b46a..a2649c658 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:70b7dc5ee336a42c79f37a04a81d90dd4e6646f2a157a08ca2e5169bf5851c4e
-size 867
+oid sha256:48c40469781510eced1657f5437699f7fc6ab4c0b0569692ad92ec7dd3eeeab2
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin
index 0da254df9..2fe1634c3 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a0ea5d00b37b14c3e66085d178ac836f1deca29fc6b4f330aa9c0e4da0179f51
-size 867
+oid sha256:166a3853eeb4f821b84a4b310043ce478f1b75874f4205b4f43fa245ee7ebf2c
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin
index 40a5784cb..f7cd21134 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e
-size 867
+oid sha256:d9419051879b9e4bfa57067d92640a42db30954b7fcf874df8f79e1856a46393
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin
index b8bdf5cc0..35e7ec378 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1c0775bbc89659643b4a32490db3400029b5008dd14013c385e4a310521616ed
-size 867
+oid sha256:01909aca6779d6fb1c1ef7aa2c0f6400eec41460b76cd76bafcd7b279bd3ffc8
+size 1059
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin
index 648c4805f..0e116c3db 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a3bed2b06ef49b09f7b4dbf0c5927add5194e3551da21899a6bd0ecc1fadb7d2
+oid sha256:f4982ae6d9d2aa2a7d9d080be0620bb80bfe29f0d76d724da8e2b808890e6734
size 939
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin
index 0c221cce2..ffc691401 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:96dde9ab9521a7d06c8bdc7d2e003cd745a755dcffb688ecb222cccda87e4a3c
+oid sha256:c58388e71a115b3b28652b958aaac05289a78b8181580b70c8ebd7a675de4db8
size 934
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin
index b8b365e7f..0f5681939 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9e251d6650f1dff13cc7e513a936c5dfc7091dd2656bea006cd344237ed12762
-size 892
+oid sha256:9190b53ef56c8eb20ce94594d529b2a1ef25503860a5d20570360f6927528602
+size 932
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin
index 41a5c9e1e..734251a4b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:481f42aebab4fb54c0398fb417b9d4f9d8059c1e931ce3294f59e06c1624adff
+oid sha256:a66d082a202629c9c4a98e452582f0988e202d443c48c66100f9660c79a524f9
size 886
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin
index 70d349ec6..20ef30e0d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c11ce182b2d2fae1967039a0ced8f9f8358ba967be1cf8a0fe580f2c3d393365
+oid sha256:1f7c1380e38b4f1965ddb9087e6a83e6e2fa2d86136714232458bb2c4e7ed3a0
size 894
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin
index 058e4cac6..d34126951 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:63afaa4a012202c62b96de055c71a47540f2fe0724066b43daa037b80149d948
+oid sha256:4deba93f7fb49ab2d5df6e734f7d99a2c5f21450e1f0620193e51f7d29220029
size 894
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin
index e8a11edac..84b0c291c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fb13d5e52f6b67711dc45e0a8e9dfb3493191286225295f821990c111465ab11
+oid sha256:beac4799d65bf6bd4ef9bd51f2a1ed47bc14c518b783ee67e6c21baffbdc81e6
size 886
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin
index c6bdbeeb7..7777c6564 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b3b5077077db59e5b1e24148cb7acba8468967acf431105d58ccda2207bf8a25
+oid sha256:71b384e2acbc8589fa6cab5dd4be75c9d6bacd5762cf6626accb8b0c26618181
size 886
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin
index 54ffa3062..07ecf1320 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:42850d82db4cf833592a3e51c8e7d4f2989023750fc5b63e1635be54639e3ec9
+oid sha256:0d386c4e1bd5d71349a425e125c4192b3f1d0468bbb5a6e836248ab4e930a526
size 991
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin
index 7dc32c452..fd383ae0c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f762a0a06673f7e077ef28d7d70de5e048be67a642a1aa0614784bb6b41a879d
+oid sha256:e661cf40073840d2c3342f58b3933a08f445811cfa8775f29ca49467d944d0dd
size 989
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin
index 4815e7c21..2cae4b52c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1f06d345e92b33243f7174140081bef89062febd0582f68028062fae819baec8
+oid sha256:fa34ce3f1dcd6e07a2f88cde9a505f5b62c5e8ef264d69a04df5cf1363473ea0
size 890
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin
index 0c244cde5..1d63bec70 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a54751bd8a94c49eacb3f9b5afc138c5a8071181b858391503836cbef919c5be
+oid sha256:7d2d0bca1f174f149ed0c785fc77bc8952f0552f118b36d65d81863daca82d26
size 852
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin
index cc9e25210..b50a4a758 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:aa5377d551bf700d292b614acc1458be91daf1717076655859d7ccad7909c2b4
+oid sha256:9890c29b54063e2ef8ebd7a980a4f09a13edbd8e721a906445b16fd2b85f7506
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin
index a29e4ac2d..bd240e141 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:11160e4b0edc9cca952b9f68eaf231c076425a1e7dd1b86195915f8a838180de
+oid sha256:6f0ae27a66e2198210a2fd3a30b32ccd2f2c1d322a166185f760b8bb953aa4de
size 888
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin
index 5870fe8e6..1b224a281 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:89a1a4370aa456bf9aac89cdcc574476416552b8435e0fce7d95f57dd3b76534
+oid sha256:f1d5850e1f6c81c3506a1ce74f39467ba740d98f2e04e165b83ddac638174ad8
size 897
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin
index d192aecc0..3842e2d15 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2003105ed4b907096ecd7fc2cada5b139e8751a9023e05fdfec28db703597b0f
+oid sha256:1e688761cd2c913c58ad2171c8569a40e2f13c4c5f73840e3a5a0a260069f1c3
size 904
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin
index cc813724c..9063576a6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:53e8fbee4763ad56483bdb08946831685f9074de65a323e5dad77268aac01e60
+oid sha256:0d3cbde0a391f9961fad37ce5b2a0396db836805b2b578909606acb92ac2e176
size 890
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin
index 424b432ed..f84b636a6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2761dfc3b5917af0df5c1b434e75491913c66cad7588414eb6184da79699773e
+oid sha256:b1c388e0699f2433b62d22280c5ac5cce9094135747f7ce97422f12ef8f5a36d
size 893
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin
index 76520ec14..fd1e2b836 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:827635b88486f686140dcc3cd9806ec133572665a415ddc6aa1b3353025f8210
+oid sha256:8db24ad8c49b3753b25ba0bc241eee35c9ed11d7146e1aaf55f2e49f3b3ae7c0
size 835
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin
index b486265dc..41d9a41e8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:23722d536422fdf289e890409e0458d3cf406f09180a281926f91f9ff40d3b5c
+oid sha256:ffa3be24968023fec2a03a0b8652fe86681a898767754b5225ccd1f859f5fa70
size 844
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin
index 928478520..582ca1705 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf55e46332043b2da88f0f74e016f7620bd3c7c7f72a8f9051f548fbbeafeb9a
+oid sha256:3899a259f6b6c3abc07c7f0a29c37f9002f5f4d1242d310a6bbb80a522272141
size 850
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin
index 2e1154439..bb1c069ff 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:df644319a74c442c891041eefeb5e8a8a957bb44668416cf7498988ea9b30db9
+oid sha256:8e19e2c6faa0e308d3cb34d74e1cdf859bed9d6e3782a738928b49a051d31c3e
size 987
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin
index a62c4f494..a8ddfaad5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a5494fa641c84396110a9a1e80b06c33b5e292f233f34d4964cd7f46f1c02b06
+oid sha256:7b748cd2ce1cd65dd20995dab60f9c55b9923087964fcef3f22a223a48b5edd9
size 888
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin
index 2c19dc8c1..bdfb1f400 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e4cec5cefcfa83e8b4193509ba6de1a7816524dbfb0bd4f26999d03228410d5a
+oid sha256:e99dbf52bb2e97dcac555f8a371e56f8ffe6dd70e6c02ab5721999c1a9b6430f
size 851
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin
index bb17c3210..5cb1c3d4f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:74cd6db16d07cb12705871d06bec380e67699fa829d25206ed86ce080cdca0c2
+oid sha256:0962d8ab8438b933b88e47cf067643d17859ac1b3d891025004ac3e3573edd4f
size 927
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin
index e88803ae7..22d4200d9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:98a442fe6a39e41c4ecf533bd8a224f4631d3d7a236e9696cd165d3927fcfd04
-size 841
+oid sha256:1a7f630df6cbb75e1b9c8f6bc2574a88d769ddf70aae5196e05bf66f8216fb1e
+size 901
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin
index cd0821320..29f8faaac 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:37d98d035bde4fa313f6ab3f28e4a12f3e300d64b572f72e2784c6be99c58184
+oid sha256:745584fb88e30df42ac5cc770fffcdbd8f9b4556f186041e380ffbaa44e91d6b
size 851
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin
index ff3ed805e..8f1c3ae27 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:866c3598f3dcf69c06b6eb415a294b54da59340f23885f1f713879af9f851ad6
+oid sha256:31fa1d18c1f11e3c09f2b5510a7c5ac5eaae0f5637cde050b3ee8356a40a332d
size 936
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin
index b6feb04a2..c64aa5ac1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7154110fc59c28f63127691a101b416bc7b6a66b2c45df3f8beee3a11c8e015e
+oid sha256:279647ef118bfd585aa4179522fd3dca04889a5d95e70a87c79e9d9e964e7c75
size 854
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail
index 7317469cb..337154657 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin
index efb21335b..40a5784cb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:99d0c452ff523938f930d9bdeb401be7246f0e0bf68e33e57af40da86fd9d6ae
+oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin
index 4ccade52d..5b98f1b7d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b8a428576119c1b069415537544963fd87baac6bb9ea3542b40a661bebe456cf
+oid sha256:3ed3b5aecebeafaeddeeef8f537569a5781b086b461639134bc4accb47dc3288
size 857
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin
index 0ae8a5a6b..8570b8900 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:365f473dacad97bc673a6177441980c3f30cba563db43dbc5b1cf350054be395
+oid sha256:2d43f892f944e930e63cf0819ea01afa1790b837078e153c5871f00157d43469
size 853
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin
index 5d34d3aa1..e73bb8f57 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:75e11e8734c60e7a033b6109e030c22ac5f4bbdf8bef218c155f0168cc7599d7
+oid sha256:116419f8af98d28995fff998bbaa3e5a903a6510015d8c3642c1634e54ebd395
size 892
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin
index b27cf4dc3..54ecfeb8e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4bddeb46fdc0aa29e830f2e55caf979ab1260d4c87d3b87eb7f4ba1b912ca6b3
+oid sha256:02ed2d7311d1dd8a9973ef5e333c2cbb2287ef33d19cc6b75b972a76c078cf65
size 939
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin
index fa43fa4f0..5ad33e90e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:75847fb41b6a2eea91f0191132371d2361aacf88ae7ad76977e3e2fbe7daee47
+oid sha256:38b152f73ab32e387b58c6f23705f1abff12e4765e6a9ce937b9e76e4fba99f5
size 853
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin
index a29edf398..dd5def07d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cc338064550f039aff45187d665c60e37cab57bdb986283508620b6088344326
+oid sha256:610b4a2f877d463be79cbe0e879fe092c2374b99b7365878c4f41e2da14025be
size 846
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin
index d95c88834..5fed507bb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1f58a2779531da998d45844266496fb65ecafe27f204b2404a0fa490cc2f80ae
+oid sha256:6ff25fa522f8454386a9d95553b914ccd0ef3df5091430993904282b86f608cb
size 846
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin
index 73351ba9c..c613184b7 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7f546ba755bf1b14d98b6afa3ff82e9850939d9162765558785558adfabdd55c
+oid sha256:08f7acdcdf7cfdd03ca2596fedc1b55ad8db73a686613968fc5502028ab59b5c
size 908
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin
index cd0c1c7b7..d2fd356d5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6234b7dc505e9affe10add215091ee37fe0fff3f48c20cdfd4f9147ec3bfddfc
+oid sha256:4e785a47a5a86c3ce3b81393c5c43de76348c7e378148e9d787d6a2db896827a
size 885
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin
index 0a3c60810..e3e05a471 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:950176215bdac99585a8c8ac27513896f917f39d0cce8b1c4910dc611e2a1f51
+oid sha256:0fe68f2e36ea2fb505e171db1938cf205e82448c68912c334121be6f7ac78ff9
size 1022
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin
index c8cd8af1b..c92bca8de 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:20d45a87e080237af7768c9efa2bfcd008264fd1c982dce56de64ac4ab267806
-size 867
+oid sha256:cdfaffcc12699dc67f67d22869c5b28823ea99a60569c1d781d96f8607c39793
+size 853
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin
index b411df6b0..5f9bd62ad 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a8cd98241e6ed7710e6c94be4288380f5b3582a68cafa46fb4140d36225c16ab
+oid sha256:412c7c484ca1fa91336e3c5b52f4f68dbab8cdffee689c438bbb455b9487c7be
size 888
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin
index 047c88312..d2c2752a0 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ef304de9bd29c370c8913990795ce36b52015f60383bc1dc67fe956c3aa04669
+oid sha256:65f80d66d63314fa4a87dfe3ff13e30a1d0ff5a978eef9fe6663feedebc41019
size 888
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin
index 886e6288f..e35483954 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b6088a9dcf3bd646cacdb15ee2988034b88a5b705aeec8129cea37181eebedb5
-size 209
+oid sha256:b00bb82a4991d3d41720a6890a3f56c481a337d8fa4bac5e06ca8f654a666931
+size 277
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin
index ec43553c4..6bef637b5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ef55aaa0fdc935451e45f7da63e2151fde3a7101d15272a70d0d321bc6bc3bd0
+oid sha256:15833dcafbd0eb537af1778fbc67272b54e9822228954cd5b30f65595132ecb7
size 881
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin
index b223f7dab..21c147fb6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:afcdad5afe65cae81f622006e26fe9d3f4d6efba14cda100c946d2dd9117f185
+oid sha256:644e92a872fc3fb447f96797cc650b3b4aee66dae89a41bbb0fd365e751a51be
size 929
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin
index a859c20dc..4210328a2 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8781d89f88cc91b41a69943b1fb356f108979b6b5cecd21bf9e33c72fba50b49
+oid sha256:c50e7c84eb5365daf3027b87f0df1eab4bcf02b38139942ec6995ebb286ccdd9
size 886
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin
index ca2c359cf..e41c1fb0d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d7151cc27d6c1e91208bfb2ad06c59b454473ba8b95e998df16154755a3f93d2
+oid sha256:12363ee96cc40dbd2583a5d01f50f5c4fafd57cd9afdd167d9aff32023e036dd
size 876
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin
index d6baa7e2a..9bcfb9d2d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7f7f214d6baccfa885eae74371c77ff387788b25303dcab97f3e066cd8297292
+oid sha256:f338986ada7267c670a79cdcd6d73a5e05561fc4785b3c7e9ecd4dc54413dd6e
size 839
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin
index 3eee1a32d..2a3977ac2 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a9d98ee731a134a8e63dbf0fbf71c51d3b4e953c56f0bb29cee99f404212e71c
+oid sha256:2e9da0c1375d14ea6a7e87fdc2b50d694a9e664d4256a899a67eca21152a2cdd
size 904
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin
index 6594176a7..99889f73b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2ae29120bf3fa3ff0a8b046d9780469eed58072fdc5e9ef6414efa29c78ef9e6
+oid sha256:a69321b1bb53845f1371cb226c951b0188e3837762b51f6c544352bec27c4f0f
size 921
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin
index 07fe64d72..acfc209ed 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f559dae3ec7dd4b09a6dc6bb36679675f9a85de3717a3e838c07882042e5d7ed
+oid sha256:db5a4d106360bc3e2988164a58233d85434ea704f8ba26038eb21c865f696eb0
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin
index 60f736a68..8a181f0c9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9c9ded88d15c8f30df4ec6902f6e7e6958f854abfb75a11fa96c9811d6fe9030
+oid sha256:b1ab99ab6a72cac79f590e76f3892a25292c61267636c53746115317cc6e56d2
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin
index bb6fe87ce..cc2a9982e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2c8e1dabde157cd3c66883b33abdce1d8ad56a78c05d48ebca521a8d75e41e06
+oid sha256:6393d40f55a9150a81325961f40f2826aa157758f1b143a2fb9bd49f315c07e2
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin
deleted file mode 100644
index 7a4caa62e..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d2450d2e39e80e4c256a360e3e3bc7de99f8c3d7caa537384f34f6abd825d4f2
-size 849
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin
index 96ae5b7f2..29844aa9a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f2ab30832be2d0139ac2b9d4dc44d79d49b3d58e07fe2b50cf7fe475eb4c7e7a
+oid sha256:790370fd2eccf5334bcd29231f55bea5aca19b7a6f168a2944efa562dc4570bc
size 851
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin
index 8fab88bf8..f54818d24 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:039300ca6048836a37b4f76497599d2d36ab74e40c50e660d72cdeddf5ace1e4
+oid sha256:74493bae7b833781d0286ca1bc8bda7f2c9e8a28565f11906df5a76241061d7f
size 894
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin
index 3161917de..ef8d5548b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ecd4eb0156ff2ba3c535e10f0765c150d5a6391552d3b0995d4a5c55208448ce
+oid sha256:3617a2afa91c199f403487d4e21af86cfb070ca789d777033114d12cb11296cd
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin
index 035aaa208..3fc08b46a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ea59c900924414e9335eea8c0bab76568457414b1b93d197b1c5f8fbba8efa6c
+oid sha256:70b7dc5ee336a42c79f37a04a81d90dd4e6646f2a157a08ca2e5169bf5851c4e
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin
index 731622d77..0da254df9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e4d55c6250744fea5b4d553ece9ebf7a11557b976e3dd3f9461b44259a680645
+oid sha256:a0ea5d00b37b14c3e66085d178ac836f1deca29fc6b4f330aa9c0e4da0179f51
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin
index 18e7de0dc..40a5784cb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:35d020e1b4c81b2895d56b9a7a934fbe585bf9695f1869fde0c1d5e443139c05
+oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e
size 867
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png
new file mode 100644
index 000000000..fe65c5b6a
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin
new file mode 100644
index 000000000..3c7eb17d9
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9b625ea2894a3db68ba5c5cacd361a3e5b04820240aa64b297a8c7b8cd7a28b
+size 395780
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png
new file mode 100644
index 000000000..93ce9dfc9
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png
new file mode 100644
index 000000000..085134d97
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
new file mode 100644
index 000000000..7b45bee9a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin
new file mode 100644
index 000000000..b3a21c232
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:02496cf5e32cb9f9ed484c996d0ff202c97e3fc3a0dffd5b22c2bb12b64490f9
+size 19494
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx
new file mode 100644
index 000000000..504e7065c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71fd1de97bcf1219b8fc5adef6b9257556fe28dc7c85880b272a06e59de71c7f
+size 21948
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt
deleted file mode 100644
index b08b9cb84..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Materials[2] =
-{
- Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
-}
-SourceModels[0] = {}
-StaticMaterials[2] =
-{
- StaticMaterials[0] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- MaterialSlotName = constant
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 51.2115, 0, 0, 0 }
- }
- }
- StaticMaterials[1] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
- MaterialSlotName = default_material
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 59.5543, 0, 0, 0 }
- }
- }
-}
-Sockets[0] = {}
-ExtendedBounds =
-{
- Origin = { X=-0.0218182, Y=0.0875816, Z=-9.53674e-07 }
- BoxExtent = { X=14.4636, Y=9.28013, Z=12.4679 }
- SphereRadius = 17.7629
-}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx
deleted file mode 100644
index 25553b73d..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin
new file mode 100644
index 000000000..2fc7855d9
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:354da7a24ac5dfd36a56767bd41680992b6c722a11e0d882842985eb052faeb4
+size 21562
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx
new file mode 100644
index 000000000..90f3aa190
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2a50fd69592f29c946325f107782ca12ec1d4447151e7f18a777c8d417cd67da
+size 23004
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt
deleted file mode 100644
index 4c6d550f7..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Materials[2] =
-{
- Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
-}
-SourceModels[0] = {}
-StaticMaterials[2] =
-{
- StaticMaterials[0] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- MaterialSlotName = constant
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 49.676, 0, 0, 0 }
- }
- }
- StaticMaterials[1] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
- MaterialSlotName = default_material
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 59.5587, 0, 0, 0 }
- }
- }
-}
-Sockets[0] = {}
-ExtendedBounds =
-{
- Origin = { X=-9.53674e-07, Y=0, Z=-0.138607 }
- BoxExtent = { X=10.5868, Y=21.5313, Z=12.3241 }
- SphereRadius = 26.4292
-}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx
deleted file mode 100644
index d4ea3f518..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin
new file mode 100644
index 000000000..ec86ada6c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7550ffe21999195a405c65a1bfc4ab62832ec2ec2d5d5c10d528c20e9b0a16c6
+size 27426
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx
new file mode 100644
index 000000000..17f1ab7a0
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e2cb10b00133b89b2d6f8868121868ed2ba8cbec72dc2df0c86021720aff257
+size 24412
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt
deleted file mode 100644
index 18b4d49d7..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Materials[2] =
-{
- Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
-}
-SourceModels[0] = {}
-StaticMaterials[2] =
-{
- StaticMaterials[0] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- MaterialSlotName = constant
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 51.2662, 0, 0, 0 }
- }
- }
- StaticMaterials[1] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
- MaterialSlotName = default_material
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 59.6151, 0, 0, 0 }
- }
- }
-}
-Sockets[0] = {}
-ExtendedBounds =
-{
- Origin = { X=0, Y=-5.72205e-06, Z=0.0365715 }
- BoxExtent = { X=14.9456, Y=15.8451, Z=15.9268 }
- SphereRadius = 24.9805
-}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx
deleted file mode 100644
index 7edf98a8e..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin
new file mode 100644
index 000000000..67a76c807
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5eaf372ee473781f3e37b100b9acaed74e59a8e728fb4e37976db4b6b90d5cda
+size 42090
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx
new file mode 100644
index 000000000..3c2528757
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d25e312214121fe85e9f87c0024779bded3c26940d6d4f6a9bc1db6842a80ac
+size 28956
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt
deleted file mode 100644
index ae8bd4e82..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Materials[2] =
-{
- Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
-}
-SourceModels[0] = {}
-StaticMaterials[2] =
-{
- StaticMaterials[0] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight'
- MaterialSlotName = constant
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 50.2156, 0, 0, 0 }
- }
- }
- StaticMaterials[1] =
- {
- MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock'
- MaterialSlotName = default_material
- UVChannelData =
- {
- bInitialized = true
- bOverrideDensities = false
- LocalUVDensities[4] = { 59.5161, 0, 0, 0 }
- }
- }
-}
-Sockets[0] = {}
-ExtendedBounds =
-{
- Origin = { X=0, Y=-1.90735e-06, Z=0 }
- BoxExtent = { X=18.8974, Y=28.9561, Z=19.3048 }
- SphereRadius = 39.601
-}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx
deleted file mode 100644
index 485a00ffc..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin
new file mode 100644
index 000000000..b16732e49
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbb53146de216f14bdfcefa68e522e6f00e71116ff4e19c6c7a45531ca997ee6
+size 32128
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx
new file mode 100644
index 000000000..7358ce5fb
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:67820540580f893ab30cc922cb67968838a51df95b4a823cdabf1790d336431e
+size 25788
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx
deleted file mode 100644
index 0d2a104df..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin
new file mode 100644
index 000000000..ec54ced95
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d6c6b8e0c6b7cc2470c25e46ce160f3be612801ac22807e4052e6abdb6a52477
+size 94853
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx
new file mode 100644
index 000000000..9ebabf9d4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cfd53f90e6c9236743b72f330a11a015acc862cb0784567259207bedf91237ea
+size 38044
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin
new file mode 100644
index 000000000..873bc90f4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:637c6d30f056b0927e6a73965d91e108fd0624d7714ddffe5b7b041eb611dfd1
+size 170244
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx
new file mode 100644
index 000000000..d91b0cfc9
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:09b637b3fcd96f187c0a479a40c62cafd6acc0aa68a3f031e46dde223367f89d
+size 49500
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png
new file mode 100644
index 000000000..074367998
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png
new file mode 100644
index 000000000..8e0134248
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png
new file mode 100644
index 000000000..647bcb1b9
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png
new file mode 100644
index 000000000..1beb77836
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png
new file mode 100644
index 000000000..7e025a3aa
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png
new file mode 100644
index 000000000..8def3eda1
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds
new file mode 100644
index 000000000..60e6e5097
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds
new file mode 100644
index 000000000..37505f9c3
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds
new file mode 100644
index 000000000..0cb0e37c5
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds
new file mode 100644
index 000000000..b5b69ff96
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds
new file mode 100644
index 000000000..c25699441
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds
new file mode 100644
index 000000000..1ff79279b
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds
new file mode 100644
index 000000000..090b09b92
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.fbx
new file mode 100644
index 000000000..b54f244d7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3f2e069a3ea89e68f5658fc88633e5c9032f7c14eeb632357d83e989da32024
+size 113708
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.xml
new file mode 100644
index 000000000..aa4a724b3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_Cav_Spid_ThickWeb_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_Cav_Spid_ThickWeb_N.dds
new file mode 100644
index 000000000..4a77ba948
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_Cav_Spid_ThickWeb_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_Corruption_A.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_Corruption_A.dds
new file mode 100644
index 000000000..f49b8e9ae
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_Corruption_A.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_D.dds
new file mode 100644
index 000000000..78e684913
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_E.dds
new file mode 100644
index 000000000..817d91163
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_E.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_MRO.dds
new file mode 100644
index 000000000..4c5372e76
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_MRO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_N.dds
new file mode 100644
index 000000000..d584fa15c
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/SubTroll_Weapon/T_WPN_Troll_Club07_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
index be4a346f6..c0ce8251b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
@@ -1,4 +1,5 @@
#include "Engine_Shader_Functions.hlsli"
+#include "Engine_Shader_Defines.hlsli"
struct Particle
{
@@ -41,13 +42,18 @@ struct ParticleValue
float fSizeDrag;
float3 vDeltaSize;
float2 vDelay;
-
+
+ bool isCompareStop;
+ float fCollisionTime;
+ float fDropAttenuation;
};
StructuredBuffer g_ParticleBufferInput : register(t0);
StructuredBuffer g_ParticleValueBufferInput : register(t1);
+Texture2D g_DepthTexture : register(t2);
+
RWStructuredBuffer g_VBInstanceOutput : register(u0);
RWStructuredBuffer g_ParticleValueOutput : register(u1);
@@ -66,14 +72,23 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐
bool isSizeMove;
bool isNoWorld;
- bool isPadding0;
+ bool isDetphCompareStop;
bool isPadding1;
bool isPadding2;
float fTimeDelta;
float fSizeLerpOption; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
float fMoveLerpOption;
- float fPadding3;
+ float fFar;
+
+ row_major matrix ViewMatrix;
+ row_major matrix ProjMatrix;
+
+ float2 vScreenSize;
+ float fPadding0;
+ float fPadding1;
+
+
}
//내가 몇개의 스레드를 사용할 것인지 지정하는데
@@ -84,16 +99,20 @@ void CS_MAIN(
{
int iIndex = DispatchThreadID.x; // 배열 인덱스
+
+
Particle particle = g_ParticleBufferInput[iIndex];
ParticleValue particleValue = g_ParticleValueBufferInput[iIndex];
+
+ float fGravity = particleValue.fGravity;
+ float fOnlyDropY = 0.f;
particleValue.vDelay.x += fTimeDelta;
if (particleValue.vDelay.x < particleValue.vDelay.y)
{
-
-
+
g_VBInstanceOutput[iIndex] = particle;
g_ParticleValueOutput[iIndex] = particleValue;
@@ -119,6 +138,10 @@ void CS_MAIN(
// 라이프타임 움직임
particle.vLifeTime.x += fTimeDelta;
+
+ /* 내 z가 가려지는 상황이었다면 연산하지않음*/
+
+
if (particle.vLifeTime.x >= particle.vLifeTime.y)
{
if (isLoop == false)
@@ -134,15 +157,37 @@ void CS_MAIN(
particle.vLifeTime.x = 0.f;
particleValue.vAniIndex.x = 0.f;
particleValue.vDelay.x = 0.f;
-
-
+ particleValue.isCompareStop = false;
+ particleValue.fCollisionTime = 0.f;
g_VBInstanceOutput[iIndex] = particle;
g_ParticleValueOutput[iIndex] = particleValue;
return ;
}
-
+
+
+ if (isDrop == true)
+ {
+ if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때
+ {
+ // 내 현재 시간의 비례
+ // 0.0 ~ 3
+
+ // 2초에 부딧혓으면
+ // 2 - 2 / 3 - 2
+ // 0 ~ 1 cos(0) * - 1
+
+ float fRatio = saturate((particle.vLifeTime.x - particleValue.fCollisionTime) / (particle.vLifeTime.y - particleValue.fCollisionTime));
+
+ fGravity *= (2.f * fRatio - 1.f) / particleValue.fDropAttenuation;
+ }
+
+ particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * fGravity;
+ fOnlyDropY = particle.vTranslation.y;
+ }
+
+
if (isMoveForward)
{
@@ -179,12 +224,7 @@ void CS_MAIN(
particle.vTranslation += vVelocity * fTimeDelta * fDrag;
}
-
- if (isDrop == true)
- {
- particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * particleValue.fGravity;
- }
-
+
/* 사인 웨이브 */
if(isSinWave == true)
{
@@ -232,6 +272,51 @@ void CS_MAIN(
particle.vLook = CurRotatemat[2].xyzw;
+ }
+
+ if (isDetphCompareStop)
+ {
+ float2 vTexcoord;
+
+ float4x4 matW, matWV, matWVP;
+
+ row_major float4x4 TransformMatrix = float4x4(particle.vRight, particle.vUp, particle.vLook, particle.vTranslation);
+
+ matW = mul(TransformMatrix, WorldMatrix);
+ matWV = mul(matW, ViewMatrix);
+ matWVP = mul(matWV, ProjMatrix);
+
+ float4 vProjPos = mul(WorldMatrix[3], matWVP);
+
+ vTexcoord.x = vProjPos.x / vProjPos.w * 0.5f + 0.5f;
+ vTexcoord.y = vProjPos.y / vProjPos.w * -0.5f + 0.5f;
+
+ uint2 vPixelUV;
+
+ /* 스크린 좌표로 변환 */
+ vPixelUV.x = vTexcoord.x * vScreenSize.x;
+ vPixelUV.y = vTexcoord.y * vScreenSize.y;
+
+ float4 vDepthDesc = g_DepthTexture.Load(int3(vPixelUV, 0));
+
+ float fOldViewZ = vDepthDesc.y * fFar;
+
+ if (vProjPos.w >= fOldViewZ)
+ {
+ if (particleValue.isCompareStop == false)
+ {
+ particleValue.isCompareStop = true; // 내가 지면에 사라지는 순간
+ particleValue.fCollisionTime = particle.vLifeTime.x;
+
+ }
+ }
+
+ if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때
+ {
+ particle.vTranslation.y = fOnlyDropY; // 지면에 부딪혓을때 이제 y연산은 오직 drop으로만 수행함
+ }
+
+
}
if (isSizeMove == true)
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
index 21c3264cc..71249a77c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
@@ -25,6 +25,8 @@ Texture2D g_THVTexture;
Texture2D g_SurfaceParamsTexture;
Texture2D g_TransmissionTexture;
Texture2D g_EmissiveTexture;
+Texture2D g_AmbientTexture;
+Texture2D g_AmbientOcclusionTexture;
bool g_bBinded_Texture[AI_TEXTURE_TYPE_MAX * 27];
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
index 3750acda3..ace4eb606 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
@@ -32,6 +32,8 @@ Texture2D g_THVTexture;
Texture2D g_SurfaceParamsTexture;
Texture2D g_TransmissionTexture;
Texture2D g_EmissiveTexture;
+Texture2D g_AmbientTexture;
+Texture2D g_AmbientOcclusionTexture;
bool g_bBinded_Texture[AI_TEXTURE_TYPE_MAX * 27];
@@ -41,9 +43,26 @@ Texture2D g_DisolveTexture;
Texture2D g_GlowTexture;
Texture2D g_GlassTexture;
+TextureCube g_CubeTexture;
+Texture2D g_NormalLargeTexture;
+Texture2D g_NormalSubTexture;
+
+float g_fNormalValue1;
+float g_fNormalValue2;
+float g_fNormalValue3;
+
+float g_fUVSpeed1;
+float g_fUVSpeed2;
+float g_fUVSpeed3;
+
float g_fBloomStrength;
float g_fGlassRatio;
+float g_fRefractionStrength;
+float g_fRefractionPow;
+float4 g_vDiffuseColor;
+float4 g_vSurfaceColor;
+
struct VS_IN
{
float3 vPosition : POSITION;
@@ -234,16 +253,16 @@ PS_OUT PS_MAIN(PS_IN In)
float4 vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
float4 vSurface = g_SurfaceParamsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
- if (AlmostEqual7(g_bBinded_Texture[AI_TEXTURE_TYPE_TRANSMISSION], true))
- {
- float4 vTransmission = g_TransmissionTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
- vMtrlDiffuse *= vTransmission;
- }
- if (AlmostEqual7(g_bBinded_Texture[AI_TEXTURE_TYPE_EMISSIVE], true))
- {
- float4 vEmissive = g_EmissiveTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
- vMtrlDiffuse += vEmissive;
- }
+ //if (AlmostEqual7(g_bBinded_Texture[AI_TEXTURE_TYPE_TRANSMISSION], true))
+ //{
+ // float4 vTransmission = g_TransmissionTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
+ // vMtrlDiffuse *= vTransmission;
+ //}
+ //if (AlmostEqual7(g_bBinded_Texture[AI_TEXTURE_TYPE_EMISSIVE], true))
+ //{
+ // float4 vEmissive = g_EmissiveTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord);
+ // vMtrlDiffuse += vEmissive;
+ //}
if (vMtrlDiffuse.a < 0.2f)
{
discard;
@@ -310,6 +329,8 @@ PS_OUT PS_GLASS(PS_IN In)
return Out;
}
+
+
struct PS_IN_SHADOW
{
float4 vPosition : SV_POSITION;
@@ -495,6 +516,47 @@ PS_OUT_CAPTUREDMODEL PS_CAPTUREDMODEL(PS_IN_CAPTUREDMODEL In)
Out.vColor.a = saturate(1 - g_LifeRatio) * 0.5f;
return Out;
}
+
+PS_OUT PS_LAKE(PS_IN In)
+{
+ PS_OUT Out;
+
+ float2 vUV = float2(In.vTexcoord.x, In.vTexcoord.y + g_fTime * g_fUVSpeed1) * g_fNormalValue1;
+ float2 vUVLarge = float2(In.vTexcoord.x, In.vTexcoord.y - g_fTime * g_fUVSpeed2) * g_fNormalValue2;
+ float2 vUVSub = float2(In.vTexcoord.x - g_fTime * g_fUVSpeed3, In.vTexcoord.y - g_fTime * g_fUVSpeed3) * g_fNormalValue3;
+
+ float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, vUV);
+ float3 vNormalLarge = DecodeNormalFromRG(g_NormalLargeTexture, AnisoTropy_BLUR_Sampler, vUVLarge);
+ float3 vNormalSub = DecodeNormalFromRG(g_NormalSubTexture, AnisoTropy_BLUR_Sampler, vUVSub);
+
+ vector vMtrlDiffuse = g_vDiffuseColor;
+ vector vSurface = g_vSurfaceColor;
+
+ float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal);
+
+ float3 vNormal = normalize(mul(normalize(vNormalDecoded + vNormalLarge + vNormalSub), WorldMatrix));
+
+ float3 vReflaction = reflect(normalize(In.vWorldPos.xyz - g_vCamPosition.xyz), vNormal);
+
+ float fReflactionValue = dot(vReflaction, float3(0.f, 1.f, 0.f));
+
+ vMtrlDiffuse = g_CubeTexture.Sample(DefaultSampler, vReflaction);
+
+
+ float fFresnelScala = g_fRefractionStrength + (1.f - g_fRefractionStrength) * pow(1.f - dot(normalize(g_vCamPosition.xyz - In.vWorldPos.xyz), vNormal), g_fRefractionPow);
+
+ Out.vAlbedo = float4(vMtrlDiffuse.xyz, 1.f) * fFresnelScala + g_vDiffuseColor * (1.f - fFresnelScala);
+ Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
+ Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 깊이 ( 0~ 1)
+ (In.vProjPos.w / g_fFar), // 뷰 스페이스 Z
+ 2.f / 27.f, // 서페이스 파라미터
+ 1.f);
+ Out.vColor = float4(0.f, 0.f, 0.f, 1.f);
+ Out.vSurface = vSurface;
+
+ return Out;
+}
+
technique11 MeshTechnique11
{
pass MeshPass // 0
@@ -652,4 +714,14 @@ technique11 MeshTechnique11
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_BLOOM();
}
+
+ pass WaterPass // 16
+ {
+ 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();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_LAKE();
+ }
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index 094a0fcab..87fde2ea8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -31,10 +31,15 @@ struct ParticleValue
float fSizeDrag;
float3 vDeltaSize;
float2 vDelay;
+
+ bool isCompareStop;
+ float fCollisionTime;
+ float fDropAttenuation;
};
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
+matrix g_ProjMatrixInv, g_ViewMatrixInv;
Texture2D g_DiffuseTexture : register(t0);
@@ -49,7 +54,7 @@ StructuredBuffer g_ParticleValue : register(t5);
Texture2D g_EmissiveTexture : register(t6);
Texture2D g_DepthStencilTexture : register(t7);
Texture2D g_DistortionTexture : register(t8);
-
+Texture2D g_DepthTexture : register(t9);
float4 g_vCamPosition;
@@ -142,6 +147,9 @@ float g_fDissolveMaskEdge;
float g_fDissolveSoftMask;
float g_fDissolveCutRatio;
+float4 g_vDissolveColor;
+float2 g_vDissolveColorCut;
+
struct VS_IN
{
float3 vPosition : POSITION;
@@ -228,7 +236,6 @@ VS_OUT VS_NOWORLD(VS_IN In, uint iGPUIndex : SV_InstanceID)
return Out;
}
-
struct PS_IN
{
float4 vPosition : SV_POSITION;
@@ -265,7 +272,7 @@ float4 DrawEffect(PS_IN In)
float2 vDissolveUVMoveTime = g_ParticleValue[In.iGPUIndex].vDissolveUVMoveTime;
float2 vDelay = g_ParticleValue[In.iGPUIndex].vDelay;
-
+
if (vDelay.x < vDelay.y)
{
discard;
@@ -282,43 +289,29 @@ float4 DrawEffect(PS_IN In)
UV += SelectLerpUV((g_vDiffuseUVGainAmount / g_vUVCutting), (vDiffuseTime.x / vDiffuseTime.y), g_iDiffuseMoveLerpOption);
}
- if (g_isTexBlur)
+ if (g_isDistortion == true)
{
- float4 fAccDiffuse;
+
+ float2 vDistortionUV = In.vTexcoord + SelectLerpUV(g_vMaskDistortionUVGainAmount, (vDistortionUVMoveTime.x / vDistortionUVMoveTime.y), g_iMaskDistortionMoveLerpOption);
+
+ vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortionUV);
+
+
+ float fDistortionIntensity = g_fNoiseDistortionIntensity;
+
+ if (g_vDistortionTime.y != 0)
+ {
+ fDistortionIntensity = g_fNoiseDistortionIntensity * ((In.vLifeTime.x / In.vLifeTime.y));
+ }
+
+ //디스토션(노이즈) 텍스쳐로 uv를 왜곡함
+ UV = UV + (vMtrlDistortion - 0.5f).r * fDistortionIntensity;
- float fTexel = g_fBluringStrength;
-
- if (g_isBlurDissolve)
- {
- fTexel = saturate(g_fBluringStrength * (In.vLifeTime.x / In.vLifeTime.y));
- }
-
- if (g_isBlurReverseDissolve)
- {
- fTexel = saturate(g_fBluringStrength * (1 - (In.vLifeTime.x / In.vLifeTime.y)));
- }
-
- for (int x = -2; x <= 2; x++)
- {
- for (int y = -2; y <= 2; y++)
- {
- fAccDiffuse += g_DiffuseTexture.Sample(DefaultSampler, UV + float2(x * fTexel, y * fTexel));
- }
- }
-
- fAccDiffuse = fAccDiffuse / 9.0;
-
- /* 연산 마스크 대입*/
- vMtrlDiffuse = fAccDiffuse;
- }
- else
- {
- /* 최종 색깔 */
- vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
}
+
+ vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
-
if (g_vColor.a > 0)
vMtrlDiffuse = saturate(g_vColor + vMtrlDiffuse);
@@ -518,11 +511,33 @@ float4 DrawEffect(PS_IN In)
}
+ if (g_vDissolveColorCut.y > 0.f)
+ {
+ if (vMtrlDiffuse.a > g_vDissolveColorCut.x && vMtrlDiffuse.a <= g_vDissolveColorCut.y)
+ {
+ vMtrlDiffuse.rgb += g_vDissolveColor.rgb;
+ }
+ }
if (vMtrlDiffuse.a <= FLT_EPSILON5)
discard;
}
+ /* 소프트 이펙트 */
+
+ float2 vTexcoord;
+
+ vTexcoord.x = In.vProjPos.x / In.vProjPos.w * 0.5f + 0.5f;
+ vTexcoord.y = In.vProjPos.y / In.vProjPos.w * -0.5f + 0.5f;
+
+ float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, vTexcoord);
+
+ float fOldViewZ = vDepthDesc.y * g_fFar;
+
+ float fDistance = fOldViewZ - In.vProjPos.w;
+
+ vMtrlDiffuse.a = vMtrlDiffuse.a * saturate(fDistance);
+
return vMtrlDiffuse;
}
@@ -611,22 +626,10 @@ PS_OUT PS_MAIN(PS_IN In)
PS_OUT Out;
vector vMtrlDiffuse;
- vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
+ vMtrlDiffuse = DrawEffect(In);
- vector vMtrlNormal = g_NormalTexture.Sample(DefaultSampler, In.vTexcoord);
-
- float3x3 NormalMap_WorldMatrix = float3x3(In.vTangent, In.vBinormal, In.vNormal.xyz);
-
- float3 vNormal = mul(vMtrlNormal.xyz * 2.f - 1.f, NormalMap_WorldMatrix);
+ vMtrlDiffuse.rgb += EmissiveDraw(In).rgb;
-
- //Out.vNormal = float4(vNormal.xyz * 0.5f + 0.5f, 0.f);
- //Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 0.0f);
-
- if (vMtrlDiffuse.a < 0.3f)
- discard;
-
- Out.vDiffuse.a = saturate(In.vLifeTime.y - In.vLifeTime.x);
Out.vDiffuse = vMtrlDiffuse;
return Out;
@@ -729,15 +732,15 @@ PS_BLUR_OUT PS_BLUR_NOEMISSIVE(PS_IN In)
//// 색깔 추가할 처리 (이미시브)
- vMtrlDiffuse.a = 1.f;
+ vMtrlDiffuse.a *= 5.f;
- if (g_isDissolve == true)
- {
- if (g_isNomalDissolve)
- {
- vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y);
- }
- }
+ //if (g_isDissolve == true)
+ //{
+ // if (g_isNomalDissolve)
+ // {
+ // vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y);
+ // }
+ //}
Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity , vMtrlDiffuse.a);
Out.vBlurWeight = g_iBlurWeight / 128.f;
@@ -753,21 +756,24 @@ PS_BLUR_OUT PS_BLUR(PS_IN In)
vMtrlDiffuse = DrawEffect(In);
+ vMtrlDiffuse.a *= 5.f;
+
//// 색깔 추가할 처리 (이미시브)
- vMtrlDiffuse.rgb += EmissiveDraw(In).rgb;
+ //vMtrlDiffuse.rgb += EmissiveDraw(In).rgb;
- vMtrlDiffuse.a = 1.f;
+ //vMtrlDiffuse.a = 1.f;
- if (g_isDissolve == true)
- {
- if (g_isNomalDissolve)
- {
- vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y);
- }
- }
+ //if (g_isDissolve == true)
+ //{
+ // if (g_isNomalDissolve)
+ // {
+ // vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y);
+ // }
+ //}
Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity, vMtrlDiffuse.a);
+
Out.vBlurWeight = g_iBlurWeight / 128.f;
return Out;
@@ -843,13 +849,14 @@ PS_BLOOM_OUT PS_WEIGHTED_FOR_BLEND(PS_IN In)
return Out;
}
+
technique11 DefaultTechnique
{
pass Model
{
SetRasterizerState(RS_Default);
SetDepthStencilState(DSS_Default, 0);
- SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
VertexShader = compile vs_5_0 VS_MAIN();
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_MAIN();
@@ -977,6 +984,18 @@ technique11 DefaultTechnique
PixelShader = compile ps_5_0 PS_WEIGHTED_FOR_BLEND();
}
+
+
+ pass PARTICLE_DEPTH_STOP
+ {
+ 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();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_MAIN();
+ }
+
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png
new file mode 100644
index 000000000..0d0c22059
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png
new file mode 100644
index 000000000..52e38b3f0
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png
new file mode 100644
index 000000000..835930c74
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.cpp b/Jusin154_Team3D/Editor/Default/Editor.cpp
index 2ec23a75a..2957f0ad5 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.cpp
+++ b/Jusin154_Team3D/Editor/Default/Editor.cpp
@@ -20,8 +20,7 @@ extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
- _In_ int nCmdShow)
-{
+ _In_ int nCmdShow){
#ifdef _DEBUG
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
//_CrtSetBreakAlloc(1181);
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 133f11df7..3126bd39d 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -176,6 +176,7 @@ call Update_Shaders.bat
+
@@ -241,6 +242,7 @@ call Update_Shaders.bat
+
@@ -341,6 +343,7 @@ call Update_Shaders.bat
+
@@ -351,6 +354,7 @@ call Update_Shaders.bat
+
@@ -417,6 +421,7 @@ call Update_Shaders.bat
+
@@ -519,6 +524,7 @@ call Update_Shaders.bat
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index db0b25f0f..c378901cd 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -253,9 +253,6 @@
{a193f87a-e222-4dd8-9766-cb32bb368ccb}
-
- {8882358e-c8eb-4222-a87e-01d902533b8f}
-
{a9862861-6eaa-4e04-b7f6-217a32db7db4}
@@ -289,18 +286,12 @@
{92110a48-81d0-4e98-be06-05dd078d0488}
-
- {c81350c7-0edb-4e51-babf-09bf627414f1}
-
{7e8b7123-11fb-4946-99fe-3265932d0536}
{54eef1b7-a5ee-444f-9577-44ffc8c3d8bc}
-
- {a94e6a94-cc46-4c16-8518-5032bfdbd235}
-
{b4e1da25-c952-4ff4-92fd-7f1501d8c005}
@@ -346,9 +337,6 @@
{c0589f6e-ed9c-4e76-8df2-4f95ce3c7b9a}
-
- {8bb21e5b-933f-4930-8d49-1093e0c3ea77}
-
{a54567fa-e528-4c98-a605-289d7d300029}
@@ -361,12 +349,6 @@
{c7b1ffc6-548f-464c-8f19-8b6ff5913b06}
-
- {03dca491-c8d3-4204-b450-b6089287aa3d}
-
-
- {c87ea325-8242-4bc4-aec7-b102a5b1c847}
-
{8d15e456-f0d7-45b6-b725-7f1a8c0f6b0f}
@@ -451,18 +433,6 @@
{4aa98871-8d80-4757-b616-e96f4e840857}
-
- {3fb9a340-293c-413e-ae32-e5986222f711}
-
-
- {51b32cc0-bf57-444f-9a21-0ff756a94291}
-
-
- {09f9fe15-1685-4aac-b3a1-ee98c3e76e3b}
-
-
- {c70a2ce4-8664-45e0-b594-4f416829dab8}
-
{c30da651-49ea-4d68-b65b-c363eaf820f2}
@@ -478,6 +448,45 @@
{fe7d5909-159c-4130-ae5e-e08e648b193c}
+
+ {44155272-ee23-4fbf-ae47-e89f62f34975}
+
+
+ {db7324ea-732a-4cac-948e-f99f0544027c}
+
+
+ {8882358e-c8eb-4222-a87e-01d902533b8f}
+
+
+ {3fb9a340-293c-413e-ae32-e5986222f711}
+
+
+ {c81350c7-0edb-4e51-babf-09bf627414f1}
+
+
+ {51b32cc0-bf57-444f-9a21-0ff756a94291}
+
+
+ {a94e6a94-cc46-4c16-8518-5032bfdbd235}
+
+
+ {09f9fe15-1685-4aac-b3a1-ee98c3e76e3b}
+
+
+ {8bb21e5b-933f-4930-8d49-1093e0c3ea77}
+
+
+ {03dca491-c8d3-4204-b450-b6089287aa3d}
+
+
+ {c87ea325-8242-4bc4-aec7-b102a5b1c847}
+
+
+ {c70a2ce4-8664-45e0-b594-4f416829dab8}
+
+
+ {3a12f2c2-0472-41b7-99ce-2c2f17f26e92}
+
{ebad2fd8-622f-4c17-9ba3-b0c4bd366c05}
@@ -502,6 +511,12 @@
{d8a5038f-4f2c-4226-85ba-9202f11f822d}
+
+ {4b6ac1df-5642-42f1-a492-5c2ca2433559}
+
+
+ {df91c194-9910-489b-a9bb-724e1c1f4440}
+
@@ -769,7 +784,7 @@
02.GameObjects\Layer_Effect\Effect\04.Effect_Container
- 02.GameObjects\Layer_Effect\Effect\05.NomalJap
+ 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap
02.GameObjects\Broom
@@ -802,7 +817,7 @@
02.GameObjects\Wand
- 02.GameObjects\Layer_Effect\Effect\06.Bombard
+ 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard
80.State
@@ -814,7 +829,7 @@
02.GameObjects\Env\05.AlphaMap
- 02.GameObjects\Layer_Effect\Effect\07.Decendo
+ 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo
02.GameObjects\Camera\Debug
@@ -859,7 +874,7 @@
02.GameObjects\Layer_Effect\EffectPool
- 02.GameObjects\Layer_Effect\Effect\08.Protego
+ 02.GameObjects\Layer_Effect\Effect\Magic\08.Protego
50.UI\GamePlay_Canvas\Mission_Panel\MissionBanner_Border
@@ -874,10 +889,10 @@
50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot
- 02.GameObjects\Layer_Effect\Effect\09.Revelio
+ 02.GameObjects\Layer_Effect\Effect\Magic\09.Revelio
- 02.GameObjects\Layer_Effect\Effect\10.Levioso
+ 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso
50.UI\Spell_Canvas\Spell_Panel\Spell_List
@@ -931,16 +946,16 @@
50.UI\Spell_Canvas\Spell_Panel\Spell_Drag
- 02.GameObjects\Layer_Effect\Effect\05.NomalJap\NomalJapSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap\NomalJapSide
- 02.GameObjects\Layer_Effect\Effect\06.Bombard\BombardSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard\BombardSide
- 02.GameObjects\Layer_Effect\Effect\07.Decendo\DecendoSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo\DecendoSide
- 02.GameObjects\Layer_Effect\Effect\10.Levioso\LeviosoSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso\LeviosoSide
04.InfoInstance
@@ -960,6 +975,9 @@
50.UI\Mouse_Cursor
+
+ 02.GameObjects\Layer_Effect\Effect\Monster_Effect\Troll_Attack
+
50.UI\Loding_Canvas
@@ -981,6 +999,12 @@
50.UI\Logo\Logo_Glow
+
+ 02.GameObjects\Env\07.Unified
+
+
+ 02.GameObjects\Env\03.MapElement\Lake
+
@@ -1241,7 +1265,7 @@
02.GameObjects\Layer_Effect\Effect\04.Effect_Container
- 02.GameObjects\Layer_Effect\Effect\05.NomalJap
+ 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap
02.GameObjects\Broom
@@ -1280,13 +1304,13 @@
02.GameObjects\Player
- 02.GameObjects\Layer_Effect\Effect\06.Bombard
+ 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard
02.GameObjects\Env\05.AlphaMap
- 02.GameObjects\Layer_Effect\Effect\07.Decendo
+ 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo
50.UI\GamePlay_Canvas\Action_Panel\Spell_Slot_Preview
@@ -1337,7 +1361,7 @@
02.GameObjects\Layer_Effect\EffectPool
- 02.GameObjects\Layer_Effect\Effect\08.Protego
+ 02.GameObjects\Layer_Effect\Effect\Magic\08.Protego
50.UI\GamePlay_Canvas\Mission_Panel\MissionBanner_Border
@@ -1352,10 +1376,10 @@
50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot
- 02.GameObjects\Layer_Effect\Effect\09.Revelio
+ 02.GameObjects\Layer_Effect\Effect\Magic\09.Revelio
- 02.GameObjects\Layer_Effect\Effect\10.Levioso
+ 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso
50.UI\Spell_Canvas\Spell_Panel\Spell_List
@@ -1409,16 +1433,16 @@
50.UI\Spell_Canvas\Spell_Panel\Spell_Drag
- 02.GameObjects\Layer_Effect\Effect\05.NomalJap\NomalJapSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap\NomalJapSide
- 02.GameObjects\Layer_Effect\Effect\06.Bombard\BombardSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard\BombardSide
- 02.GameObjects\Layer_Effect\Effect\07.Decendo\DecendoSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo\DecendoSide
- 02.GameObjects\Layer_Effect\Effect\10.Levioso\LeviosoSide
+ 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso\LeviosoSide
04.InfoInstance
@@ -1438,6 +1462,9 @@
50.UI\Mouse_Cursor
+
+ 02.GameObjects\Layer_Effect\Effect\Monster_Effect\Troll_Attack
+
50.UI\Loding_Canvas
@@ -1459,6 +1486,12 @@
50.UI\Logo\Logo_Glow
+
+ 02.GameObjects\Env\07.Unified
+
+
+ 02.GameObjects\Env\03.MapElement\Lake
+
diff --git a/Jusin154_Team3D/Editor/Private/CallBack_EffectHitBox_HitReport.cpp b/Jusin154_Team3D/Editor/Private/CallBack_EffectHitBox_HitReport.cpp
index f4d5a5677..0a66d2d34 100644
--- a/Jusin154_Team3D/Editor/Private/CallBack_EffectHitBox_HitReport.cpp
+++ b/Jusin154_Team3D/Editor/Private/CallBack_EffectHitBox_HitReport.cpp
@@ -45,8 +45,7 @@ void CCallBack_EffectHitBox_HitReport::onShapeHit(const PSX::PxControllerShapeHi
/* OnCollision 함수에 넘길 값 */
-
- CollisionDesc.vWorldPos = XMVectorSet( (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f);
+ CollisionDesc.vWorldPos = { (_float)vWorldPos.x, (_float)vWorldPos.y, (_float)vWorldPos.z, 1.f };
memcpy(&CollisionDesc.vWorldNomal, &vWorldNormal, sizeof(_float3));
memcpy(&CollisionDesc.vHitDir, &vDir, sizeof(_float3));
CollisionDesc.fLength = fLength;
diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
index 38eb6ebff..f26f7d07d 100644
--- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp
+++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
@@ -73,7 +73,7 @@ void CEditEffect::Late_Update(_float fTimeDelta)
{
if (m_pLightCom != nullptr)
{
- m_pLightCom->Update_AmbientRatio(fTimeDelta , m_EffectInfo.isLightTime);
+ m_pLightCom->Update_IntensityRatio(fTimeDelta , m_EffectInfo.isLightTime , m_EffectInfo.fLightDeley);
}
}
@@ -424,7 +424,7 @@ void CEditEffect::Describe_Entity()
const char* pLerp[] = { "Linear" , "EaseInQuad", "EaseOutQuad", "EaseInCubic" , "EaseOutCubic" , "EaseInOutSin" , "EaseInBack" , "Expo" , "Circle" };
const char* pRenderNames[] = { "PRIORITY" , "SHADOW", "NONBLEND", "DECAL", "BLUR" , "NONLIGHT" ,"EFFECT", "BLEND" ,"BLOOM" , "UI", "OCCLUSION" , "PRESHADOW"};
const char* pEffectType[] = { "EFFECT" , "TRAIL" };
- const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE", "BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND"};
+ const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE", "BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND" , "DEPTH_STOP" };
const char* pBloomType[] = { "NONE" , "BASIC" , "MUILTY"};
_int iCurrentItem = static_cast<_int>(m_EffectInfo.eRenderOrder);
@@ -600,6 +600,13 @@ void CEditEffect::Describe_Entity()
GUI::Checkbox("Light Dissolve", &m_EffectInfo.isLightDissolve);
GUI::InputFloat("Light Time", &m_EffectInfo.isLightTime);
+ GUI::InputFloat("Light Delay", &m_EffectInfo.fLightDeley);
+
+ if (GUI::InputFloat("Light Intensity", &m_EffectInfo.fLightIntensity))
+ {
+
+ m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity);
+ }
if (GUI::Button("ADD_LIGHT_MANAGER"))
{
@@ -608,7 +615,7 @@ void CEditEffect::Describe_Entity()
if (GUI::Button("Reset_Dissolve"))
{
- m_pLightCom->Reset_AmbientRatio();
+ m_pLightCom->Reset_IntensityRatio();
}
}
@@ -758,7 +765,14 @@ void CEditEffect::Describe_Entity()
GUI::DragFloat("DissolveSoftMask", &m_EffectInfo.vDissolveValue.y, 0.005f);
GUI::DragFloat("DissolveCutRatio", &m_EffectInfo.vDissolveValue.z, 0.005f);
+ GUI::Spacing();
+
+
+ GUI::DragFloat2("DissolveColorCut", (_float*)& m_EffectInfo.vDissolveColorCut, 0.005f);
+
ImGui::PopItemWidth();
+
+ GUI::ColorEdit4("DissolveColor", (_float*)&m_EffectInfo.vDissolveColor);
_string strName = m_pGameInstance->Asset_Description(ENUM_CLASS(LEVEL::EFFECT), "DISSOLVE_TEXTURE", (CComponent**)&m_pDissolve_TextureCom, nullptr, this);
if (strName != "") {
diff --git a/Jusin154_Team3D/Editor/Private/EffectObject.cpp b/Jusin154_Team3D/Editor/Private/EffectObject.cpp
index da9d66d1f..e28214b90 100644
--- a/Jusin154_Team3D/Editor/Private/EffectObject.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectObject.cpp
@@ -237,8 +237,10 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel)
return E_FAIL;
}
-
+ m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity);
}
+
+
if (m_EffectInfo.isDiffuse)
@@ -506,14 +508,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel)
PRE_EFFECT_INFO PreEffectInfo = {};
- if (!ReadFile(hFile, &PreEffectInfo, sizeof(PRE_EFFECT_INFO), &dwByte, nullptr)) {
+ if (!ReadFile(hFile, &m_EffectInfo, sizeof(PRE_EFFECT_INFO), &dwByte, nullptr)) {
return E_FAIL;
}
m_EffectInfo.LightDesc.pPosition = m_pTransformCom->Get_StatePtr(STATE::POSITION);
m_EffectInfo.LightDesc.iLevel = ENUM_CLASS(eLevel);
- ZeroMemory(&m_EffectInfo.LightDesc, sizeof(LIGHT_DESC));
if (m_EffectInfo.LightDesc.eType != LIGHT::DIRECTIONAL) // 0이 아닐때만 생성
{
@@ -720,6 +721,10 @@ HRESULT CEffectObject::Bind_ShaderResources()
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
return E_FAIL;
+ if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShaderCom, "g_DepthTexture"))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
return E_FAIL;
}
@@ -727,6 +732,13 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) {
+ return E_FAIL;
+
+ }
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDiffuse", &m_EffectInfo.isDiffuse, sizeof(_bool)))) {
return E_FAIL;
@@ -936,6 +948,13 @@ HRESULT CEffectObject::Bind_ShaderResources()
}
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColor", &m_EffectInfo.vDissolveColor, sizeof(_float4)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColorCut", &m_EffectInfo.vDissolveColorCut, sizeof(_float2)))) {
+ return E_FAIL;
+ }
diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
index c3a39568c..850d18000 100644
--- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
@@ -62,7 +62,6 @@ void CEffectPool::Priority_Update(_float fTimeDelta)
}
}
- (*m_EffectList[ENUM_CLASS(SKILL_TYPE::DESCENDO)].begin())->Describe_Entity();
}
diff --git a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
index bdd9f5534..60330dd39 100644
--- a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
+++ b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
@@ -335,7 +335,7 @@ void CEffect_Container::Reset_Light()
if (pLight == nullptr)
continue;
- pLight->Reset_AmbientRatio();
+ pLight->Reset_IntensityRatio();
}
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
index ef6720fd5..76ad4faff 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -17,6 +17,7 @@
#include "EffectPool.h"
#include "InfoInstance.h"
#include "Goblin.h"
+#include "Terrain.h"
CLevel_EffectViewer::CLevel_EffectViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID)
: CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) }
@@ -44,7 +45,8 @@ HRESULT CLevel_EffectViewer::Initialize()
return E_FAIL;
}
-
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Terrain"))))
+ return E_FAIL;
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_EffectPool")))) //플레이어보다 먼저 생성해야함!
@@ -56,9 +58,9 @@ HRESULT CLevel_EffectViewer::Initialize()
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), NEXT_LEVEL, LAYER_CUBE))){
- return E_FAIL;
- }
+ //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), NEXT_LEVEL, LAYER_CUBE))){
+ // return E_FAIL;
+ //}
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_PLAYER))){
diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
index eb3b755f6..f293b68d5 100644
--- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
@@ -12,6 +12,8 @@
#include "Land.h"
#include "InstancedProp.h"
#include "Player.h"
+#include "Unified.h"
+#include "MapElement_Lake.h"
CLevel_MapViewer::CLevel_MapViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID)
: CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) }
@@ -47,12 +49,16 @@ HRESULT CLevel_MapViewer::Initialize()
return E_FAIL;
}
- if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) {
+ /*if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) {
return E_FAIL;
}
if (FAILED(Ready_Layer_BuildingContainer(TEXT("Layer_Building")))) {
return E_FAIL;
+ }*/
+
+ if (FAILED(Ready_Layer_Unified(TEXT("Layer_Unified")))) {
+ return E_FAIL;
}
if (FAILED(Ready_Layer_MapObjectManager(LAYER_MAPOBJECTMANAGER))) {
@@ -76,7 +82,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
Camera_Desc.fFovy = XMConvertToRadians(60.0f);
Camera_Desc.fNear = 0.1f;
- Camera_Desc.fFar = 200.f;
+ Camera_Desc.fFar = 600.f;
Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
Camera_Desc.fSpeedPerSec = 5.f;
@@ -111,7 +117,55 @@ HRESULT CLevel_MapViewer::Ready_Layer_Background(const _wstring& strLayerTag)
HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag)
{
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
+ CTerrain::TERRAIN_DESC Desc = {};
+ /* Hogsmeade */
+
+ Desc.isEdit = false;
+ Desc.iAlphaSizeX = 2048;
+ Desc.iAlphaSizeY = 2048;
+ Desc.vPosition = _float3(-194, 18.5f, -153.f);
+ Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade");
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc)))
+ return E_FAIL;
+
+ /* Hogwart */
+ Desc.isEdit = false;
+ Desc.iAlphaSizeX = 2048;
+ Desc.iAlphaSizeY = 2560;
+ Desc.vPosition = _float3(-451.f, 18.5f, -791.f);
+ Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart");
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc)))
+ return E_FAIL;
+
+ /* North_Hogwart */
+ Desc.isEdit = false;
+ Desc.iAlphaSizeX = 1536;
+ Desc.iAlphaSizeY = 1024;
+ Desc.vPosition = _float3(-577.f, 18.5f, -153.f);
+ Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart");
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc)))
+ return E_FAIL;
+
+ /* South_Hogwart */
+ Desc.isEdit = true;
+ Desc.iAlphaSizeX = 2048;
+ Desc.iAlphaSizeY = 1, 536;
+ Desc.vPosition = _float3(61.f, 18.5f, -535.f);
+ Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart");
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc)))
+ return E_FAIL;
+
+ CMapElement_Lake::MAPOBJECT_LAKE_DESC Lake_Desc = {};
+
+ vector<_wstring> ModelPrototypeTags;
+ ModelPrototypeTags.push_back(TEXT("Prototype_Component_Hogwart_Lake"));
+ Lake_Desc.iMaxLodLevel = 0;
+ Lake_Desc.iRenderType = 4;
+ Lake_Desc.vPosition = _float3(-144.f, -61.9f, -115.f);
+ Lake_Desc.vRotation = _float3(0.f, 0.f, 0.f);
+ Lake_Desc.vScale = _float3(3.f, 3.f, 3.f);
+ Lake_Desc.ModelPrototypeTags = ModelPrototypeTags;
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Lake_Desc)))
return E_FAIL;
return S_OK;
@@ -216,13 +270,19 @@ HRESULT CLevel_MapViewer::Ready_Layer_BuildingContainer(const _wstring& strLayer
return S_OK;
}
+HRESULT CLevel_MapViewer::Ready_Layer_Unified(const _wstring& strLayerTag)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
+ return E_FAIL;
+
+ return S_OK;
+}
+
HRESULT CLevel_MapViewer::Ready_Layer_MapObjectManager(const _wstring& strLayerTag)
{
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
return E_FAIL;
-
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index c86d171d1..7f6c426f1 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -114,6 +114,8 @@
#include "VIBuffer_Model_Instance.h"
#include "Instance_Model.h"
#include "InstancedProp.h"
+#include "Unified.h"
+#include "MapElement_Lake.h"
#pragma endregion
@@ -1114,6 +1116,32 @@ HRESULT CLoader::Loading_For_Effect()
m_strMessage = TEXT("Texture Loading..");
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("TerrainTest"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures//T_LandscapeStreamingProxy_0_LOD1_Summer_D.png"), 0)))) {
+ return E_FAIL;
+ }
+
+ /* Terrain_Mask */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Mask"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* Terrain_Diffuse */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_D_%d.dds"), 4)))) {
+ return E_FAIL;
+ }
+ /* Terrain_Normal */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Normal"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_N_%d.dds"), 4)))) {
+ return E_FAIL;
+ }
+ /* Terrain_MRO */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_MRO"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_MRO_%d.dds"), 4)))) {
+ return E_FAIL;
+ }
+
Asset_FileLoad("../Bin/Resources/Textures/Effect/Noises", L"Prototype_Texture_", [&](_wstring wstrFileName, const _char* pFilePath) {
_string strFilePath = pFilePath;
@@ -1196,6 +1224,18 @@ HRESULT CLoader::Loading_For_Effect()
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SkyBox.fbx", XMMatrixIdentity()))))
return E_FAIL;
+
+ Asset_FileLoad("../Bin/Resources/Models/Effect/Rock", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) {
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName,
+ CInstance_Model::Create(m_pDevice, m_pContext, pFilePath, MODEL::NONANIM, XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixIdentity(), 0))))
+ return E_FAIL;
+
+ return S_OK;
+
+ });
+
+
Asset_FileLoad("../Bin/Resources/Models/Effect/ParticleMesh", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) {
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName,
@@ -1272,6 +1312,28 @@ HRESULT CLoader::Loading_For_Effect()
Safe_Delete(pResult);
}
+ {
+ CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "Hogsmeade_HeightMap.bin", 512, 512);
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), pTerrain))) {
+ return E_FAIL;
+ }
+ pTerrain->ConvertToHeightField(TEXT("Hogsmeade_HeightMap"));
+
+ CRigidBody_Static::RIGIDBODY_STATIC_PROTOTYPEDESC Desc{}; // 터레인 리지드 지형 추가
+ {
+ Desc.eType = ACTOR::HEIGHTFIELD;
+ Desc.ePxRigidBodyFlags = {};
+ Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
+ Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
+ Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
+ Desc.fContactOffset = 0.f;
+ }
+ CRigidBody_Static* pRigid = CRigidBody_Static::Create(m_pDevice, m_pContext, Desc);
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), pRigid))) {
+ return E_FAIL;
+ }
+ }
+
m_strMessage = TEXT("Shader Loading..");
@@ -1399,7 +1461,9 @@ HRESULT CLoader::Loading_For_Effect()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayer::Create(m_pDevice, m_pContext))))
return E_FAIL;
-
+ /* For.Prototype_GameObject_Terrain */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTerrain::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
@@ -1600,7 +1664,7 @@ HRESULT CLoader::Loading_For_PhysXLevel()
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, CMyTools::ToWstring(strDestName).c_str(), CRigidBody_Static::Create(m_pDevice, m_pContext, Desc)))) {
return E_FAIL;
@@ -1807,7 +1871,7 @@ HRESULT CLoader::MapFolderLoad(const _char* pDirectoryPath, const _char* pFileEx
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, CMyTools::ToWstring(strDestName).c_str(), CRigidBody_Static::Create(m_pDevice, m_pContext, Desc)))) {
return E_FAIL;
@@ -1860,7 +1924,7 @@ void APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, ID3D11DeviceContex
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
}
pContents->pRigidBodyTags.emplace_back(CMyTools::ToWstring(pModel->Get_MeshName(i) + to_string(i)).c_str());
pContents->LoadedRigidBody.emplace_back(CRigidBody_Static::Create(pDevice, pContext, Desc));
@@ -2251,6 +2315,43 @@ HRESULT CLoader::Loading_For_MapViewer()
return E_FAIL;
}
+ /* For.Prototype_Component_Water_Noise_D */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Noises_D"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
+ TEXT("../Bin/Resources/Models/Lake/T_Noises_D.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* For.Prototype_Component_T_Water_Normal_Large_N */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_Normal_Large_N"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
+ TEXT("../Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* For.Prototype_Component_T_Water_Normal_Subtle_N */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_Normal_Subtle_N"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
+ TEXT("../Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* For.Prototype_Component_T_Caustics_D */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Caustics_D"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
+ TEXT("../Bin/Resources/Models/Lake/T_Caustics_D.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* For.Prototype_Component_T_Water_N */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_N"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
+ TEXT("../Bin/Resources/Models/Lake/T_Water_N.dds"), 0)))) {
+ return E_FAIL;
+ }
+ /* Lake_Cube_D */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lake_Cube_D"),
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/SkyCube.dds"), 0)))) {
+ return E_FAIL;
+ }
+
+
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
/* For.Prototype_Component_SkyboxModel */
@@ -2263,6 +2364,16 @@ HRESULT CLoader::Loading_For_MapViewer()
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Land/Hogsmead_Land.fbx", XMMatrixIdentity()))))
return E_FAIL;
+ /* For.Prototype_Component_Hogwart_Lake */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogwart_Lake"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx", XMMatrixIdentity()))))
+ return E_FAIL;
+
+ /* For.Prototype_Component_Hogwart_LakeSurFace */
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogwart_LakeSurFace"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx", XMMatrixIdentity()))))
+ return E_FAIL;
+
vector<_wstring> ModelPrototypeTags = {};
vector ModelPrototypePath = {};
@@ -2452,42 +2563,47 @@ HRESULT CLoader::Loading_For_MapViewer()
// ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
// return E_FAIL;
- /* Light */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\LightPosts",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* Light */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\LightPosts",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* Doors */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Doors",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* Doors */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Doors",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* Step */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\GroundSurfaces",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\GroundSurfaces",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* Step */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\GroundSurfaces",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\GroundSurfaces",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* Barrel */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Objects\\Meshes",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* Barrel */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Objects\\Meshes",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* Box */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\MiscProps",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* Box */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\MiscProps",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* TeaShop Table */
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Tables",
- ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
- return E_FAIL;
+ ///* TeaShop Table */
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Tables",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
- /* TeaShop Chair*/
- if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Chairs",
- ".bin", true, ModelPrototypeTags, ModelPrototypePath)))
+ ///* TeaShop Chair*/
+ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Chairs",
+ // ".bin", false, ModelPrototypeTags, ModelPrototypePath)))
+ // return E_FAIL;
+
+ /* Hogwart LOD */
+ if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogwarts\\HogwartsLOD",
+ ".fbx", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
#pragma endregion
@@ -2498,292 +2614,292 @@ vector> jobFutures;
_uint iLoadCount = 46;
vector*> Contents(iLoadCount);
-
-{
- { /* Terrain */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
-
- { /* Ollivanders*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
-
- { /* Gatehouse*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
-
- { /* TScrolls */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* 3BroomStick*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
-
-
- { /* BLDG_QuidditchShop */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_HogsheadInn */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_Honeydukes */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_OwlPost */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_TeaShop */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_Zonkos */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_DB_GR */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_Potions */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* BLDG_Salon */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* Hengist_Tree */
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN A*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN B*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN C*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN E*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN F*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN G*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN H*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
- { /* GEN J*/
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- jobFutures.emplace_back(Deferred_FolderLoad(
- "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
- ".bin", false,
- &Contents[jobFutures.size()]
- ));
- }
-}
-
- for (auto& jobFuture : jobFutures)
+//
+//{
+// { /* Terrain */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+//
+// { /* Ollivanders*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+//
+// { /* Gatehouse*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+//
+// { /* TScrolls */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* 3BroomStick*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+//
+//
+// { /* BLDG_QuidditchShop */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_HogsheadInn */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_Honeydukes */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_OwlPost */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_TeaShop */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_Zonkos */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_DB_GR */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_Potions */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* BLDG_Salon */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* Hengist_Tree */
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN A*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN B*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN C*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN E*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN F*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN G*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN H*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+// { /* GEN J*/
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// jobFutures.emplace_back(Deferred_FolderLoad(
+// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
+// ".bin", false,
+// &Contents[jobFutures.size()]
+// ));
+// }
+//}
+//
+ /*for (auto& jobFuture : jobFutures)
{
jobFuture.get();
}
@@ -2807,7 +2923,7 @@ vector*> Contents(iLoadCount);
}
}
- }
+ }*/
m_strMessage = TEXT("쉐이더를(을) 로딩 중 입니다.");
@@ -2855,7 +2971,7 @@ vector*> Contents(iLoadCount);
{
CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "Hogsmeade_HeightMap.bin", 512, 512);
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), pTerrain))) {
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"), pTerrain))) {
return E_FAIL;
}
pTerrain->ConvertToHeightField(TEXT("Hogsmeade_HeightMap"));
@@ -2867,7 +2983,7 @@ vector*> Contents(iLoadCount);
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT;
Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f);
- Desc.fContactOffset = 0.f;
+ Desc.fContactOffset = 0.001f;
}
CRigidBody_Static* pRigid = CRigidBody_Static::Create(m_pDevice, m_pContext, Desc);
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), pRigid))) {
@@ -2876,6 +2992,22 @@ vector*> Contents(iLoadCount);
}
+ CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Hogwart_Height.png");
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"), pTerrain))) {
+ return E_FAIL;
+ }
+
+ pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/North_Hogwart_Height.png");
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart"), pTerrain))) {
+ return E_FAIL;
+ }
+
+ pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/South_Hogwart_Height.png");
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart"), pTerrain))) {
+ return E_FAIL;
+ }
+
+#pragma region INSTANCE_MODEL
CVIBuffer_Model_Instance::INSTANCE_DESC InstanceDesc = {};
InstanceDesc.iNum = 20;
@@ -2957,6 +3089,7 @@ vector*> Contents(iLoadCount);
CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext,
"../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml"))))
return E_FAIL;
+#pragma endregion // INSTANCE_MODEL
/* For.Prototype_Component_VIBuffer_Box */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Box"),
@@ -3010,6 +3143,14 @@ vector*> Contents(iLoadCount);
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CInstancedProp::Create(m_pDevice, m_pContext))))
return E_FAIL;
+ /* For.Prototype_GameObject_Unified */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CUnified::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_Unified */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMapElement_Lake::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
/* For.Prototype_GameObject_MapObject_Manager */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMapObject_Manager::Create(m_pDevice, m_pContext, ModelPrototypeTags, ModelPrototypePath))))
return E_FAIL;
@@ -3021,12 +3162,12 @@ vector*> Contents(iLoadCount);
m_isFinished = true;
- for (_uint i = 0; i < Contents.size(); ++i) {
- for (_uint j = 0; j < (Contents[i])->size(); ++j) {
- Safe_Delete((*Contents[i])[j]);
- }
- Safe_Delete(Contents[i]);
- }
+ //for (_uint i = 0; i < Contents.size(); ++i) {
+ // for (_uint j = 0; j < (Contents[i])->size(); ++j) {
+ // Safe_Delete((*Contents[i])[j]);
+ // }
+ // Safe_Delete(Contents[i]);
+ //}
#endif
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/MainLight.cpp b/Jusin154_Team3D/Editor/Private/MainLight.cpp
index e00210c9e..d38833c15 100644
--- a/Jusin154_Team3D/Editor/Private/MainLight.cpp
+++ b/Jusin154_Team3D/Editor/Private/MainLight.cpp
@@ -136,6 +136,12 @@ HRESULT CMainLight::Ready_Components()
LightDesc.pDirection = m_pTransformCom->Get_StatePtr(STATE::LOOK);
LightDesc.iLevel = NEXT_LEVEL;
+#ifdef gimch
+ LightDesc.vDiffuse = _float4(0.8f, 0.8f, 0.8f, 0.f);
+ LightDesc.vAmbient = _float4(0.6f, 0.6f, 0.6f, 0.f);
+#endif // gimch
+
+
/* Com_Light*/
if (FAILED(Add_Component(g_iStaticLevel, &m_pLightCom, &LightDesc)))
{
diff --git a/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp
new file mode 100644
index 000000000..17c90c665
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp
@@ -0,0 +1,324 @@
+#include "pch.h"
+#include "MapElement_Lake.h"
+
+#include "GameInstance.h"
+
+#include "Terrain.h"
+#include "Layer.h"
+
+CMapElement_Lake::CMapElement_Lake(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CMapElement{ pDevice, pContext }
+{
+}
+
+CMapElement_Lake::CMapElement_Lake(const CMapElement_Lake& rhs)
+ : CMapElement(rhs)
+{
+}
+
+HRESULT CMapElement_Lake::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CMapElement_Lake::Initialize(void* pArg)
+{
+ MAPOBJECT_LOD_DESC* pDesc = static_cast(pArg);
+
+ m_iMaxLodLevel = pDesc->iMaxLodLevel;
+
+ for (_uint i = 0; i < m_iMaxLodLevel + 1; i++)
+ {
+ m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]);
+ //m_ModelPathIndices.push_back((*pDesc->pModelPathIndices)[i]);
+ }
+
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+#ifdef _DEBUG
+ m_bSelected = false;
+ m_vPosition = pDesc->vPosition;
+ m_vScale = pDesc->vScale;
+ m_vRotation = pDesc->vRotation;
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
+ m_pTransformCom->Set_Scale(m_vScale);
+ m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
+#endif // _DEBUG
+
+ m_vRefractionColor = _float4(0.29f, 0.375f, 0.4f, 1.f);
+ m_vSurfaceColor = _float4(0.f, 1.f, 1.f, 1.f);
+
+ return S_OK;
+}
+
+void CMapElement_Lake::Priority_Update(_float fTimeDelta)
+{
+#ifdef _DEBUG
+ m_bSelected = false;
+#endif
+}
+
+void CMapElement_Lake::Update(_float fTimeDelta)
+{
+ m_fTimeAcc += fTimeDelta * m_fUVValue;
+ //Describe_Entity();
+}
+
+void CMapElement_Lake::Late_Update(_float fTimeDelta)
+{
+#ifdef _DEBUG
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
+ m_pTransformCom->Set_Scale(m_vScale);
+ m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
+
+#endif
+ m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+}
+
+HRESULT CMapElement_Lake::Render()
+{
+ if (FAILED(Bind_ShaderResources()))
+ return E_FAIL;
+
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::LAKE)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pModelComs[0]->Render(0))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CMapElement_Lake::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ for (_uint i = 0; i < m_iMaxLodLevel + 1; ++i)
+ {
+ CModel* pModel = { nullptr };
+
+ /* Com_Model */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_ModelPrototypeTags[i],
+ reinterpret_cast(&pModel))))
+ return E_FAIL;
+
+ m_pModelComs.push_back(pModel);
+ }
+
+ /* Com_Shader */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
+ reinterpret_cast(&m_pShaderCom))))
+ return E_FAIL;
+
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Noises_D"),
+ reinterpret_cast(&m_pNoiseTextureCom))))
+ return E_FAIL;
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_Normal_Large_N"),
+ reinterpret_cast(&m_pNormalLargeTextureCom))))
+ return E_FAIL;
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_Normal_Subtle_N"),
+ reinterpret_cast(&m_pNormalSubTextureCom))))
+ return E_FAIL;
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Caustics_D"),
+ reinterpret_cast(&m_pCausticsTextureCom))))
+ return E_FAIL;
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_N"),
+ reinterpret_cast(&m_pNormalTextureCom))))
+ return E_FAIL;
+ /* Com_Texture */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Lake_Cube_D"),
+ reinterpret_cast(&m_pCubeMapTextureCom))))
+ return E_FAIL;
+
+ return S_OK;
+}
+
+HRESULT CMapElement_Lake::Bind_ShaderResources()
+{
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
+ 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;
+ }
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTimeAcc, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue1", &m_fUVValue1, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue2", &m_fUVValue2, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue3", &m_fUVValue3, sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed1", &m_fUVSpeed1, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed2", &m_fUVSpeed2, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed3", &m_fUVSpeed3, sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionStrength", &m_fRefractionStrength, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionPow", &m_fRefractionPow, sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float3)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vDiffuseColor", &m_vRefractionColor, sizeof(_float4)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vSurfaceColor", &m_vSurfaceColor, sizeof(_float4)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_SRV("g_NormalTexture", m_pNormalTextureCom->Get_SRV(0)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_SRV("g_NormalLargeTexture", m_pNormalLargeTextureCom->Get_SRV(0)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_SRV("g_NormalSubTexture", m_pNormalSubTextureCom->Get_SRV(0)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pCubeMapTextureCom->Bind_ShaderResource(m_pShaderCom, "g_CubeTexture", 0))) {
+ return E_FAIL;
+ }
+
+
+ return S_OK;
+}
+
+CMapElement_Lake* CMapElement_Lake::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CMapElement_Lake* pInstance = new CMapElement_Lake(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CMapElement_Lake");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CMapElement_Lake::Clone(void* pArg, CGameObject* pOwner)
+{
+ CMapElement_Lake* pInstance = new CMapElement_Lake(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CMapElement_Lake");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CMapElement_Lake::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pCubeMapTextureCom);
+ SAFE_RELEASE(m_pNormalTextureCom);
+ SAFE_RELEASE(m_pNormalLargeTextureCom);
+ SAFE_RELEASE(m_pNormalSubTextureCom);
+ SAFE_RELEASE(m_pCausticsTextureCom);
+ SAFE_RELEASE(m_pNoiseTextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ for (auto& pModel : m_pModelComs)
+ SAFE_RELEASE(pModel);
+}
+
+void CMapElement_Lake::Describe_Entity()
+{
+ if (m_bDead)
+ return;
+ if (nullptr == m_pGameInstance)
+ return;
+ GUI::Begin("Lake");
+ GUI::Text(CMyTools::ToString(m_ModelPrototypeTags[m_iLodIndex]).c_str());
+ GUI::InputInt("Lod Level", (_int*)(&m_iLodIndex));
+
+ GUI::InputFloat("N_V1", (&m_fUVValue1));
+ GUI::InputFloat("N_V2", (&m_fUVValue2));
+ GUI::InputFloat("N_V3", (&m_fUVValue3));
+
+ GUI::InputFloat("UV_Speed1", (&m_fUVSpeed1));
+ GUI::InputFloat("UV_Speed2", (&m_fUVSpeed2));
+ GUI::InputFloat("UV_Speed3", (&m_fUVSpeed3));
+
+ GUI::InputFloat("m_fRefractionStrength", (&m_fRefractionStrength));
+ GUI::InputFloat("m_fRefractionPow", (&m_fRefractionPow));
+
+ m_iLodIndex = max(0, m_iLodIndex);
+ m_iLodIndex = min(m_iMaxLodLevel, m_iLodIndex);
+
+ GUI::ColorEdit4("Refaction Color", (_float*)&m_vRefractionColor);
+ GUI::ColorEdit4("Surface Color", (_float*)&m_vSurfaceColor);
+ GUI::InputFloat("UV", (_float*)&m_fUVValue);
+ GUI::Text("----- Transfrom ----");
+ GUI::InputFloat("X##Position", &m_vPosition.x, 0.1f, 1.f);
+ GUI::InputFloat("Y##Position", &m_vPosition.y, 0.1f, 1.f);
+ GUI::InputFloat("Z##Position", &m_vPosition.z, 0.1f, 1.f);
+
+ if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LSHIFT))
+ {
+ if (m_pGameInstance->isPicking(&m_vPosition))
+ {
+ }
+ }
+
+ GUI::Text("----- Rotation ----");
+ GUI::InputFloat("X##Rotation", &m_vRotation.x, 10.f, 45.f);
+ GUI::InputFloat("Y##Rotation", &m_vRotation.y, 10.f, 45.f);
+ GUI::InputFloat("Z##Rotation", &m_vRotation.z, 10.f, 45.f);
+
+ GUI::Text("----- Scale ----");
+ GUI::InputFloat("X##Scale", &m_vScale.x, 0.1f, 1.f);
+ GUI::InputFloat("Y##Scale", &m_vScale.y, 0.1f, 1.f);
+ GUI::InputFloat("Z##Scale", &m_vScale.z, 0.1f, 1.f);
+
+ m_vScale.x = max(0.01f, m_vScale.x);
+ m_vScale.y = max(0.01f, m_vScale.y);
+ m_vScale.z = max(0.01f, m_vScale.z);
+
+ if (GUI::Button("Delete"))
+ m_bDead = true;
+ GUI::End();
+ m_bSelected = true;
+}
diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
index 9711db808..8925d8561 100644
--- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
@@ -58,7 +58,7 @@ HRESULT CMapObject_Manager::Initialize(void* pArg)
m_iContainerObjectIndex = 99;
//m_pContainer = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Building"))->Get_Object();
- if (FAILED(Load_MapData("Map1205")))
+ /*if (FAILED(Load_MapData("Map1205")))
return E_FAIL;
if (FAILED(Load_LightObject("LightElement")))
@@ -73,7 +73,7 @@ HRESULT CMapObject_Manager::Initialize(void* pArg)
if (FAILED(Load_InteractObject("E_INTER_TeaShopTable")))
return E_FAIL;
if (FAILED(Load_InteractObject("E_INTER_TeaShopChair")))
- return E_FAIL;
+ return E_FAIL;*/
/*if (FAILED(Load_LightObject("LightElement")))
diff --git a/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp b/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp
index 7d4879264..ec0ebb145 100644
--- a/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp
+++ b/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp
@@ -41,9 +41,12 @@ HRESULT CNomalJapSide::Initialize(void* pArg)
m_pWandParticle = Get_PartObject("WandParticle1");
+ m_pWandLight_R = Get_PartObject("Wand_Light_R");
m_pWandLight = Get_PartObject("Wand_Red_Long");
m_pWandTrail = Get_PartObject();
+
+ SAFE_ADDREF(m_pWandLight_R);
SAFE_ADDREF(m_pWandLight);
SAFE_ADDREF(m_pWandTrail);
SAFE_ADDREF(m_pWandParticle);
@@ -64,6 +67,7 @@ HRESULT CNomalJapSide::Initialize(void* pArg)
m_isTrailEnd = true;
XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix());
+ m_pWandLight_R->Set_Visible(false);
});
@@ -94,6 +98,7 @@ void CNomalJapSide::Update(_float fTimeDelta)
return;
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
// 파티클생성이 막히면 실행되지 않음
if (m_isParticleEnd == false)
@@ -130,6 +135,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg)
m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고
m_pWandLight->Set_Visible(true);
+ m_pWandLight_R->Set_Visible(true);
/*트레일 초기화 */
m_pWandTrail->Set_Visible(true);
@@ -139,7 +145,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg)
/*_vector pPos = pPlayer->Get_WandPos().r[3];*/
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
-
+ m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
return S_OK;
}
@@ -198,6 +204,7 @@ void CNomalJapSide::Free()
Safe_Release(m_pWandLight);
Safe_Release(m_pWandTrail);
Safe_Release(m_pWandParticle);
+ Safe_Release(m_pWandLight_R);
}
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Editor/Private/Player_States.cpp b/Jusin154_Team3D/Editor/Private/Player_States.cpp
index 799462395..1552449a9 100644
--- a/Jusin154_Team3D/Editor/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Editor/Private/Player_States.cpp
@@ -198,9 +198,6 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
else if (m_pGameInstance->Key_Down(DIK_G)) {
m_pFSM->Change_State(FSMSTATE::COMBAT);
}
- else if (m_pGameInstance->Key_Down(DIK_B)) {
- m_pFSM->Change_State(FSMSTATE::BROOM_RIDE);
- }
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp
index 80a160dc5..b7ffb105d 100644
--- a/Jusin154_Team3D/Editor/Private/Terrain.cpp
+++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp
@@ -26,108 +26,61 @@ HRESULT CTerrain::Initialize(void* pArg)
if (FAILED(__super::Initialize(pArg)))
return E_FAIL;
- if (FAILED(Ready_Components()))
+ if (FAILED(Ready_Components(pArg)))
return E_FAIL;
- if (FAILED(Ready_AlphaMap()))
- return E_FAIL;
m_fUsingSurfaceParams = 15.f / 27.f;
m_vRotation = _float3{ 0.f, 0.f, 0.f };
- m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-194, 18.5f, -153.f, 1.f));
+
+ TERRAIN_DESC* pDesc = static_cast(pArg);
+
+ m_isEdit = pDesc->isEdit;
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&pDesc->vPosition), 1.f));
+
+ if (FAILED(Ready_AlphaMap(pDesc)))
+ return E_FAIL;
//m_pVIBufferCom->Set_CullingRadius(0.04f);
- m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin");
+ if(!m_isEdit)
+ m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin");
// Psx 적용할지 안할지
m_bUsePsx = true;
- if(!m_bUsePsx)
- {
- if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin")))
- return E_FAIL;
- }
- else
- {
- CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{};
- Desc.pMeshName = TEXT("Hogsmeade_HeightMap");
- Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
- /* Com_RigidBody */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"),
- reinterpret_cast(&m_pRigidBody), &Desc))) {
- return E_FAIL;
- }
- }
+ //if(!m_bUsePsx)
+ //{
+ // if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin")))
+ // return E_FAIL;
+ //}
+ //else
+ //{
+ // CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{};
+ // Desc.pMeshName = TEXT("Hogsmeade_HeightMap");
+ // Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
+ // /* Com_RigidBody */
+ // if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"),
+ // reinterpret_cast(&m_pRigidBody), &Desc))) {
+ // return E_FAIL;
+ // }
+ //}
return S_OK;
}
void CTerrain::Priority_Update(_float fTimeDelta)
{
- GUI::Begin("Terrain");
-
-#pragma region ALPHA_MAP
- //GUI::InputInt("Color", &m_iColorIndex);
- //m_iColorIndex = max(0, min(4, m_iColorIndex));
-
- //GUI::InputInt("Rnage", (_int*)(&m_iMaskRange));
- //GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f);
- //if (GUI::Button("Save", ImVec2(100.f, 30.f)))
- //{
- // m_pAlphaMap->Save_ToFile("Hogsmeade_AlphaMap.bin");
- //}
- //if (GUI::Button("Load", ImVec2(100.f, 30.f)))
- //{
- // m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin");
- //}
-
-
- //GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f);
- if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON))
- {
- if (m_pGameInstance->isPicking(&m_vPickingPosition))
- {
- if (m_pGameInstance->Key_Pressing(DIK_PERIOD))
- m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue);
- if (m_pGameInstance->Key_Pressing(DIK_COMMA))
- m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f);
-
-
- //XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv()));
-
- //m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange);
-
- }
- }
-#pragma endregion
-
-#pragma region HEIGHT MAP
- HRESULT hr = {};
- if(GUI::Button("Save HeightMap"))
- hr = m_pVIBufferCom->Save_HeightMap("Hogsmeade_HeightMap2.bin");
- //if(GUI::Button("Load HeightMap"))
- // hr = m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin");
-#pragma endregion
-
- //_float4 vPos = {};
- //_float3 vRotation = {};
- //XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION));
- //GUI::DragFloat3("Pos", (_float*)(&vPos));
- //GUI::DragFloat3("Rota", (_float*)(&m_vRotation));
-
- //m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
- //m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos));
-
- //GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f);
-
- GUI::End();
}
void CTerrain::Update(_float fTimeDelta)
{
- //m_pVIBufferCom->Culling(XMMatrixIdentity());
+ if (m_isEdit)
+ Describe_Entity();
+
+ //m_pVIBufferCom->Culling(m_pTransformCom->Get_XMWorldMatrix());
if(m_pGameInstance->Key_Down(DIK_LSHIFT) && m_pGameInstance->Key_Down(DIK_W))
{
@@ -172,12 +125,14 @@ HRESULT CTerrain::Render()
return S_OK;
}
-HRESULT CTerrain::Ready_Components()
+HRESULT CTerrain::Ready_Components(void* pArg)
{
__super::Ready_Components(nullptr);
+ TERRAIN_DESC* pDesc = static_cast(pArg);
+
/* Com_VIBuffer */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"),
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->strBufferTag,
reinterpret_cast(&m_pVIBufferCom))))
return E_FAIL;
@@ -251,9 +206,53 @@ HRESULT CTerrain::Bind_ShaderResources()
return S_OK;
}
-HRESULT CTerrain::Ready_AlphaMap()
+HRESULT CTerrain::Bind_ShaderResources_Edit()
{
- m_pAlphaMap = CAlphaMap::Create(m_pDevice, m_pContext, 2048, 2048);
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fDiffuseMultiplier", &m_vDRN.x, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fSurfaceMultiplier", &m_vDRN.y, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalMultiplier", &m_vDRN.z, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
+ 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;
+ }
+
+ if (FAILED(m_pDiffuseTextureCom->Bind_ShaderResources(m_pShaderCom, "g_DiffuseTextures", 0, m_pDiffuseTextureCom->Get_Size()))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pNormalTextureCom->Bind_ShaderResources(m_pShaderCom, "g_NormalTextures", 0, m_pNormalTextureCom->Get_Size()))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pMROTextureCom->Bind_ShaderResources(m_pShaderCom, "g_SurfaceParamsTextures", 0, m_pMROTextureCom->Get_Size()))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_SRV("g_MaskTexture", m_pAlphaMap->Get_SRV()))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float))))
+ return E_FAIL;
+
+ return S_OK;
+}
+
+HRESULT CTerrain::Ready_AlphaMap(TERRAIN_DESC* pDesc)
+{
+ m_pAlphaMap = CAlphaMap::Create(m_pDevice, m_pContext, pDesc->iAlphaSizeX, pDesc->iAlphaSizeY);
if(nullptr == m_pAlphaMap)
return E_FAIL;
@@ -303,5 +302,62 @@ void CTerrain::Free()
void CTerrain::Describe_Entity()
{
+ GUI::Begin("Terrain");
+#pragma region ALPHA_MAP
+ GUI::InputInt("Color", &m_iColorIndex);
+ m_iColorIndex = max(0, min(4, m_iColorIndex));
+
+ GUI::InputInt("Rnage", (_int*)(&m_iMaskRange));
+ GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f);
+ if (GUI::Button("Save", ImVec2(100.f, 30.f)))
+ {
+ //m_pAlphaMap->Save_ToFile("Hogwart_AlphaMap.bin");
+ }
+ if (GUI::Button("Load", ImVec2(100.f, 30.f)))
+ {
+ //m_pAlphaMap->Load_ToFile("Hogwart_AlphaMap.bin");
+ }
+
+
+ //GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f);
+
+ if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON))
+ {
+ if (m_pGameInstance->isPicking(&m_vPickingPosition))
+ {
+ if (m_pGameInstance->Key_Pressing(DIK_PERIOD))
+ m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue);
+ if (m_pGameInstance->Key_Pressing(DIK_COMMA))
+ m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f);
+
+
+ XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv()));
+
+ m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange);
+
+ }
+ }
+#pragma endregion
+
+#pragma region HEIGHT MAP
+ HRESULT hr = {};
+ if(GUI::Button("Save HeightMap"))
+ hr = m_pVIBufferCom->Save_HeightMap("Hogwart.bin");
+ if(GUI::Button("Load HeightMap"))
+ hr = m_pVIBufferCom->Load_HeightMap("Hogwart.bin");
+#pragma endregion
+
+ _float4 vPos = {};
+ _float3 vRotation = {};
+ XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION));
+ GUI::DragFloat3("Pos", (_float*)(&vPos));
+ GUI::DragFloat3("Rota", (_float*)(&m_vRotation));
+
+ m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
+ m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos));
+
+ //GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f);
+
+ GUI::End();
}
diff --git a/Jusin154_Team3D/Editor/Private/Unified.cpp b/Jusin154_Team3D/Editor/Private/Unified.cpp
new file mode 100644
index 000000000..3594e34ef
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Unified.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "Unified.h"
+
+#include "GameInstance.h"
+
+CUnified::CUnified(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CGameObject{ pDevice, pContext }
+{
+}
+
+CUnified::CUnified(const CUnified& rhs)
+ : CGameObject(rhs)
+{
+}
+
+void CUnified::Priority_Update(_float fTimeDelta)
+{
+}
+
+void CUnified::Update(_float fTimeDelta)
+{
+ Describe_Entity();
+}
+
+void CUnified::Late_Update(_float fTimeDelta)
+{
+ if(m_isVisible)
+ m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+}
+
+HRESULT CUnified::Render()
+{
+ 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->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pModelCom->Render(i))) {
+ return E_FAIL;
+ }
+ }
+
+ return S_OK;
+}
+
+HRESULT CUnified::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CUnified::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-291.2f,17.2f, -474.7f, 1.f));
+ m_fUsingSurfaceParams = 0.f;
+
+ return S_OK;
+}
+
+HRESULT CUnified::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ /* Com_Model */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_GameObject_SM_HW_HogwartsShell_B"),
+ reinterpret_cast(&m_pModelCom))))
+ return E_FAIL;
+
+ /* Com_Shader */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
+ reinterpret_cast(&m_pShaderCom))))
+ return E_FAIL;
+
+ return S_OK;
+}
+
+HRESULT CUnified::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
+ 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;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CUnified* CUnified::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CUnified* pInstance = new CUnified(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CUnified");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CUnified::Clone(void* pArg, CGameObject* pOwner)
+{
+ CUnified* pInstance = new CUnified(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CUnified");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+void CUnified::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pModelCom);
+}
+
+void CUnified::Describe_Entity()
+{
+ GUI::Begin("Unified");
+ GUI::Checkbox("Visible ON / OFF", &m_isVisible);
+
+ GUI::End();
+}
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index 31567545a..2c4d01e35 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -19,13 +19,13 @@ namespace Editor
enum class MAPOBJECT_RENDER_TYPE { NORMAL, DECAL, GLASS };
enum class SHADER_PASS_ANIM { DEFAULT, SHADOW, CAPTURE, BLUR, HAIR, EYELASH, OUTLINE_WRITE, OUTLINE_READ, END };
- enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, END };
+ enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, LAKE, END };
enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, ENV_TERRAIN_ANISO, SHADOW, END };
enum class SHADER_PASS_PARTICLE { EXPLOSION, END };
enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END };
- enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, END };
+ enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, END };
enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW,ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, END };
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, END };
@@ -41,7 +41,10 @@ namespace Editor
BEAST_PETTING_BRUSH, BEAST_FEED, NAB_SACK, // 하늘색
JAP, REVELIO, PROTEGO, STUPEFY, // 검은색
ANCIENT_MAGIC_THROW, ANCIENT_MAGIC, ALOHOMORA, PETRIFICUS_TOTALUS,
- JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, END
+ JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE,
+
+ TROLL_ATTACK , TROLL_SIDE ,
+ END
};
enum class BLOOM_TYPE { NONE, BASIC, MULTIPLY, END };
diff --git a/Jusin154_Team3D/Editor/Public/EffectObject.h b/Jusin154_Team3D/Editor/Public/EffectObject.h
index 3f76364b2..797585188 100644
--- a/Jusin154_Team3D/Editor/Public/EffectObject.h
+++ b/Jusin154_Team3D/Editor/Public/EffectObject.h
@@ -104,19 +104,31 @@ class CEffectObject abstract : public CPartObject
_float2 vDissolveUVGainAmount = {};
_bool isDissolveMove = {};
-
-
_float3 vDissolveValue = {};
- _float3 vPadding1 = {};
-
- _float fPadding0 = {};
+ _float2 vPadding0 = {};
+ _float fLightDeley = {};
+ _float fLightIntensity = {};
_float isLightTime = { 0.f };
_bool isLightDissolve = {};
+ _bool isPadding0 = {};
+
+ _float4 vDissolveColor = {};
+ _float2 vDissolveColorCut = {};
+
+ _float3 vPadding1 = {};
+ _float4 vPadding2 = {};
+ _float4 vPadding3 = {};
+ _float4 vPadding4 = {};
+ _float4 vPadding5 = {};
+
_bool isPadding1 = {};
+ _bool isPadding2 = {};
+ _bool isPadding3 = {};
+ _bool isPadding4 = {};
}EFFECT_INFO;
@@ -211,13 +223,15 @@ class CEffectObject abstract : public CPartObject
_float3 vDissolveValue = {};
- _float3 vPadding1 = {};
-
- _float fPadding0 = {};
- _float fPadding1 = {};
+ _float2 vPadding1 = {};
+ _float fLightDeley = {};
+ _float fLightIntensity = {};
+ _float isLightTime = { 0.f };
_bool isLightDissolve = {};
+
_bool isPadding1 = {};
+
}PRE_EFFECT_INFO;
protected:
diff --git a/Jusin154_Team3D/Editor/Public/Level_MapViewer.h b/Jusin154_Team3D/Editor/Public/Level_MapViewer.h
index 941fca2e3..824e00a32 100644
--- a/Jusin154_Team3D/Editor/Public/Level_MapViewer.h
+++ b/Jusin154_Team3D/Editor/Public/Level_MapViewer.h
@@ -23,6 +23,7 @@ class CLevel_MapViewer final : public CLevel
HRESULT Ready_Layer_Terrain(const _wstring& strLayerTag);
HRESULT Ready_Layer_InstanceProp(const _wstring& strLayerTag);
HRESULT Ready_Layer_BuildingContainer(const _wstring& strLayerTag);
+ HRESULT Ready_Layer_Unified(const _wstring& strLayerTag);
HRESULT Ready_Layer_MapObjectManager(const _wstring& strLayerTag);
diff --git a/Jusin154_Team3D/Editor/Public/MapElement.h b/Jusin154_Team3D/Editor/Public/MapElement.h
index 9ffdd20d3..cf690b17b 100644
--- a/Jusin154_Team3D/Editor/Public/MapElement.h
+++ b/Jusin154_Team3D/Editor/Public/MapElement.h
@@ -27,9 +27,6 @@ class CMapElement abstract : public CGameObject
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
-
-
-
protected:
_bool m_bSelected = { false };
_uint m_iMaxLodLevel = {};
diff --git a/Jusin154_Team3D/Editor/Public/MapElement_Lake.h b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h
new file mode 100644
index 000000000..b876abd17
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h
@@ -0,0 +1,67 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "MapElement.h"
+
+NS_BEGIN(Engine)
+class CTexture;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CMapElement_Lake final : public CMapElement
+{
+public:
+ typedef struct tagMapObejct_Lake_Desc : public MAPOBJECT_LOD_DESC
+ {
+ vector<_wstring> SurfaceModelPrototypeTags;
+ }MAPOBJECT_LAKE_DESC;
+
+private:
+ CMapElement_Lake(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CMapElement_Lake(const CMapElement_Lake& rhs);
+ virtual ~CMapElement_Lake() = default;
+
+public:
+ 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:
+ CTexture* m_pNormalTextureCom = { nullptr };
+ CTexture* m_pNormalLargeTextureCom = { nullptr };
+ CTexture* m_pNormalSubTextureCom = { nullptr };
+ CTexture* m_pCausticsTextureCom = { nullptr };
+ CTexture* m_pNoiseTextureCom = { nullptr };
+ CTexture* m_pCubeMapTextureCom = { nullptr };
+
+ _float m_fRefractionStrength = {0.1f};
+ _float m_fRefractionPow = {5.f};
+ _float m_fTimeAcc = {};
+ _float m_fUVValue = {0.05f};
+ _float m_fUVValue1 = {10.f};
+ _float m_fUVValue2 = {20.f};
+ _float m_fUVValue3 = {10.f};
+
+ _float m_fUVSpeed1 = { 0.01f };
+ _float m_fUVSpeed2 = { 0.001f };
+ _float m_fUVSpeed3 = { 0.01f };
+
+ _float4 m_vRefractionColor = {};
+ _float4 m_vSurfaceColor = {};
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Bind_ShaderResources() override;
+
+public:
+ static CMapElement_Lake* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/NomalJapSide.h b/Jusin154_Team3D/Editor/Public/NomalJapSide.h
index 1185a2ba5..c477d7263 100644
--- a/Jusin154_Team3D/Editor/Public/NomalJapSide.h
+++ b/Jusin154_Team3D/Editor/Public/NomalJapSide.h
@@ -36,7 +36,7 @@ class CNomalJapSide final : public CEffect_Container
_bool m_isTrailEnd = {};
_float4x4 m_TrailStopMat = {};
-
+ class CEditEffect* m_pWandLight_R = { nullptr };
class CEditEffect* m_pWandLight = { nullptr };
class CTrailObject* m_pWandTrail = { nullptr };
class CEditEffect* m_pWandParticle = { nullptr };
diff --git a/Jusin154_Team3D/Editor/Public/Terrain.h b/Jusin154_Team3D/Editor/Public/Terrain.h
index bb316dae2..f3a2fc158 100644
--- a/Jusin154_Team3D/Editor/Public/Terrain.h
+++ b/Jusin154_Team3D/Editor/Public/Terrain.h
@@ -14,6 +14,16 @@ NS_BEGIN(Editor)
class CTerrain final : public CGameObject
{
+public:
+ typedef struct tagTerrainDesc
+ {
+ _bool isEdit;
+ _uint iAlphaSizeX;
+ _uint iAlphaSizeY;
+ _float3 vPosition;
+ _wstring strBufferTag;
+ }TERRAIN_DESC;
+
private:
CTerrain(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CTerrain(const CTerrain& Prototype);
@@ -38,6 +48,7 @@ class CTerrain final : public CGameObject
CRigidBody_Static* m_pRigidBody = { nullptr };
_bool m_bUsePsx = { false };
+ _bool m_isEdit = {};
_float m_fUsingSurfaceParams = {};
_float m_fHeightRatio = {1.f};
@@ -60,9 +71,10 @@ class CTerrain final : public CGameObject
_bool m_bWasWireFrame = { false };
private:
- HRESULT Ready_Components();
+ HRESULT Ready_Components(void* pArg);
HRESULT Bind_ShaderResources();
- HRESULT Ready_AlphaMap();
+ HRESULT Bind_ShaderResources_Edit();
+ HRESULT Ready_AlphaMap(TERRAIN_DESC* pDesc);
public:
static CTerrain* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Editor/Public/Unified.h b/Jusin154_Team3D/Editor/Public/Unified.h
new file mode 100644
index 000000000..9c8cd49a7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Unified.h
@@ -0,0 +1,56 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "GameObject.h"
+
+NS_BEGIN(Engine)
+class CModel;
+class CShader;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CUnified final : public CGameObject
+{
+private:
+ CUnified(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CUnified(const CUnified& rhs);
+ virtual ~CUnified() = default;
+
+public:
+ _uint Get_LodLevel() const { return m_iMaxLodLevel; }
+
+public:
+ 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:
+ _bool m_bSelected = { false };
+ _bool m_isVisible = { true };
+
+ _uint m_iMaxLodLevel = {};
+ _uint m_iLodIndex = {};
+ _float m_fUsingSurfaceParams = {};
+
+ CShader* m_pShaderCom = { nullptr };
+ CModel* m_pModelCom = { nullptr };
+ _float4 m_vPosition = {};
+
+ _float4x4 m_ProjMatrix = {};
+ _float4x4 m_ViewMatrix = {};
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Bind_ShaderResources() override;
+
+public:
+ static CUnified* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
index be4a346f6..c0ce8251b 100644
--- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
+++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl
@@ -1,4 +1,5 @@
#include "Engine_Shader_Functions.hlsli"
+#include "Engine_Shader_Defines.hlsli"
struct Particle
{
@@ -41,13 +42,18 @@ struct ParticleValue
float fSizeDrag;
float3 vDeltaSize;
float2 vDelay;
-
+
+ bool isCompareStop;
+ float fCollisionTime;
+ float fDropAttenuation;
};
StructuredBuffer g_ParticleBufferInput : register(t0);
StructuredBuffer g_ParticleValueBufferInput : register(t1);
+Texture2D g_DepthTexture : register(t2);
+
RWStructuredBuffer g_VBInstanceOutput : register(u0);
RWStructuredBuffer g_ParticleValueOutput : register(u1);
@@ -66,14 +72,23 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐
bool isSizeMove;
bool isNoWorld;
- bool isPadding0;
+ bool isDetphCompareStop;
bool isPadding1;
bool isPadding2;
float fTimeDelta;
float fSizeLerpOption; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
float fMoveLerpOption;
- float fPadding3;
+ float fFar;
+
+ row_major matrix ViewMatrix;
+ row_major matrix ProjMatrix;
+
+ float2 vScreenSize;
+ float fPadding0;
+ float fPadding1;
+
+
}
//내가 몇개의 스레드를 사용할 것인지 지정하는데
@@ -84,16 +99,20 @@ void CS_MAIN(
{
int iIndex = DispatchThreadID.x; // 배열 인덱스
+
+
Particle particle = g_ParticleBufferInput[iIndex];
ParticleValue particleValue = g_ParticleValueBufferInput[iIndex];
+
+ float fGravity = particleValue.fGravity;
+ float fOnlyDropY = 0.f;
particleValue.vDelay.x += fTimeDelta;
if (particleValue.vDelay.x < particleValue.vDelay.y)
{
-
-
+
g_VBInstanceOutput[iIndex] = particle;
g_ParticleValueOutput[iIndex] = particleValue;
@@ -119,6 +138,10 @@ void CS_MAIN(
// 라이프타임 움직임
particle.vLifeTime.x += fTimeDelta;
+
+ /* 내 z가 가려지는 상황이었다면 연산하지않음*/
+
+
if (particle.vLifeTime.x >= particle.vLifeTime.y)
{
if (isLoop == false)
@@ -134,15 +157,37 @@ void CS_MAIN(
particle.vLifeTime.x = 0.f;
particleValue.vAniIndex.x = 0.f;
particleValue.vDelay.x = 0.f;
-
-
+ particleValue.isCompareStop = false;
+ particleValue.fCollisionTime = 0.f;
g_VBInstanceOutput[iIndex] = particle;
g_ParticleValueOutput[iIndex] = particleValue;
return ;
}
-
+
+
+ if (isDrop == true)
+ {
+ if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때
+ {
+ // 내 현재 시간의 비례
+ // 0.0 ~ 3
+
+ // 2초에 부딧혓으면
+ // 2 - 2 / 3 - 2
+ // 0 ~ 1 cos(0) * - 1
+
+ float fRatio = saturate((particle.vLifeTime.x - particleValue.fCollisionTime) / (particle.vLifeTime.y - particleValue.fCollisionTime));
+
+ fGravity *= (2.f * fRatio - 1.f) / particleValue.fDropAttenuation;
+ }
+
+ particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * fGravity;
+ fOnlyDropY = particle.vTranslation.y;
+ }
+
+
if (isMoveForward)
{
@@ -179,12 +224,7 @@ void CS_MAIN(
particle.vTranslation += vVelocity * fTimeDelta * fDrag;
}
-
- if (isDrop == true)
- {
- particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * particleValue.fGravity;
- }
-
+
/* 사인 웨이브 */
if(isSinWave == true)
{
@@ -232,6 +272,51 @@ void CS_MAIN(
particle.vLook = CurRotatemat[2].xyzw;
+ }
+
+ if (isDetphCompareStop)
+ {
+ float2 vTexcoord;
+
+ float4x4 matW, matWV, matWVP;
+
+ row_major float4x4 TransformMatrix = float4x4(particle.vRight, particle.vUp, particle.vLook, particle.vTranslation);
+
+ matW = mul(TransformMatrix, WorldMatrix);
+ matWV = mul(matW, ViewMatrix);
+ matWVP = mul(matWV, ProjMatrix);
+
+ float4 vProjPos = mul(WorldMatrix[3], matWVP);
+
+ vTexcoord.x = vProjPos.x / vProjPos.w * 0.5f + 0.5f;
+ vTexcoord.y = vProjPos.y / vProjPos.w * -0.5f + 0.5f;
+
+ uint2 vPixelUV;
+
+ /* 스크린 좌표로 변환 */
+ vPixelUV.x = vTexcoord.x * vScreenSize.x;
+ vPixelUV.y = vTexcoord.y * vScreenSize.y;
+
+ float4 vDepthDesc = g_DepthTexture.Load(int3(vPixelUV, 0));
+
+ float fOldViewZ = vDepthDesc.y * fFar;
+
+ if (vProjPos.w >= fOldViewZ)
+ {
+ if (particleValue.isCompareStop == false)
+ {
+ particleValue.isCompareStop = true; // 내가 지면에 사라지는 순간
+ particleValue.fCollisionTime = particle.vLifeTime.x;
+
+ }
+ }
+
+ if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때
+ {
+ particle.vTranslation.y = fOnlyDropY; // 지면에 부딪혓을때 이제 y연산은 오직 drop으로만 수행함
+ }
+
+
}
if (isSizeMove == true)
diff --git a/Jusin154_Team3D/Engine/Default/Engine.vcxproj b/Jusin154_Team3D/Engine/Default/Engine.vcxproj
index b87aad2df..a17f9ac2f 100644
--- a/Jusin154_Team3D/Engine/Default/Engine.vcxproj
+++ b/Jusin154_Team3D/Engine/Default/Engine.vcxproj
@@ -300,7 +300,9 @@ call Update_Lib.bat
+
+
@@ -550,7 +552,9 @@ call Update_Lib.bat
+
+
diff --git a/Jusin154_Team3D/Engine/Default/Engine.vcxproj.filters b/Jusin154_Team3D/Engine/Default/Engine.vcxproj.filters
index 43cd1ad68..f48a68822 100644
--- a/Jusin154_Team3D/Engine/Default/Engine.vcxproj.filters
+++ b/Jusin154_Team3D/Engine/Default/Engine.vcxproj.filters
@@ -295,6 +295,12 @@
{7c82051e-19af-4284-8156-16f504db30b6}
+
+ {ea9648d8-6a9a-41d2-8b8f-ea6937017372}
+
+
+ {b31a93a4-8bba-4e94-8008-bbb9b458a55e}
+
@@ -564,6 +570,12 @@
03.Management\02.Resource_Manager
+
+ 02.Element\02.Component\12.Stat
+
+
+ 02.Element\02.Component\12.Stat\Event
+
@@ -1199,6 +1211,12 @@
03.Management\02.Resource_Manager
+
+ 02.Element\02.Component\12.Stat
+
+
+ 02.Element\02.Component\12.Stat\Event
+
diff --git a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp
index d4e668c26..c30a60077 100644
--- a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp
+++ b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp
@@ -116,6 +116,13 @@ void CComputeShader::Bind_OutPut_SRV(_uint iIndex, _uint iBufferIndex)
}
+void CComputeShader::Bind_OutPut_SRV_VS(_uint iIndex, _uint iBufferIndex)
+{
+ m_pContext->VSSetShaderResources(iIndex, // 시작슬롯 번호
+ 1, // 버퍼 개수
+ &m_pOutputSRV[iBufferIndex]); // 버퍼 시작 주
+}
+
ID3D11UnorderedAccessView* CComputeShader::GetOutputUAV(_uint iIndex) const
{
return m_pOutputUAV[iIndex];
@@ -147,6 +154,8 @@ vector CComputeShader::ReadBackOutputs()
}
+
+
void CComputeShader::Reset()
{
//다음 랜더링 패스에 연관되지 않도록 초기화
diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp
index 822065287..006949a92 100644
--- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp
+++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp
@@ -119,6 +119,9 @@ HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11De
return E_FAIL;
}
+
+ m_vViewPortSize = _float2((_float)EngineDesc.iWinSizeX, (_float)EngineDesc.iWinSizeY);
+
return S_OK;
}
@@ -128,6 +131,7 @@ void CGameInstance::Update_Engine(_float fTimeDelta)
m_pMouse_Manager->Update();
//m_pSound_Manager->Update();
#ifdef _DEBUG
+ m_pResource_Manager->Describe_Entity();
m_pFog->Update_Fog();
#endif // _DEBUG
m_pPicking->Update();
@@ -197,6 +201,11 @@ _float CGameInstance::Real_Random_Float (_float iMin, _float iMax)
return rand(m_Rng);
}
+_float2 CGameInstance::Get_ViewPortSize()
+{
+ return m_vViewPortSize;
+}
+
void CGameInstance::BillBoard(CTransform* pTransform)
{
_matrix ScaleMatrix = {};
@@ -605,6 +614,10 @@ HRESULT CGameInstance::Finish_RenderTarget(CVIBuffer_Rect* pVIBuffer, CShader* p
{
return m_pRenderTarget_Manager->Finish_RenderTarget(pVIBuffer, pShader, wstrRenderTargetOriginal, wstrRenderTargetBloomed, ePass);
}
+HRESULT CGameInstance::Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag)
+{
+ return m_pRenderTarget_Manager->Bind_CS_RenderTarget(iIndex, strTargetTag);
+}
#ifdef _DEBUG
void CGameInstance::RenderTarget_Debuger()
{
diff --git a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp
index bfd7916d1..593d19408 100644
--- a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp
+++ b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp
@@ -411,11 +411,6 @@ HRESULT CInstance_Model::Change_NumInstance()
return E_FAIL;
-
-
-
-
-
return S_OK;
}
@@ -546,10 +541,19 @@ void CInstance_Model::Drop(_float fTimeDelta)
pDesc->isPivotMove = m_InstanceDesc.isPivotMove;
pDesc->isSizeLerp = m_InstanceDesc.isSizeLerp;
pDesc->isNoWorld = m_InstanceDesc.isNoWorld;
+ pDesc->isDetphCompareStop = m_InstanceDesc.isDetphCompareStop;
+
pDesc->WorldMatrix = *m_pOwner->Get_Component()->Get_WorldMatrixPtr();
pDesc->fSizeLerpOption = m_InstanceDesc.fSizeLerpOption;
pDesc->fMoveLerpOption = m_InstanceDesc.fMoveLerpOption;
+ pDesc->ViewMatrix = *m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW);
+ pDesc->ProjMatrix = *m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ);
+ pDesc->fFar = *m_pGameInstance->Get_CurrentCameraFar();
+ pDesc->vScreenSize = m_pGameInstance->Get_ViewPortSize();
+
+
+
m_pContext->Unmap(m_pConstantBuffer, 0);
}
@@ -567,6 +571,8 @@ void CInstance_Model::Drop(_float fTimeDelta)
vector OutSubResources = {};
D3D11_MAPPED_SUBRESOURCE VBInstanceResource = {};
+ m_pGameInstance->Bind_CS_RenderTarget(2, L"Target_Depth");
+
OutSubResources = m_pComputeShader->Dispatch(0, 0, _float3((_float)iGroupCountX, 1.f, 1.f), CSBuffers, m_pConstantBuffer);
if (SUCCEEDED(m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_DISCARD, 0, &VBInstanceResource)))
@@ -719,6 +725,8 @@ void CInstance_Model::Instane_Buffer_ReStruct()
pParticleValues[i].fDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vDrag.x, m_InstanceDesc.vDrag.y);
pParticleValues[i].fSizeDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vSizeDrag.x, m_InstanceDesc.vSizeDrag.y);
pParticleValues[i].vDelay = _float2(0.0f, m_pGameInstance->Random_Float(m_InstanceDesc.vDelay.x, m_InstanceDesc.vDelay.y));
+ pParticleValues[i].isCompareStop = false;
+ pParticleValues[i].fDropAttenuation = m_pGameInstance->Random_Float(m_InstanceDesc.vDropAttenuation.x, m_InstanceDesc.vDropAttenuation.y);
memcpy(&pParticleValues[i].vOriginRight, SRMatrix.m[0], sizeof(_float4));
memcpy(&pParticleValues[i].vOriginUp, SRMatrix.m[1], sizeof(_float4));
@@ -745,7 +753,17 @@ HRESULT CInstance_Model::Bind_CS_Output(_uint Index, _uint iBufferIndex)
return S_OK;
}
-
+HRESULT CInstance_Model::Bind_OutPut_SRV_VS(_uint Index, _uint iBufferIndex)
+{
+ if (m_pComputeShader == nullptr)
+ return E_FAIL;
+
+ m_pComputeShader->Bind_OutPut_SRV_VS(Index, iBufferIndex);
+
+ return S_OK;
+
+}
+
CInstance_Model* CInstance_Model::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pModelFilePath, MODEL eType, _fmatrix& PreTransformMatrix, _uint iRootBoneIndex)
{
CInstance_Model* pInstance = new CInstance_Model(pDevice, pContext);
@@ -849,6 +867,10 @@ void CInstance_Model::Describe_Entity()
Instane_Buffer_ReStruct();
}
+ if (GUI::Checkbox("DetphCompareStop", &m_InstanceDesc.isDetphCompareStop))
+ {
+ Instane_Buffer_ReStruct();
+ }
if (ImGui::DragFloat3("SizeMin", reinterpret_cast<_float*>(&m_InstanceDesc.vSizeMin)))
{
@@ -1013,6 +1035,13 @@ void CInstance_Model::Describe_Entity()
}
+ if (ImGui::DragFloat2("DropAttenuation", reinterpret_cast<_float*>(&m_InstanceDesc.vDropAttenuation)))
+ {
+ Instane_Buffer_ReStruct();
+ }
+
+
+
ImGui::PopItemWidth();
ImGui::TreePop();
}
diff --git a/Jusin154_Team3D/Engine/Private/Light.cpp b/Jusin154_Team3D/Engine/Private/Light.cpp
index 5b61aa769..34f528f09 100644
--- a/Jusin154_Team3D/Engine/Private/Light.cpp
+++ b/Jusin154_Team3D/Engine/Private/Light.cpp
@@ -126,19 +126,19 @@ HRESULT CLight::Render(CShader* pShader, CVIBuffer* pVIBuffer) const
/* 라이트를 서서히 감쇄시키기 위한 감쇄값 */
- _float4 vAmbient = _float4(m_LightDesc.vAmbient.x * m_fAmbientRatio,
- m_LightDesc.vAmbient.y * m_fAmbientRatio,
- m_LightDesc.vAmbient.z * m_fAmbientRatio,
- m_LightDesc.vAmbient.w * m_fAmbientRatio);
- if (FAILED(pShader->Bind_RawValue("g_vLightAmbient", &vAmbient, sizeof(_float4)))) {
+
+
+ if (FAILED(pShader->Bind_RawValue("g_vLightAmbient", &m_LightDesc.vAmbient, sizeof(_float4)))) {
return E_FAIL;
}
if (FAILED(pShader->Bind_RawValue("g_vLightSpecular", &m_LightDesc.vSpecular, sizeof(_float4)))) {
return E_FAIL;
}
- if (FAILED(pShader->Bind_RawValue("g_fLightIntensity", &m_fLightIntensity, sizeof(_float)))) {
+ _float fLightIntensity = m_fIntensityRatio * m_fLightIntensity;
+
+ if (FAILED(pShader->Bind_RawValue("g_fLightIntensity", &fLightIntensity, sizeof(_float)))) {
return E_FAIL;
}
if (FAILED(pShader->Begin(iPassIndex))) {
diff --git a/Jusin154_Team3D/Engine/Private/Material.cpp b/Jusin154_Team3D/Engine/Private/Material.cpp
index 22a4b781e..f348bf477 100644
--- a/Jusin154_Team3D/Engine/Private/Material.cpp
+++ b/Jusin154_Team3D/Engine/Private/Material.cpp
@@ -313,6 +313,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "Diff")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
+ else if (!strcmp(FileType.c_str(), "Diffuse")){
+ eTexture = aiTextureType::aiTextureType_DIFFUSE;
+ }
else if (!strcmp(FileType.c_str(), "d")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
@@ -325,6 +328,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "normal")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
+ else if (!strcmp(FileType.c_str(), "Normal")){
+ eTexture = aiTextureType::aiTextureType_NORMALS;
+ }
else if (!strcmp(FileType.c_str(), "Norm")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
@@ -498,6 +504,7 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader)
}
} break;
case aiTextureType_AMBIENT:
+ pConstantName = "g_AmbientTexture";
break;
case aiTextureType_EMISSIVE:
pConstantName = "g_EmissiveTexture";
@@ -534,6 +541,7 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader)
case aiTextureType_DIFFUSE_ROUGHNESS:
break;
case aiTextureType_AMBIENT_OCCLUSION:
+ pConstantName = "g_AmbientOcclusionTexture";
break;
case aiTextureType_UNKNOWN:
break;
@@ -567,9 +575,12 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader)
}
}
if (true == bBinded[iTextureType]) {
- if (FAILED(pShader->Bind_SRV(pConstantName, m_SRVs[iTextureType][0]))) {
+ if (0 == strcmp(pConstantName, "")) { // 미사용 SRV
return S_OK;
}
+ if (FAILED(pShader->Bind_SRV(pConstantName, m_SRVs[iTextureType][0]))) {
+ return E_FAIL;
+ }
}
}
if (FAILED(pShader->Bind_RawValue("g_bBinded_Texture", &bBinded, sizeof(bBinded)))) {
diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp
index 83233ea77..49e52814e 100644
--- a/Jusin154_Team3D/Engine/Private/Mesh.cpp
+++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp
@@ -77,14 +77,15 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, vector& Bones, co
{
case Engine::MODEL::NONANIM:
case Engine::MODEL::PBR_NONANIM:
+ case Engine::MODEL::ENVIROMENT:
hr = Ready_VertexBuffer_For_NonAnim(pAIMesh, PreTransformMatrix);
break;
+
case Engine::MODEL::ANIM:
case Engine::MODEL::PBR_ANIM:
hr = Ready_VertexBuffer_For_Anim(Bones, pAIMesh);
break;
- case Engine::MODEL::ENVIROMENT:
- break;
+
default:
break;
}
@@ -185,7 +186,7 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, const CModel* pModel, SaveMesh*
m_Vertices.clear();
m_Vertices.reserve(_SaveMesh->Vertices.size());
- XMMATRIX matPre = PreTransformMatrix;
+ _matrix matPre = PreTransformMatrix;
for (size_t i = 0; i < _SaveMesh->Vertices.size(); ++i)
{
@@ -203,14 +204,15 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, const CModel* pModel, SaveMesh*
{
case Engine::MODEL::NONANIM:
case Engine::MODEL::PBR_NONANIM:
+ case Engine::MODEL::ENVIROMENT:
hr = Ready_VertexBuffer_For_NonAnim(_SaveMesh, PreTransformMatrix);
break;
+
case Engine::MODEL::ANIM:
case Engine::MODEL::PBR_ANIM:
hr = Ready_VertexBuffer_For_Anim(pModel, _SaveMesh);
break;
- case Engine::MODEL::ENVIROMENT:
- break;
+
default:
break;
}
@@ -266,6 +268,7 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
for (_uint i = 0; i < m_iNumVertices; ++i)
{
memcpy(&pVertices[i].vPosition, &SaveMesh->Vertices[i].Pos, sizeof(_float3));
+ memcpy(&m_pVertexPositions[i], &SaveMesh->Vertices[i].Pos, sizeof(_float3));
XMStoreFloat3(&pVertices[i].vPosition,
XMVector3TransformCoord(XMLoadFloat3(&pVertices[i].vPosition), PreTransformMatrix));
@@ -426,9 +429,9 @@ PSX::PxTriangleMesh* CMesh::ConvertToPxMesh(const PSX::PxCookingParams* pParam,
tMeshDesc.points.stride = sizeof(PSX::PxVec3);
Vertices.resize(m_iNumVertices);
XMVector3TransformCoordStream(
- reinterpret_cast(Vertices.data()), // dest
+ reinterpret_cast<_float3*>(Vertices.data()), // dest
sizeof(PSX::PxVec3),
- reinterpret_cast(m_pVertexPositions), // src
+ reinterpret_cast(m_pVertexPositions), // src
sizeof(PSX::PxVec3),
m_iNumVertices,
WorldMatrix
diff --git a/Jusin154_Team3D/Engine/Private/PipeLine.cpp b/Jusin154_Team3D/Engine/Private/PipeLine.cpp
index 5f8e56edc..ba7c79106 100644
--- a/Jusin154_Team3D/Engine/Private/PipeLine.cpp
+++ b/Jusin154_Team3D/Engine/Private/PipeLine.cpp
@@ -94,6 +94,11 @@ HRESULT CPipeLine::Initialize()
m_vOriginalPoints[6] = _float4(1.f, -1.f, 1.f, 1.f); // RB
m_vOriginalPoints[7] = _float4(-1.f, -1.f, 1.f, 1.f); // LB
+ for (_uint i = ENUM_CLASS(D3DTS::VIEW); i < ENUM_CLASS(D3DTS::END); ++i)
+ {
+ XMStoreFloat4x4(&m_TransformStateMatrices[i], XMMatrixIdentity());
+ }
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Engine/Private/Prototype_Manager.cpp b/Jusin154_Team3D/Engine/Private/Prototype_Manager.cpp
index 9e5192594..107a7be76 100644
--- a/Jusin154_Team3D/Engine/Private/Prototype_Manager.cpp
+++ b/Jusin154_Team3D/Engine/Private/Prototype_Manager.cpp
@@ -98,7 +98,6 @@ HRESULT CPrototype_Manager::Ready_StaticComponents()
if (FAILED(Add_Prototype(g_iStaticLevel, CLight::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Engine/Private/QuadTree.cpp b/Jusin154_Team3D/Engine/Private/QuadTree.cpp
index 0ccfc96ed..e59222d59 100644
--- a/Jusin154_Team3D/Engine/Private/QuadTree.cpp
+++ b/Jusin154_Team3D/Engine/Private/QuadTree.cpp
@@ -24,8 +24,7 @@ void CQuadTree::Set_CullingRadius(_float fRadius)
void CQuadTree::Culling(CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices)
{
/* 해당 노드에서 그릴건지 확인 */
- if (nullptr == m_pChildren[CORNER_LT] ||
- true == isDraw(pGameInstance, pVertexPositions))
+ if (nullptr == m_pChildren[CORNER_LT] || true == isDraw(pGameInstance, pVertexPositions))
{
_bool isDraw[NEIGHBOR_END] = { true, true, true, true };
diff --git a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp
index fb0294ef9..c404e8cb4 100644
--- a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp
+++ b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp
@@ -199,6 +199,23 @@ HRESULT CRenderTarget_Manager::Paste_RenderTarget(const _wstring& strTargetTag,
return S_OK;
}
+HRESULT CRenderTarget_Manager::Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag)
+{
+ CRenderTarget* pRenderTarget = Find_RenderTarget(strTargetTag);
+
+ if (nullptr == pRenderTarget) {
+ return E_FAIL;
+ }
+
+ ID3D11ShaderResourceView* pSrc = pRenderTarget->Get_SRV();
+
+ m_pContext->CSSetShaderResources(iIndex, // 시작슬롯 번호
+ 1, // 버퍼 개수
+ &pSrc); // 버퍼 시작 주소
+
+ return S_OK;
+}
+
HRESULT CRenderTarget_Manager::Accumulate_RenderTarget(CVIBuffer_Rect* pVIBuffer, CShader* pShader,
const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB,
const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass)
diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp
index 0252491b9..6493205c2 100644
--- a/Jusin154_Team3D/Engine/Private/Renderer.cpp
+++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp
@@ -428,6 +428,8 @@ void CRenderer::Render_Effect()
return;
}
+
+
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::EFFECT)])
{
if (nullptr != pRenderObject)
@@ -649,6 +651,7 @@ void CRenderer::Render_Blend()
return pSour->Get_Depth() > pDest->Get_Depth();
});
+
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BLEND)])
{
if (nullptr != pRenderObject) {
diff --git a/Jusin154_Team3D/Engine/Private/Resource_Manager.cpp b/Jusin154_Team3D/Engine/Private/Resource_Manager.cpp
index 29a6760f8..96f860c8f 100644
--- a/Jusin154_Team3D/Engine/Private/Resource_Manager.cpp
+++ b/Jusin154_Team3D/Engine/Private/Resource_Manager.cpp
@@ -4,27 +4,65 @@
CResource_Manager::CResource_Manager(ID3D11Device* pDevice)
:m_pDevice{ pDevice }
{
- SAFE_ADDREF(pDevice);
+ SAFE_ADDREF(m_pDevice);
}
ID3D11ShaderResourceView* CResource_Manager::Add_Texture(const _char* pFilePath)
{
- lock_guard lock(m_mtxTexture);
+ if (pFilePath == nullptr || pFilePath[0] == '\0'){
+ return nullptr;
+ }
+ filesystem::path pathFile = pFilePath;
+ const _wstring wstrKeyOriginal = pathFile.filename().wstring();
+
+ { // 브레이스 해제 금지
+ shared_lock sharedLock(m_smtxTexture);
- ID3D11ShaderResourceView* pSRV = Find_SRV(pFilePath);
-
- if (nullptr == pSRV)
- {
- pSRV = Load_SRV(pFilePath);
-
- if (nullptr == pSRV)
+ auto iter = m_Resources.find(wstrKeyOriginal);
+ if (iter != m_Resources.end())
{
- return nullptr;
+#ifdef _DEBUG
+ lock_guard statisticsLock(m_mtxStatistics);
+ m_mapCacheHit[wstrKeyOriginal]++;
+#endif // _DEBUG
+ SAFE_ADDREF(iter->second);
+ return iter->second;
}
+ else {
+#ifdef _DEBUG
+ lock_guard statisticsLock(m_mtxStatistics);
+ m_mapCacheMiss[wstrKeyOriginal]++;
+#endif // _DEBUG
+ }
+ // sharedLock 소멸
+ } // 브레이스 해제 금지
+
+ ID3D11ShaderResourceView* pSRV = Load_SRV(pathFile);
+
+ if (pSRV == nullptr){
+ return nullptr;
}
- SAFE_ADDREF(pSRV);
+ { // 브레이스 해제 금지
+ unique_lock uniqueLock(m_smtxTexture);
+ auto iter = m_Resources.find(wstrKeyOriginal);
+ if (iter != m_Resources.end())
+ {
+ SAFE_RELEASE(pSRV); // 여기까지 왔는데 end가 아니다? -> 다른 스레드가 넣음 -> 이 srv는 이미 로드됨. -> 삭제해야 됨
+
+ SAFE_ADDREF(iter->second);
+ return iter->second; // sharedLock 소멸
+ }
+
+ m_Resources.emplace(wstrKeyOriginal, pSRV);
+ // sharedLock 소멸
+ } // 브레이스 해제 금지
+
+#ifdef _DEBUG
+ ++m_iCount;
+#endif // _DEBUG
+ SAFE_ADDREF(pSRV);
return pSRV;
}
@@ -35,62 +73,37 @@ HRESULT CResource_Manager::Initialize(_uint iResourceCount)
return S_OK;
}
-ID3D11ShaderResourceView* CResource_Manager::Find_SRV(const _char* pFilePath)
-{
- _char szFileName[MAX_PATH] = {};
- _splitpath_s(pFilePath, nullptr, 0, nullptr, 0, szFileName, MAX_PATH, nullptr, 0);
-
- auto iter = m_Resources.find(CMyTools::ToWstring(szFileName));
-
- if (iter == m_Resources.end())
- return nullptr;
-
- return iter->second;
-}
-
-ID3D11ShaderResourceView* CResource_Manager::Load_SRV(const _char* pFilePath)
+ID3D11ShaderResourceView* CResource_Manager::Load_SRV(const filesystem::path& pathFile)
{
ID3D11ShaderResourceView* pSRV = nullptr;
- _char szTextureFileName[MAX_PATH] = {};
- _char szTextureFilePath[MAX_PATH] = {};
- _char szDrive[MAX_PATH] = {};
- _char szDir[MAX_PATH] = {};
- _char szFileName[MAX_PATH] = {};
- _char szEXT[MAX_PATH] = {};
- _splitpath_s(pFilePath, szDrive, MAX_PATH, szDir, MAX_PATH, szFileName, MAX_PATH, szEXT, MAX_PATH);
- strcpy_s(szTextureFileName, szDrive);
- strcat_s(szTextureFileName, szDir);
- strcat_s(szTextureFileName, szFileName);
+ const filesystem::path pathExtensionOriginal = pathFile.extension();
- strcat_s(szTextureFilePath, szTextureFileName);
- strcat_s(szTextureFilePath, ".dds");
+ filesystem::path pathDDSFile = pathFile;
+ pathDDSFile.replace_extension(L".dds");
- HRESULT hr = {};
+ HRESULT hr = CreateDDSTextureFromFile(
+ m_pDevice,
+ pathDDSFile.wstring().c_str(),
+ nullptr,
+ &pSRV
+ );
- hr = CreateDDSTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, &pSRV); // 일단 dds로 시도하고
if (FAILED(hr)) {
- memset(szTextureFilePath, 0, sizeof(_char) * MAX_PATH); // 실패하면 원래 확장자로 다시 시도
- strcat_s(szTextureFilePath, szTextureFileName);
- strcat_s(szTextureFilePath, szEXT);
+ filesystem::path pathFileOriginal = pathFile;
+ pathFileOriginal.replace_extension(pathExtensionOriginal);
- if (false == strcmp(".tga", szEXT)) {
- assert(false); // trying to Load TGA
- hr = S_OK;
- }
- else {
- hr = CreateWICTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, &pSRV);
+ hr = CreateWICTextureFromFile(
+ m_pDevice,
+ pathFileOriginal.wstring().c_str(),
+ nullptr,
+ &pSRV
+ );
+
+ if (FAILED(hr)){
+ return nullptr;
}
}
-
- if (E_FAIL == hr)
- return nullptr;
-
- m_Resources.emplace(CMyTools::ToWstring(szFileName), pSRV);
-#ifdef _DEBUG
- ++m_iCount;
-#endif // _DEBUG
-
return pSRV;
}
@@ -122,3 +135,80 @@ void CResource_Manager::Free()
}
m_Resources.clear();
}
+
+
+#ifdef _DEBUG
+
+void CResource_Manager::Describe_Entity()
+{
+ static vector> vecHit = {};
+ static vector> vecMiss = {};
+ GUI::Begin("ResourceManager");
+ if (GUI::Button("Refresh")) {
+ vecHit.clear();
+ vecMiss.clear();
+ for (auto& element : m_mapCacheHit){
+ vecHit.emplace_back(element);
+ }
+ for (auto& element : m_mapCacheMiss){
+ vecMiss.emplace_back(element);
+ }
+ sort(vecHit.begin(), vecHit.end(),
+ [](const pair<_wstring, _uint>& leftPair,
+ const pair<_wstring, _uint>& rightPair)
+ {
+ return leftPair.second > rightPair.second;
+ });
+
+ sort(vecMiss.begin(), vecMiss.end(),
+ [](const pair<_wstring, _uint>& leftPair,
+ const pair<_wstring, _uint>& rightPair)
+ {
+ return leftPair.second > rightPair.second;
+ });
+ }
+ if (GUI::CollapsingHeader("Statistics")) {
+ _uint iTotalHitCount = 0;
+ _uint iTotalMissCount = 0;
+
+ for (const auto& element : m_mapCacheHit) {
+ iTotalHitCount += element.second;
+ }
+ for (const auto& element : m_mapCacheMiss) {
+ iTotalMissCount += element.second;
+ }
+ _uint iTotalRequestCount = iTotalHitCount + iTotalMissCount;
+
+ _float fHitRatePercent = 0.0f;
+ if (iTotalRequestCount > 0) {
+ fHitRatePercent = (_float)iTotalHitCount * 100.0f / (_float)iTotalRequestCount;
+ }
+
+ GUI::Text("Total Requests: %u", iTotalRequestCount);
+ GUI::Text("Hit: %u Miss: %u HitRate: %.2f%%", iTotalHitCount, iTotalMissCount, fHitRatePercent);
+
+ }
+ if (GUI::CollapsingHeader("CacheHit")) {
+ GUI::Text("%d", vecHit.size());
+ GUI::BeginChild("CacheHit", { 300, 300 });
+ GUI::GetScrollY();
+ for (auto& element : vecHit) {
+ GUI::Text("%d", element.second); GUI::SameLine();
+ GUI::Text(CMyTools::ToString(element.first).c_str());
+ }
+ GUI::EndChild();
+ }
+ if (GUI::CollapsingHeader("CacheMiss")) {
+ GUI::Text("%d", vecMiss.size());
+ GUI::BeginChild("CacheMiss", { 300, 300 });
+ GUI::GetScrollY();
+ for (auto& element : vecMiss) {
+ GUI::Text("%d", element.second); GUI::SameLine();
+ GUI::Text(CMyTools::ToString(element.first).c_str());
+ }
+ GUI::EndChild();
+ }
+ GUI::End();
+}
+
+#endif // _DEBUG
diff --git a/Jusin154_Team3D/Engine/Private/Stat.cpp b/Jusin154_Team3D/Engine/Private/Stat.cpp
new file mode 100644
index 000000000..e4ec49302
--- /dev/null
+++ b/Jusin154_Team3D/Engine/Private/Stat.cpp
@@ -0,0 +1,128 @@
+#include "pch.h"
+#include "Stat.h"
+#include "StatEvent.h"
+
+CStat::CStat(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CComponent{ pDevice, pContext }
+{
+ ZeroMemory(m_StatArr, sizeof(m_StatArr));
+}
+
+CStat::CStat(const CStat& rhs)
+ : CComponent(rhs)
+{
+ ZeroMemory(m_StatArr, sizeof(m_StatArr));
+
+ memcpy_s(m_StatArr, sizeof(m_StatArr), rhs.m_StatArr, sizeof(m_StatArr));
+ memcpy_s(m_ConditionArr, sizeof(m_ConditionArr), rhs.m_ConditionArr, sizeof(m_ConditionArr));
+}
+
+HRESULT CStat::Initialize_Prototype(tinyxml2::XMLNode* pChild)
+{
+ auto pElement = pChild->ToElement();
+ pElement->QueryFloatAttribute("HP", &m_StatArr[ENUM_CLASS(STAT::HP)]);
+ pElement->QueryFloatAttribute("MAXHP", &m_StatArr[ENUM_CLASS(STAT::MAXHP)]);
+ pElement->QueryFloatAttribute("MELEE", &m_StatArr[ENUM_CLASS(STAT::MELEE)]);
+ pElement->QueryFloatAttribute("MAGIC", &m_StatArr[ENUM_CLASS(STAT::MAGIC)]);
+ pElement->QueryFloatAttribute("DEFENSE", &m_StatArr[ENUM_CLASS(STAT::DEFENSE)]);
+ pElement->QueryFloatAttribute("SPEED", &m_StatArr[ENUM_CLASS(STAT::SPEED)]);
+ pElement->QueryFloatAttribute("AGILITY", &m_StatArr[ENUM_CLASS(STAT::AGILITY)]);
+ pElement->QueryFloatAttribute("LEVEL", &m_StatArr[ENUM_CLASS(STAT::LEVEL)]);
+ pElement->QueryFloatAttribute("EXPERIENCE", &m_StatArr[ENUM_CLASS(STAT::EXPERIENCE)]);
+ pElement->QueryFloatAttribute("MAX_EXPERIENCE", &m_StatArr[ENUM_CLASS(STAT::MAX_EXPERIENCE)]);
+ pElement->QueryFloatAttribute("GOLD", &m_StatArr[ENUM_CLASS(STAT::GOLD)]);
+ memset(m_ConditionArr, 0, sizeof(m_ConditionArr));
+
+ return S_OK;
+}
+
+HRESULT CStat::Initialize(void* pArg)
+{
+ return S_OK;
+}
+
+CStat* CStat::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, tinyxml2::XMLNode* pChild)
+{
+ CStat* pInstance = new CStat(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype(pChild)))
+ {
+ MSG_BOX("Failed to Created : CStat");
+ Safe_Release(pInstance);
+ }
+
+ return pInstance;
+}
+
+CComponent* CStat::Clone(void* pArg, class CGameObject* pOwner)
+{
+ CStat* pInstance = new CStat(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CStat");
+ Safe_Release(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CStat::Free()
+{
+ __super::Free();
+}
+#ifdef _DEBUG
+
+void CStat::Describe_Entity()
+{
+
+}
+
+#endif // _DEBUG
+
+_float CStat::Get_Stat(_int _iStatIndex)
+{
+ return m_StatArr[_iStatIndex];
+}
+
+void CStat::Set_Stat(_int _iStatIndex, _float _iAmount)
+{
+ m_StatArr[_iStatIndex] = _iAmount;
+}
+
+void CStat::Add_Stat(_int _iStatIndex, _float _iAmount)
+{
+ m_StatArr[_iStatIndex] += _iAmount;
+}
+
+_bool CStat::Get_Condition(_uint _iConditionIndex) const
+{
+ return m_ConditionArr[_iConditionIndex];
+}
+
+void CStat::Set_Condition(_uint _iConditionIndex, _bool _Condition)
+{
+ m_ConditionArr[_iConditionIndex] = _Condition;
+}
+
+void CStat::Add_Hp(_float iAmount)
+{
+ _float fMaxHp = Get_Stat(ENUM_CLASS(STAT::MAXHP));
+ _float fCurHp = Get_Stat(ENUM_CLASS(STAT::HP));
+ if (fCurHp < fMaxHp) {
+ _float iNewHP = fCurHp + iAmount;
+ if (iNewHP > fMaxHp) {
+ iAmount = fMaxHp - fCurHp;
+ }
+ Add_Stat(ENUM_CLASS(STAT::HP), iAmount);
+ }
+}
+
+_bool CStat::Get_Damage(_float fDamage)
+{
+ _bool bResultDead = { false };
+ _float fCurHp = Get_Stat(ENUM_CLASS(STAT::HP)) - fDamage;
+ if (fCurHp < 0) { fCurHp = 0; bResultDead = true; }
+ Set_Stat(ENUM_CLASS(STAT::HP), fCurHp);
+ return bResultDead;
+}
diff --git a/Jusin154_Team3D/Engine/Private/StatEvent.cpp b/Jusin154_Team3D/Engine/Private/StatEvent.cpp
new file mode 100644
index 000000000..fbf66eca5
--- /dev/null
+++ b/Jusin154_Team3D/Engine/Private/StatEvent.cpp
@@ -0,0 +1,130 @@
+#include "pch.h"
+#include "StatEvent.h"
+
+CStatEvent::CStatEvent(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CComponent{ pDevice, pContext }
+{
+}
+
+CStatEvent::CStatEvent(const CStatEvent& Prototype)
+ : CComponent(Prototype)
+{
+}
+
+void CStatEvent::AddEvent(const function _Equipfunc, const function _UnEquipfunc)
+{
+ if (m_EquipEventVector.size() > 6)
+ return;
+
+ m_EquipEventVector.push_back(_Equipfunc);
+ m_UnEquipEventVector.push_back(_UnEquipfunc);
+
+}
+
+// 팝된 속성이 어떤 속성인지 리턴함
+_uint CStatEvent::PopEvent(_uint iIndex)
+{
+ vector> EquipEventVector = {};
+ vector> UnEquipEventVector = {};
+ vector<_uint> ActiveAbillityIDVec = {};
+
+ _uint iReturnStat(0);
+
+ EquipEventVector = move(m_EquipEventVector);
+ UnEquipEventVector = move(m_UnEquipEventVector);
+ ActiveAbillityIDVec = move(m_ActiveAbillityIDVec);
+
+ for (size_t i = 0; i < EquipEventVector.size(); i++)
+ {
+ if (i == iIndex)
+ {
+ iReturnStat = ActiveAbillityIDVec[i];
+ continue;
+ }
+
+
+ m_EquipEventVector.push_back(EquipEventVector[i]);
+ m_UnEquipEventVector.push_back(UnEquipEventVector[i]);
+ m_ActiveAbillityIDVec.push_back(ActiveAbillityIDVec[i]);
+ }
+
+ return iReturnStat;
+}
+
+HRESULT CStatEvent::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CStatEvent::Initialize(void* pArg)
+{
+
+ return S_OK;
+}
+
+CStatEvent* CStatEvent::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CStatEvent* pInstance = new CStatEvent(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CStatEvent");
+ Safe_Release(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CStatEvent::Equip()
+{
+ for (auto& func : m_EquipEventVector)
+ {
+ func();
+ }
+}
+
+void CStatEvent::UnEquip()
+{
+ for (auto& func : m_UnEquipEventVector)
+ {
+ func();
+ }
+}
+
+void CStatEvent::Clear()
+{
+ m_EquipEventVector.clear();
+ m_UnEquipEventVector.clear();
+ m_ActiveAbillityIDVec.clear();
+}
+
+void CStatEvent::Push_Order(_uint _iId)
+{
+ m_ActiveAbillityIDVec.push_back(_iId);
+}
+
+CComponent* CStatEvent::Clone(void* pArg, class CGameObject* pOwner)
+{
+ CStatEvent* pInstance = new CStatEvent(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CStatEvent");
+ Safe_Release(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CStatEvent::Free()
+{
+ __super::Free();
+}
+#ifdef _DEBUG
+
+void CStatEvent::Describe_Entity()
+{
+
+}
+
+#endif // _DEBUG
diff --git a/Jusin154_Team3D/Engine/Private/Texture.cpp b/Jusin154_Team3D/Engine/Private/Texture.cpp
index 611e7278c..4999e013b 100644
--- a/Jusin154_Team3D/Engine/Private/Texture.cpp
+++ b/Jusin154_Team3D/Engine/Private/Texture.cpp
@@ -77,6 +77,11 @@ HRESULT CTexture::Initialize_Prototype(TEXTURE_LOAD_TYPE eType, const _tchar* pT
return E_FAIL;
}
break;
+ case Engine::TEXTURE_LOAD_TYPE::CUBE:
+ if (FAILED(ParseTexturePathToSRVs(pTextureFilePath))) {
+ return E_FAIL;
+ }
+ break;
default:
break;
}
@@ -97,8 +102,9 @@ HRESULT CTexture::Load_SRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV
{
ID3D11ShaderResourceView* pSRV = m_pGameInstance->Add_Resource(szPath);
- if (nullptr == pSRV)
+ if (nullptr == pSRV){
return E_FAIL;
+ }
*ppSRV = pSRV;
@@ -173,6 +179,11 @@ HRESULT CTexture::ParseTexturePathToSRVs(const _tchar* pTextureFolderPath)
return S_OK;
}
+HRESULT CTexture::Load_CubeSRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV)
+{
+
+ return S_OK;
+}
CTexture* CTexture::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, TEXTURE_LOAD_TYPE eType, const _tchar* pTextureFilePath, _uint iNumTextures, _wstring wstrGroupName)
{
CTexture* pInstance = new CTexture(pDevice, pContext);
diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp
index d267d8180..21575c4a5 100644
--- a/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp
+++ b/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp
@@ -272,8 +272,9 @@ HRESULT CVIBuffer_Model_Instance::Ready_Materials()
pSRV = m_pGameInstance->Add_Resource(m_MeshMaterialPathes[i][j].c_str());
- if (nullptr == pSRV)
+ if (nullptr == pSRV){
return E_FAIL;
+ }
SRVs.push_back(pSRV);
}
diff --git a/Jusin154_Team3D/Engine/Public/ComputeShader.h b/Jusin154_Team3D/Engine/Public/ComputeShader.h
index 69e66bcff..a410e7b45 100644
--- a/Jusin154_Team3D/Engine/Public/ComputeShader.h
+++ b/Jusin154_Team3D/Engine/Public/ComputeShader.h
@@ -16,6 +16,7 @@ class ENGINE_DLL CComputeShader final : public CBase
public:
vector Dispatch(_uint iSRVIndex, _uint iUAVIndex, _float3 vGroupCount, ID3D11Buffer** ppBuffers, ID3D11Buffer* pConstantBuffer = nullptr);
void Bind_OutPut_SRV(_uint iIndex, _uint iBufferIndex);
+ void Bind_OutPut_SRV_VS(_uint iIndex, _uint iBufferIndex);
ID3D11ComputeShader* Get_Compute() { return m_pComputeShader; }
ID3D11UnorderedAccessView* GetOutputUAV(_uint iIndex) const;
vector ReadBackOutputs();
diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
index eabe15c3d..1bbb52292 100644
--- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h
+++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
@@ -9,12 +9,15 @@ enum class RENDER {PRIORITY, SHADOW, NONBLEND, DECAL, BLUR, NONLIGHT, EFFECT ,BL
enum class RAY { LOCAL, WORLD, END };
enum class ACTOR { BOX, CAPSULE, SPHERE, PLANE, TRIANGLEMESH, HEIGHTFIELD, END };
enum class BLEND_BONE{SPINE,SHOULDER_L,SHOULDER_R,NECK,SHOULDER_NECK_L, SHOULDER_NECK_R,END};
+enum class STAT { HP, MAXHP, MELEE, MAGIC, DEFENSE, SPEED, AGILITY, LEVEL, EXPERIENCE, MAX_EXPERIENCE, GOLD, END };
+enum class CONDITION { POISON, HPREGENERATION, PANIC, GRAP, END };
enum class TEXTURE_LOAD_TYPE {
SINGLE, // original/diffuseddd.png
INCREMENTAL, // original/diffuse[%d].png
PATH, // original/
+ CUBE,
END
};
enum class PXMATERIAL {
diff --git a/Jusin154_Team3D/Engine/Public/Engine_Struct.h b/Jusin154_Team3D/Engine/Public/Engine_Struct.h
index fc083eb5b..9d6a54f57 100644
--- a/Jusin154_Team3D/Engine/Public/Engine_Struct.h
+++ b/Jusin154_Team3D/Engine/Public/Engine_Struct.h
@@ -24,9 +24,9 @@ typedef struct tagModelDesc {
typedef struct tagKeyFrame
{
- XMFLOAT3 vScale = {};
- XMFLOAT4 vRotation = {};
- XMFLOAT3 vTranslation = {};
+ _float3 vScale = {};
+ _float4 vRotation = {};
+ _float3 vTranslation = {};
_float fTrackPosition = {};
}KEYFRAME;
@@ -43,8 +43,8 @@ typedef struct tagLightDesc
_float4 vAmbient = {};
_float4 vSpecular = {};
- const XMFLOAT4* pDirection = nullptr;
- const XMFLOAT4* pPosition = nullptr;
+ const _float4* pDirection = nullptr;
+ const _float4* pPosition = nullptr;
_float4 vPosOffset = {};
@@ -62,18 +62,18 @@ typedef struct tagShadowLight
struct SaveVertex
{
- XMFLOAT3 Pos;
- XMFLOAT3 Normal;
- XMFLOAT3 Tan;
- XMFLOAT3 BiNoraml;
- XMFLOAT2 UV;
+ _float3 Pos;
+ _float3 Normal;
+ _float3 Tan;
+ _float3 BiNoraml;
+ _float2 UV;
bool bHasNormal;
bool bHasTan;
bool bHasUV;
XMUINT4 BlendIndex;
- XMFLOAT4 BlendWeight;
+ _float4 BlendWeight;
};
struct SaveBoneWeight
@@ -129,13 +129,13 @@ struct SaveMaterial
struct SaveKeyFrameVec
{
float Time;
- XMFLOAT3 Value;
+ _float3 Value;
};
struct SaveKeyFrameRotation
{
float Time;
- XMFLOAT4 Value;
+ _float4 Value;
};
struct SaveChannel
@@ -396,9 +396,9 @@ typedef struct tagPhsXUserData {
typedef struct tagOnCollsionInfo
{
- _vector vWorldPos = {}; // 접촉지점
- _vector vWorldNomal = {}; // 접촉노말
- _vector vHitDir = {}; // 시도한 move 방향
+ _float4 vWorldPos = {}; // 접촉지점
+ _float4 vWorldNomal = {}; // 접촉노말
+ _float4 vHitDir = {}; // 시도한 move 방향
_float fLength = {}; // 작용된 힘
}ON_COLLISION_INFO;
diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h
index a889c479b..48cec542c 100644
--- a/Jusin154_Team3D/Engine/Public/FSM.h
+++ b/Jusin154_Team3D/Engine/Public/FSM.h
@@ -33,6 +33,7 @@ enum ESTATE : _u64Flag
SWING = 1ULL << 26,
SLAM = 1ULL << 27,
BLINK = 1ULL << 28,
+ DEAD = 1ULL << 29,
END
};
NS_END
diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h
index dbdc974f9..fee0144cc 100644
--- a/Jusin154_Team3D/Engine/Public/GameInstance.h
+++ b/Jusin154_Team3D/Engine/Public/GameInstance.h
@@ -24,6 +24,7 @@ class ENGINE_DLL CGameInstance final : public CBase
_int Random_Int(_int iMin, _int iMax);
_int Real_Random_Int(_int iMin, _int iMax);
_float Real_Random_Float(_float fMin, _float fMax);
+ _float2 Get_ViewPortSize();
void BillBoard(CTransform* pTransform);
#pragma region GRAPHIC_DEVICE
@@ -167,6 +168,7 @@ class ENGINE_DLL CGameInstance final : public CBase
HRESULT Accumulate_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB, const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass);
HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass);
HRESULT Finish_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetOriginal, const _wstring& wstrRenderTargetBloomed, SHADER_PASS_DEFERRED ePass);
+ HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
#ifdef _DEBUG
void RenderTarget_Debuger();
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
@@ -293,7 +295,9 @@ class ENGINE_DLL CGameInstance final : public CBase
_float m_fTimer_Present = { 0.f };
_float m_fTimer_FrameCount = { 0.f };
- vector m_FilePaths = {};
+ _float2 m_vViewPortSize = {};
+
+ vector m_FilePaths = {};
map m_ModelMap;
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Engine/Public/Instance_Model.h b/Jusin154_Team3D/Engine/Public/Instance_Model.h
index 8ccc86015..5063cd9d7 100644
--- a/Jusin154_Team3D/Engine/Public/Instance_Model.h
+++ b/Jusin154_Team3D/Engine/Public/Instance_Model.h
@@ -59,14 +59,29 @@ class ENGINE_DLL CInstance_Model final : public CComponent
_float2 vDissolveUVMoveTime = { 1.f , 1.f };
- _float3 vPadding0 = {};
+ _float2 vDropAttenuation = { 1.f , 1.f };
+
+ _float fPadding0 = {};
_float3 vPadding1 = {};
_float fSizeLerpOption = {};
_float fMoveLerpOption = {};
+ _bool isDetphCompareStop = {};
_bool isPadding0 = {};
+
+ _float4 vPadding2 = {};
+ _float4 vPadding3 = {};
+ _float4 vPadding4 = {};
+ _float4 vPadding5 = {};
+ _float4 vPadding6 = {};
+
_bool isPadding1 = {};
+ _bool isPadding2 = {};
+ _bool isPadding3 = {};
+ _bool isPadding4 = {};
+ _bool isPadding5 = {};
+
}INSTANCE_DESC;
typedef struct tagPreInstanceDesc
@@ -100,11 +115,11 @@ class ENGINE_DLL CInstance_Model final : public CComponent
_float3 vSinMinAmount = { 0.f , 0.f , 0.f };
_float3 vSinMaxAmount = { 0.f , 0.f , 0.f };
- _bool isTurn = {};
+ _bool isTurn;
_float3 vDeltaAngleMin = {};
_float3 vDeltaAngleMax = {};
- _bool isAxisTurn = {};
+ _bool isAxisTurn;
_float3 vDeltaAxisAngleMin = {};
_float3 vDeltaAxisAngleMax = {};
@@ -120,6 +135,19 @@ class ENGINE_DLL CInstance_Model final : public CComponent
_float2 vDelay = {};
_bool isNoWorld = {};
+ _float2 vDissolveUVMoveTime = { 1.f , 1.f };
+
+ _float2 vDropAttenuation = { 1.f , 1.f };
+
+ _float fPadding0 = {};
+ _float3 vPadding1 = {};
+
+ _float fSizeLerpOption = {};
+ _float fMoveLerpOption = {};
+
+ _bool isDetphCompareStop = {};
+ _bool isPadding0 = {};
+
}PRE_INSTANCE_DESC;
typedef struct tagCSParticleDesc
@@ -138,15 +166,21 @@ class ENGINE_DLL CInstance_Model final : public CComponent
_int isNoWorld = {};
- _int isPadding0 = {};
+ _int isDetphCompareStop = {};
_int isPadding1 = {};
_int isPadding2 = {};
_float fTimeDelta = {};
_float fSizeLerpOption = {};
_float fMoveLerpOption = {};
- _float fPadding4 = {};
+ _float fFar = {};
+ _float4x4 ViewMatrix = {};
+ _float4x4 ProjMatrix = {};
+
+ _float2 vScreenSize;
+ _float fPadding0;
+ _float fPadding1;
}CS_PARTICLE_DESC;
@@ -182,6 +216,10 @@ class ENGINE_DLL CInstance_Model final : public CComponent
_float2 vDelay = {};
+ _bool isCompareStop = {};
+ _float fCollisionTime = {};
+ _float fDropAttenuation = {};
+
}CS_PARTICLE_VALUE_DESC;
public:
@@ -203,6 +241,7 @@ class ENGINE_DLL CInstance_Model final : public CComponent
void Instane_Buffer_ReStruct();
_uint Get_NumMeshes() const { return m_iNumMeshes; }
HRESULT Bind_CS_Output(_uint Index, _uint iBufferIndex);
+ HRESULT Bind_OutPut_SRV_VS(_uint Index, _uint iBufferIndex);
INSTANCE_DESC Get_EffectValue() { return m_InstanceDesc; }
HRESULT Load_InstanceModel(HANDLE hFile);
private:
diff --git a/Jusin154_Team3D/Engine/Public/Light.h b/Jusin154_Team3D/Engine/Public/Light.h
index 02c059792..e10ce328a 100644
--- a/Jusin154_Team3D/Engine/Public/Light.h
+++ b/Jusin154_Team3D/Engine/Public/Light.h
@@ -31,23 +31,31 @@ class ENGINE_DLL CLight final : public CComponent
const LIGHT_DESC* Get_LightDesc() { return &m_LightDesc; }
void Set_Color(_float4& vDiffuse, _float4& vAmbient, _float4& vSpecular);
- void Reset_AmbientRatio()
+ void Reset_IntensityRatio()
{
- m_fAmbientRatio = 1.f;
+ m_fIntensityRatio = 1.f;
m_fAccLightTime = 0.f;
-
+ m_fAccDelayTime = 0.f;
}
- void Update_AmbientRatio(_float fTimeDelta , _float fTime) {
+ void Update_IntensityRatio(_float fTimeDelta , _float fTime , _float fTimeDelay = 0) {
if (fTime <= 0)
return;
+ m_fAccDelayTime += fTimeDelta;
+
+ if (m_fAccDelayTime <= fTimeDelay)
+ {
+ m_fIntensityRatio = 0;
+ return;
+ }
+
m_fAccLightTime += fTimeDelta;
- m_fAmbientRatio = 1 - (m_fAccLightTime / fTime);
+ m_fIntensityRatio = 1 - (m_fAccLightTime / fTime);
- if (m_fAmbientRatio <= 0)
- m_fAmbientRatio = 0;
+ if (m_fIntensityRatio <= 0)
+ m_fIntensityRatio = 0;
}
public:
@@ -58,8 +66,10 @@ class ENGINE_DLL CLight final : public CComponent
_bool m_bUsePowerAttenuation = { true };
_float m_fLightAttenuationPower = { 3.30f };
- _float m_fAmbientRatio = { 1.f };
+ _float m_fIntensityRatio = { 1.f };
_float m_fAccLightTime = { 0.f };
+ _float m_fAccDelayTime = { 0.f };
+
_float m_fLightIntensity = { 4.f };
// 1 -> Linear,
diff --git a/Jusin154_Team3D/Engine/Public/MyTools.h b/Jusin154_Team3D/Engine/Public/MyTools.h
index a5e8e0cfc..16166d7f0 100644
--- a/Jusin154_Team3D/Engine/Public/MyTools.h
+++ b/Jusin154_Team3D/Engine/Public/MyTools.h
@@ -202,7 +202,8 @@ class CMyTools {
// 2D 평면에 사상된 방향을 교정해서 리턴
// float -> Radian값
- // -, +
+ // - 시계방향
+ // + 반시계방향
inline static _float Get_Direction2D(_float2 vOrigianlDir, _float2 vInputDir) {
_vector vOriginal = XMVector2Normalize(XMLoadFloat2(&vOrigianlDir));
_vector vInput = XMVector2Normalize(XMLoadFloat2(&vInputDir));
@@ -212,6 +213,15 @@ class CMyTools {
return fDiffAngle * (fCross < 0 ? -1.f : 1.f);
}
+ inline static _float Get_Direction2D(_vector vOriginalDir, _vector vInputDir) {
+ _vector vOriginal = XMVector2Normalize(XMVectorSet(XMVectorGetX(vOriginalDir), XMVectorGetZ(vOriginalDir), 0.f, 0.f));
+ _vector vInput = XMVector2Normalize(XMVectorSet(XMVectorGetX(vInputDir), XMVectorGetZ(vInputDir), 0.f, 0.f));
+
+ _float fDiffAngle = XMVectorGetX(XMVector2AngleBetweenNormals(vOriginal, vInput));
+ _float fCross = XMVectorGetZ(XMVector2Cross(vOriginal, vInput));
+
+ return fDiffAngle * (fCross < 0 ? -1.f : 1.f);
+ }
// yaw 360도 자동 커트
// pitch 80도 클램프
inline static void AdjustAccumulateDegreePitchYawDegree(_float2& vAccumulateDegreePitchYaw, float fPitchLimitDegree = 80.f)
diff --git a/Jusin154_Team3D/Engine/Public/Prototype_Manager.h b/Jusin154_Team3D/Engine/Public/Prototype_Manager.h
index 975c0a842..2b631aef4 100644
--- a/Jusin154_Team3D/Engine/Public/Prototype_Manager.h
+++ b/Jusin154_Team3D/Engine/Public/Prototype_Manager.h
@@ -11,6 +11,8 @@
#include "Cell.h"
#include "Model.h"
#include "Instance_Model.h"
+#include "Stat.h"
+#include "StatEvent.h"
#include "Character_Controller.h"
#include "Light.h"
#include "FSM.h"
diff --git a/Jusin154_Team3D/Engine/Public/QuadTree.h b/Jusin154_Team3D/Engine/Public/QuadTree.h
index 444a3626a..e4e5f8543 100644
--- a/Jusin154_Team3D/Engine/Public/QuadTree.h
+++ b/Jusin154_Team3D/Engine/Public/QuadTree.h
@@ -31,7 +31,7 @@ class CQuadTree final : public CBase
_float m_fCullingRadius = { 0.2f };
- CQuadTree* m_pChildren[CORNER_END] = { nullptr };
+ CQuadTree* m_pChildren[CORNER_END] = { nullptr, nullptr, nullptr, nullptr };
CQuadTree* m_pNeighbors[NEIGHBOR_END] = { nullptr, nullptr, nullptr, nullptr };
private:
diff --git a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h
index 4a90b57e5..a225187f9 100644
--- a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h
+++ b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h
@@ -20,6 +20,7 @@ class CRenderTarget_Manager final : public CBase
HRESULT Bind_RenderTarget(const _wstring& strTargetTag, class CShader* pShader, const _char* pConstantName);
HRESULT Copy_RenderTarget(const _wstring& strTargetTag, ID3D11Texture2D* pTexture2D);
HRESULT Paste_RenderTarget(const _wstring& strTargetTag, ID3D11Texture2D* pTexture2D);
+ HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
HRESULT Accumulate_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB, const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass);
HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass);
diff --git a/Jusin154_Team3D/Engine/Public/Renderer.h b/Jusin154_Team3D/Engine/Public/Renderer.h
index 55fd9390e..64722989b 100644
--- a/Jusin154_Team3D/Engine/Public/Renderer.h
+++ b/Jusin154_Team3D/Engine/Public/Renderer.h
@@ -62,7 +62,7 @@ class CRenderer final : public CBase
_float m_fDOF_ENV_MaxEnd = { 360.f };
_float m_fDOF_ENV_AmountRadius = { 1.f };
- _float m_fSSAO_Radius = { 1.812f };
+ _float m_fSSAO_Radius = { 0.812f };
_float m_fSSAO_BIAS = { 0.042f };
SSAO_GEOMETRY_HEMISPHERE m_tagSSAOGeometry = {};
diff --git a/Jusin154_Team3D/Engine/Public/Resource_Manager.h b/Jusin154_Team3D/Engine/Public/Resource_Manager.h
index 3b27f4892..6dd4ff6b6 100644
--- a/Jusin154_Team3D/Engine/Public/Resource_Manager.h
+++ b/Jusin154_Team3D/Engine/Public/Resource_Manager.h
@@ -9,15 +9,18 @@ class CResource_Manager final : public CBase
private:
CResource_Manager(ID3D11Device* pDevice);
virtual ~CResource_Manager() = default;
- mutex m_mtxTexture = {};
+ shared_mutex m_smtxTexture = {};
+#ifdef _DEBUG
+ mutex m_mtxStatistics = {};
+#endif // _DEBUG
+
public:
ID3D11ShaderResourceView* Add_Texture(const _char* pFilePath);
private:
HRESULT Initialize(_uint iResourceCount);
- ID3D11ShaderResourceView* Find_SRV(const _char* pFilePath);
- ID3D11ShaderResourceView* Load_SRV(const _char* pFilePath);
+ ID3D11ShaderResourceView* Load_SRV(const filesystem::path& pathFile);
private:
#ifdef _DEBUG
@@ -27,10 +30,18 @@ class CResource_Manager final : public CBase
ID3D11Device* m_pDevice = { nullptr };
unordered_map<_wstring, ID3D11ShaderResourceView*> m_Resources;
+#ifdef _DEBUG
+ unordered_map<_wstring, atomic_int> m_mapCacheHit;
+ unordered_map<_wstring, atomic_int> m_mapCacheMiss;
+#endif // _DEBUG
public:
static CResource_Manager* Create(ID3D11Device* pDevice, _uint iResourceCount);
virtual void Free() override;
+#ifdef _DEBUG
+ void Describe_Entity();
+#endif // _DEBUG
+
};
NS_END
diff --git a/Jusin154_Team3D/Engine/Public/Stat.h b/Jusin154_Team3D/Engine/Public/Stat.h
new file mode 100644
index 000000000..51dd4934e
--- /dev/null
+++ b/Jusin154_Team3D/Engine/Public/Stat.h
@@ -0,0 +1,41 @@
+#pragma once
+
+#include "Component.h"
+
+NS_BEGIN(Engine)
+
+class ENGINE_DLL CStat final : public CComponent
+{
+private:
+ CStat(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CStat(const CStat& rhs);
+ virtual ~CStat() = default;
+
+private:
+ virtual HRESULT Initialize_Prototype(tinyxml2::XMLNode* pChild);
+ virtual HRESULT Initialize(void* pArg);
+
+public:
+ static CStat* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, tinyxml2::XMLNode* pChild);
+ virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
+ virtual void Free() override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+
+public:
+ _float Get_Stat(_int _iStatIndex);
+ void Set_Stat(_int _iStatIndex, _float _iAmount);
+ void Add_Stat(_int _iStatIndex, _float _iAmount);
+ _bool Get_Condition(_uint _iConditionIndex) const;
+ void Set_Condition(_uint _iConditionIndex, _bool _Condition);
+
+ void Add_Hp(_float iAmount);
+ _bool Get_Damage(_float fDamage);
+
+private:
+ _float m_StatArr[ENUM_CLASS(STAT::END)];
+ _bool m_ConditionArr[ENUM_CLASS(CONDITION::END)] = { false };
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Engine/Public/StatEvent.h b/Jusin154_Team3D/Engine/Public/StatEvent.h
new file mode 100644
index 000000000..dfd13b576
--- /dev/null
+++ b/Jusin154_Team3D/Engine/Public/StatEvent.h
@@ -0,0 +1,45 @@
+#pragma once
+
+#include "Component.h"
+
+NS_BEGIN(Engine)
+
+class ENGINE_DLL CStatEvent final : public CComponent
+{
+private:
+ CStatEvent(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CStatEvent(const CStatEvent& Prototype);
+ virtual ~CStatEvent() = default;
+private:
+ virtual HRESULT Initialize_Prototype();
+ virtual HRESULT Initialize(void* pArg);
+
+public:
+ void AddEvent(const function _Equipfunc, const function _UnEquipfunc);
+ _uint PopEvent(_uint iIndex);
+
+
+ void Equip();
+ void UnEquip();
+ void Clear();
+
+ void Push_Order(_uint _iId);
+
+public:
+ static CStatEvent* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
+ virtual void Free() override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+
+
+
+private:
+ vector> m_EquipEventVector = {};
+ vector> m_UnEquipEventVector = {};
+ vector<_uint> m_ActiveAbillityIDVec = {};
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Engine/Public/Texture.h b/Jusin154_Team3D/Engine/Public/Texture.h
index eb512a2b6..a33578d88 100644
--- a/Jusin154_Team3D/Engine/Public/Texture.h
+++ b/Jusin154_Team3D/Engine/Public/Texture.h
@@ -32,6 +32,7 @@ class ENGINE_DLL CTexture final :
HRESULT Load_SRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV);
HRESULT ParseTextureIncrementalToSRVs(_uint iNumTextures, const _tchar* pTextureFilePath);
HRESULT ParseTexturePathToSRVs(const _tchar* pTextureFolderPath);
+ HRESULT Load_CubeSRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV);
private:
vector m_SRVs = {};
diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h
index 9809ca0fc..fd9a2fad5 100644
--- a/Jusin154_Team3D/Engine/Public/Unit.h
+++ b/Jusin154_Team3D/Engine/Public/Unit.h
@@ -50,6 +50,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
_float Get_KeyFrame(_string FrameName);
_bool IsCurrentKeyFrame(_string FrameName);
virtual _vector Get_LockOnPos() { return Get_WorldPostion(); }
+ virtual _bool Get_Damage(_float fDamage) { return false; }
virtual void Reset_Sprint() {};
virtual void Reset_Walk() {};
@@ -60,7 +61,6 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
CModel* m_pModelCom = { nullptr };
CFSM* m_pFSM = { nullptr };
_wstring m_strModelPrototypeTag;
- _float2 m_vHP = { 230.f, 350.f };
_bool m_bRimLight = { true };
_float m_fRimLightPower = { 3.2f };
_float m_fRimLightStrength = { 3.04f };
@@ -76,6 +76,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
_int m_eSpell = { };
_int m_eHitSpell = {};
+ _float m_fHitRadius = {};
vector m_PendingEvents;
diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer.h b/Jusin154_Team3D/Engine/Public/VIBuffer.h
index bef2f6308..dd273ce00 100644
--- a/Jusin154_Team3D/Engine/Public/VIBuffer.h
+++ b/Jusin154_Team3D/Engine/Public/VIBuffer.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "Component.h"
NS_BEGIN(Engine)
@@ -33,4 +33,4 @@ public CComponent
virtual void Free();
};
-NS_END
\ No newline at end of file
+NS_END
diff --git a/Jusin154_Team3D/Engine/Public/pch.h b/Jusin154_Team3D/Engine/Public/pch.h
index c27ab5229..c226fdfe9 100644
--- a/Jusin154_Team3D/Engine/Public/pch.h
+++ b/Jusin154_Team3D/Engine/Public/pch.h
@@ -58,6 +58,7 @@ using namespace DirectX;
#include
#include
#include
+#include
using namespace std;