From cbd734689e83b155b608b4622c5d54bfabfc9e05 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Fri, 28 Nov 2025 16:43:27 +0900 Subject: [PATCH] commit push --- Jusin154_Team3D/Client/Private/Decendo.cpp | 47 +- .../Client/Private/EffectObject.cpp | 68 +- .../Client/Private/EffectParts.cpp | 5 + .../Client/Private/Effect_Container.cpp | 10 +- Jusin154_Team3D/Client/Private/NomalJap.cpp | 38 +- .../Client/Private/PhysXEffectHitBox.cpp | 10 +- Jusin154_Team3D/Client/Private/Protego.cpp | 50 +- .../Client/Private/TrailObject.cpp | 55 ++ Jusin154_Team3D/Client/Private/Wand.cpp | 2 + Jusin154_Team3D/Client/Public/Client_Enum.h | 8 +- Jusin154_Team3D/Client/Public/EffectObject.h | 16 + .../Client/Public/Effect_Container.h | 3 + .../Client/Public/PhysXEffectHitBox.h | 1 + Jusin154_Team3D/Client/Public/Protego.h | 10 +- Jusin154_Team3D/Client/Public/TrailObject.h | 13 +- .../Data/Effect/Accio/Accio_Circle_S.bin | 4 +- .../Data/Effect/Bombard/Bombard_Circle0.bin | 4 +- .../Data/Effect/Bombard/Bombard_Circle1.bin | 4 +- .../Data/Effect/Bombard/Bombard_Explosion.bin | 4 +- .../Data/Effect/Bombard/Bombard_PT_0.bin | 4 +- .../Data/Effect/Bombard/Bombard_PT_1.bin | 4 +- .../Data/Effect/Bombard/Bombard_PT_2.bin | 4 +- .../Data/Effect/Bombard/Bombard_PT_3.bin | 4 +- .../Effect/Bombard/Bombard_Projectile.bin | 4 +- .../Data/Effect/Bombard/Bombard_Shoot_Pt.bin | 4 +- .../Data/Effect/Bombard/Bombard_Smoke.bin | 4 +- .../Data/Effect/Decendo/Decendo_Circle_S.bin | 4 +- .../Data/Effect/Decendo/Decendo_Down.bin | 4 +- .../Data/Effect/Decendo/Decendo_PT0.bin | 4 +- .../Data/Effect/Decendo/Decendo_Proj.bin | 4 +- .../Data/Effect/Decendo/Decendo_Proj_Blur.bin | 4 +- .../Data/Effect/Decendo/Decendo_Ring.bin | 4 +- .../Data/Effect/Decendo/Decendo_Smoke.bin | 4 +- .../Data/Effect/Decendo/Proj_Trail.trail | Bin 279 -> 333 bytes .../Bin/Resources/Data/Effect/Jap/JapHit0.bin | 4 +- .../Bin/Resources/Data/Effect/Jap/JapHit1.bin | 4 +- .../Bin/Resources/Data/Effect/Jap/JapPT0.bin | 4 +- .../Data/Effect/Jap/JapProjCircle.bin | 4 +- .../Resources/Data/Effect/Jap/JapProjSide.bin | 4 +- .../Resources/Data/Effect/Jap/JapTrail.trail | Bin 325 -> 328 bytes .../Data/Effect/LP/LightProjectile1.bin | 3 - .../Data/Effect/LP/LightProjectile2.bin | 3 - .../Data/Effect/LP/LightProjectileCircle1.bin | 3 - .../Data/Effect/LP/LightProjectileMiddle.bin | 3 - .../Bin/Resources/Data/Effect/Lumos/Lumos.bin | 4 +- .../Data/Effect/Protego/ProtegoBottom.bin | 4 +- .../Data/Effect/Protego/ProtegoCircle.bin | 4 +- .../Data/Effect/Protego/ProtegoHitPT0.bin | 4 +- .../Data/Effect/Protego/ProtegoHit_Lay.bin | 4 +- .../Data/Effect/Protego/ProtegoHit_Spread.bin | 4 +- .../Data/Effect/Protego/ProtegoSphere.bin | 4 +- .../Editor/Bin/Resources/Data/Effect/Test.bin | 3 + .../Data/Effect/Trail/Bombard_Trail.trail | Bin 322 -> 342 bytes .../Effect/WandParticle/WandParticle0.bin | 4 +- .../Effect/임시공간/Accio/Accio_Circle_S.bin | 4 +- .../임시공간/Bombard/Bombard_Circle0.bin | 4 +- .../임시공간/Bombard/Bombard_Circle1.bin | 4 +- .../임시공간/Bombard/Bombard_Explosion.bin | 4 +- .../Effect/임시공간/Bombard/Bombard_PT_0.bin | 4 +- .../Effect/임시공간/Bombard/Bombard_PT_1.bin | 4 +- .../Effect/임시공간/Bombard/Bombard_PT_2.bin | 4 +- .../Effect/임시공간/Bombard/Bombard_PT_3.bin | 4 +- .../임시공간/Bombard/Bombard_Projectile.bin | 4 +- .../임시공간/Bombard/Bombard_Shoot_Pt.bin | 4 +- .../Effect/임시공간/Bombard/Bombard_Smoke.bin | 4 +- .../임시공간/Decendo/Decendo_Circle_S.bin | 3 + .../Effect/임시공간/Decendo/Decendo_Down.bin | 4 +- .../Effect/임시공간/Decendo/Decendo_PT0.bin | 4 +- .../Effect/임시공간/Decendo/Decendo_Proj.bin | 4 +- .../임시공간/Decendo/Decendo_Proj_Blur.bin | 4 +- .../Effect/임시공간/Decendo/Decendo_Ring.bin | 4 +- .../Effect/임시공간/Decendo/Decendo_Smoke.bin | 4 +- .../Data/Effect/임시공간/Jap/JapHit0.bin | 3 + .../Data/Effect/임시공간/Jap/JapHit1.bin | 3 + .../Data/Effect/임시공간/Jap/JapPT0.bin | 3 + .../Effect/임시공간/Jap/JapProjCircle.bin | 3 + .../Data/Effect/임시공간/Jap/JapProjSide.bin | 3 + .../Data/Effect/임시공간/Jap/JapTrail.trail | Bin 0 -> 325 bytes .../Data/Effect/임시공간/Lumos/Lumos.bin | 4 +- .../Data/Effect/임시공간/Package/Bombard.bin | 3 + .../Data/Effect/임시공간/Package/Decendo.bin | 3 + .../Data/Effect/임시공간/Package/Jap.bin | 3 + .../Data/Effect/임시공간/Package/Protego.bin | 3 + .../Effect/임시공간/Protego/ProtegoBottom.bin | 3 + .../Effect/임시공간/Protego/ProtegoCircle.bin | 4 +- .../Effect/임시공간/Protego/ProtegoHitPT0.bin | 3 + .../임시공간/Protego/ProtegoHit_Lay.bin | 4 +- .../임시공간/Protego/ProtegoHit_Spread.bin | 4 +- .../Effect/임시공간/Protego/ProtegoSphere.bin | 4 +- .../임시공간/WandParticle/WandParticle0.bin | 4 +- .../ShaderFiles/Shader_VtxModelInstance.hlsl | 686 +++++++----------- .../ShaderFiles/Shader_VtxPosTex.hlsl | 230 +++--- Jusin154_Team3D/Editor/Default/Editor.vcxproj | 2 + .../Editor/Default/Editor.vcxproj.filters | 9 + Jusin154_Team3D/Editor/Private/Bombard.cpp | 9 +- Jusin154_Team3D/Editor/Private/Decendo.cpp | 36 +- .../Private/Dummy_PhysXEffectHitBox.cpp | 6 +- Jusin154_Team3D/Editor/Private/EditEffect.cpp | 54 +- .../Editor/Private/EffectObject.cpp | 43 ++ Jusin154_Team3D/Editor/Private/EffectPool.cpp | 15 + .../Editor/Private/Effect_Container.cpp | 8 +- Jusin154_Team3D/Editor/Private/Loader.cpp | 9 +- Jusin154_Team3D/Editor/Private/NomalJap.cpp | 35 +- .../Editor/Private/Player_States.cpp | 4 + Jusin154_Team3D/Editor/Private/Protego.cpp | 227 ++++++ .../Editor/Private/TrailObject.cpp | 99 ++- Jusin154_Team3D/Editor/Public/Bombard.h | 1 - Jusin154_Team3D/Editor/Public/Decendo.h | 1 - .../Editor/Public/Dummy_PhysXEffectHitBox.h | 1 + Jusin154_Team3D/Editor/Public/EditEffect.h | 1 + Jusin154_Team3D/Editor/Public/Editor_Define.h | 5 +- Jusin154_Team3D/Editor/Public/EffectObject.h | 28 + .../Editor/Public/Effect_Container.h | 2 + Jusin154_Team3D/Editor/Public/NomalJap.h | 5 +- Jusin154_Team3D/Editor/Public/Protego.h | 53 ++ Jusin154_Team3D/Editor/Public/TrailObject.h | 14 +- .../ShaderFiles/Shader_Deferred.hlsl | 1 + Jusin154_Team3D/Engine/Private/Renderer.cpp | 1 + 118 files changed, 1374 insertions(+), 814 deletions(-) delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile1.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile2.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileCircle1.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileMiddle.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Bombard.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Decendo.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Jap.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Protego.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin create mode 100644 Jusin154_Team3D/Editor/Private/Protego.cpp create mode 100644 Jusin154_Team3D/Editor/Public/Protego.h diff --git a/Jusin154_Team3D/Client/Private/Decendo.cpp b/Jusin154_Team3D/Client/Private/Decendo.cpp index ff839237b..8547c4cea 100644 --- a/Jusin154_Team3D/Client/Private/Decendo.cpp +++ b/Jusin154_Team3D/Client/Private/Decendo.cpp @@ -53,6 +53,11 @@ void CDecendo::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->RewindMomentum(); + } + } void CDecendo::Update(_float fTimeDelta) @@ -68,6 +73,10 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile->Get_Component()->Translation(m_vOwnerLook * 0.5f); + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vOwnerLook * 0.5f); + } + if (m_fAccTime > XM_2PI) return; @@ -76,6 +85,10 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile_Blur->Get_Component()->Translation(m_vRotateUp * 0.2f * sinf(m_fAccTime)); m_pProjectile->Get_Component()->Translation(m_vRotateUp * 0.2f * sinf(m_fAccTime)); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vRotateUp * 0.2f * sinf(m_fAccTime)); + } } void CDecendo::Late_Update(_float fTimeDelta) @@ -107,7 +120,7 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject) m_fPreAccTime = 0.f; - CPartObject* pCircle0 = m_PartObjects.begin()->second; + CPartObject* pCircle0 = Get_PartObject(); /* 초기 객체 위치 초기화 */ pCircle0->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); @@ -118,7 +131,7 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject) pCircle0->Set_Visible(true); m_pProjectile->Set_Visible(true); m_pProjectile_Blur->Set_Visible(true); - + /*트레일 초기화 */ Get_PartObject()->Set_Visible(true); Get_PartObject()->Get_Component()->Reset_Trail(); @@ -132,7 +145,6 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject) _vector vQuaternion = XMQuaternionRotationAxis(m_vOwnerLook, m_pGameInstance->Random_Float(0.f, XM_PIDIV2)); m_vRotateUp = XMVector3Rotate(vUp, vQuaternion); - m_vRotateUp = XMVector3Normalize(m_vRotateUp); m_bVisible = true; @@ -157,24 +169,18 @@ HRESULT CDecendo::Ready_Child() XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - _vector vOwnerLook = m_pOwner->Get_Component()->Get_State(STATE::LOOK); - - _float3 vDir = {}; - - XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - XMStoreFloat3(&vDir , vOwnerLook * 0.5f); Desc.vRotRPY = { 0.f, 0.f, 0.f }; Desc.iSubKind = 70; - Desc.vDeltaPos = vDir ; + Desc.vDeltaPos = _float3(0.f, 0.f, 0.f); Desc.vLifeTime = { 0.f, 1.f }; - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this , &m_pPhysHitBox))) { + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this, &m_pPhysHitBox))) { assert(false); return E_FAIL; } + SAFE_ADDREF(m_pPhysHitBox); return S_OK; } @@ -205,10 +211,10 @@ CGameObject* CDecendo::Clone(void* pArg, CGameObject* pOwner) return pInstance; } -void CDecendo::OnCollision(CGameObject* pOther , void* pDesc) +void CDecendo::OnCollision(CGameObject* pOther, void* pDesc) { //CTransform* pOtherTransform = p - ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); + ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); for (auto& pPair : m_PartObjects) @@ -229,27 +235,28 @@ void CDecendo::OnCollision(CGameObject* pOther , void* pDesc) Get_PartObject("Decendo_Down")->Get_Component()->LookAt(vPlayerPos); Get_PartObject("Decendo_Smoke")->Get_Component()->LookAt(vPlayerPos); - m_PartObjects.begin()->second->Set_Visible(false); + Get_PartObject()->Set_Visible(false); Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); Get_PartObject()->Set_Visible(false); + m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); } void CDecendo::Free() { __super::Free(); - //if(m_pPhysHitBox != nullptr) - // if (m_pPhysHitBox->Get_Depth() == false) - // SAFE_RELEASE(m_pPhysHitBox); + if (m_pPhysHitBox != nullptr) + if (m_pPhysHitBox->isDead() == false) + SAFE_RELEASE(m_pPhysHitBox); SAFE_RELEASE(m_pProjectile_Blur); SAFE_RELEASE(m_pProjectile); } -#ifdef _DEBUG void CDecendo::Describe_Entity() { @@ -263,8 +270,6 @@ void CDecendo::Describe_Entity() GUI::End(); } -#endif // _DEBUG - HRESULT CDecendo::Bind_ShaderResources() { diff --git a/Jusin154_Team3D/Client/Private/EffectObject.cpp b/Jusin154_Team3D/Client/Private/EffectObject.cpp index b698a66e8..ee704f414 100644 --- a/Jusin154_Team3D/Client/Private/EffectObject.cpp +++ b/Jusin154_Team3D/Client/Private/EffectObject.cpp @@ -36,14 +36,14 @@ HRESULT CEffectObject::Render() for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++) { - - if (FAILED(m_pGameInstance->Bind_DepthStencil(m_pShaderCom, "g_DepthStencilTexture"))) - return E_FAIL; if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(m_EffectInfo.eShaderPass)))) { return E_FAIL; } + if (FAILED(m_pGameInstance->Bind_DepthStencil(m_pShaderCom, "g_DepthStencilTexture"))) + return E_FAIL; + if (FAILED(m_pInstance_ModelCom->Bind_CS_Output(5, 1))) return E_FAIL; @@ -102,12 +102,55 @@ HRESULT CEffectObject::Render_Blur() } + + + + return S_OK; +} + +HRESULT CEffectObject::Render_Bloom() +{ + if (FAILED(Bind_ShaderResources())) + { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_EffectInfo.fBloomStrength, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_EffectInfo.eBloomType, sizeof(_int)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_EffectInfo.isBloomDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_EffectInfo.isBloomReverseDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++) + { + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_INSTANCE_MODEL::BLOOM)))) { + return E_FAIL; + } + + if (FAILED(m_pInstance_ModelCom->Render(i))) + { + return E_FAIL; + } + + } + return S_OK; } -HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) +HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel) { SAFE_RELEASE(m_pDiffuse_TextureCom); SAFE_RELEASE(m_pNoise_TextureCom); @@ -119,7 +162,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) if (m_pLightCom != nullptr) SAFE_RELEASE(m_pLightCom); - + _string strPerfectFilePath = pFilePath; strPerfectFilePath += ".bin"; @@ -161,7 +204,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) return E_FAIL; } } - + if (m_EffectInfo.isDiffuse) { @@ -253,7 +296,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) } } - + } if (m_EffectInfo.isDissolve) @@ -286,7 +329,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) } - + } if (m_EffectInfo.isEmissive) @@ -317,7 +360,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) } } - + } if (m_EffectInfo.isDistortion) @@ -390,8 +433,6 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) } - - HRESULT CEffectObject::Bind_ShaderResources() { @@ -637,7 +678,6 @@ HRESULT CEffectObject::Bind_ShaderResources() return S_OK; - } HRESULT CEffectObject::Ready_Components(void* pArg) @@ -652,7 +692,7 @@ HRESULT CEffectObject::Ready_Components(void* pArg) if (FAILED(__super::Ready_Components(&TransformDesc))) { return E_FAIL; } - + //나중에 로드할 때 라이트를 값을 입력받아서 생성 하자 return S_OK; @@ -690,7 +730,7 @@ void CEffectObject::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pInstance_ModelCom); - if(m_pLightCom != nullptr) + if (m_pLightCom != nullptr) SAFE_RELEASE(m_pLightCom); } diff --git a/Jusin154_Team3D/Client/Private/EffectParts.cpp b/Jusin154_Team3D/Client/Private/EffectParts.cpp index bcf327c38..7baa44447 100644 --- a/Jusin154_Team3D/Client/Private/EffectParts.cpp +++ b/Jusin154_Team3D/Client/Private/EffectParts.cpp @@ -68,6 +68,11 @@ void CEffectParts::Late_Update(_float fTimeDelta) m_pGameInstance->BillBoard(m_pTransformCom); + if (m_EffectInfo.isBloom == true) + { + m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this); + } + if (m_EffectInfo.isBlur == true) { m_pGameInstance->Add_RenderGroup(RENDER::BLUR, this); diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp index 3065da72f..47e284b23 100644 --- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp @@ -5,6 +5,7 @@ #include "EffectParts.h" #include "TrailObject.h" +#include "PhysXEffectHitBox.h" #include @@ -175,6 +176,7 @@ HRESULT CEffect_Container::Bind_ShaderResources() void CEffect_Container::Update_Event(_float fTimeDelta) { + m_fPreAccTime = m_fAccTime; m_fAccTime += fTimeDelta; @@ -198,12 +200,18 @@ void CEffect_Container::Update_Event(_float fTimeDelta) } else { + m_bVisible = false; + for (auto& pPart : m_PartObjects) { pPart.second->Set_Visible(false); } - m_bVisible = false; + if (m_pPhysHitBox != nullptr && m_pPhysHitBox->isDead() == false) + { + m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); + } } } diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp index 3510fff70..127bb01f5 100644 --- a/Jusin154_Team3D/Client/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp @@ -54,6 +54,11 @@ HRESULT CNomalJap::Initialize(void* pArg) void CNomalJap::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->RewindMomentum(); + } + } void CNomalJap::Update(_float fTimeDelta) @@ -70,6 +75,10 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile->Get_Component()->Translation(m_vOwnerLook * 1.2f); + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vOwnerLook * 1.2f); + } + if (m_fAccTime > XM_2PI) return; @@ -78,6 +87,12 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(m_vRotateUp * 0.6f * sinf(m_fAccTime)); m_pProjectile->Get_Component()->Translation(m_vRotateUp * 0.6f * sinf(m_fAccTime)); + + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vRotateUp * 0.6f * sinf(m_fAccTime)); + } + } void CNomalJap::Late_Update(_float fTimeDelta) @@ -156,19 +171,9 @@ HRESULT CNomalJap::Ready_Child() XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - _vector vOwnerLook = m_pOwner->Get_Component()->Get_State(STATE::LOOK); - - _float3 vDir = {}; - - XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - XMStoreFloat3(&vDir, vOwnerLook * 0.6f); - - Desc.vRotRPY = { 0.f, 0.f, 0.f }; Desc.iSubKind = 70; - Desc.vDeltaPos = vDir; + Desc.vDeltaPos = _float3(0.f, 0.f, 0.f); Desc.vLifeTime = { 0.f, 1.f }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this, &m_pPhysHitBox))) { @@ -176,6 +181,7 @@ HRESULT CNomalJap::Ready_Child() return E_FAIL; } + SAFE_ADDREF(m_pPhysHitBox); return S_OK; } @@ -227,29 +233,27 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc) Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); } void CNomalJap::Free() { __super::Free(); - //if(m_pPhysHitBox != nullptr) - // if (m_pPhysHitBox->Get_Depth() == false) - // SAFE_RELEASE(m_pPhysHitBox); + if (m_pPhysHitBox != nullptr) + if (m_pPhysHitBox->isDead() == false) + SAFE_RELEASE(m_pPhysHitBox); Safe_Release(m_pProjectile); Safe_Release(m_pProjectile_Side); } -#ifdef _DEBUG void CNomalJap::Describe_Entity() { } -#endif // _DEBUG - HRESULT CNomalJap::Bind_ShaderResources() { return S_OK; diff --git a/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp b/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp index a92f97d44..31c1175ce 100644 --- a/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp +++ b/Jusin154_Team3D/Client/Private/PhysXEffectHitBox.cpp @@ -39,10 +39,7 @@ void CPhysXEffectHitBox::Priority_Update(_float fTimeDelta) void CPhysXEffectHitBox::Update(_float fTimeDelta) { m_pTransformCom->AccumulateMomentum(XMLoadFloat3(&m_vDeltaPos)); - m_vLifeTime.x += fTimeDelta; - if (m_vLifeTime.x > m_vLifeTime.y) { - m_bDead = true; - } + } void CPhysXEffectHitBox::Late_Update(_float fTimeDelta) @@ -91,6 +88,9 @@ HRESULT CPhysXEffectHitBox::Ready_Components(void* pArg) m_pTransformCom->Rotation(pDesc->vRotRPY.x, pDesc->vRotRPY.y, pDesc->vRotRPY.z); m_vDeltaPos = pDesc->vDeltaPos; m_vLifeTime = pDesc->vLifeTime; + + + { // CCT CCharacter_Controller::Character_Controller_DESC Desc{}; @@ -109,6 +109,8 @@ HRESULT CPhysXEffectHitBox::Ready_Components(void* pArg) if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), (CComponent**)&m_pCharacter_Controller, &Desc))) { return E_FAIL; } + + m_pCharacter_Controller->SetGravity(pDesc->bGravity); } m_pCharacter_Controller->Set_Position(m_pTransformCom->Get_State(STATE::POSITION)); /* Com_Shader */ diff --git a/Jusin154_Team3D/Client/Private/Protego.cpp b/Jusin154_Team3D/Client/Private/Protego.cpp index e2a1606fd..8fed9f5e6 100644 --- a/Jusin154_Team3D/Client/Private/Protego.cpp +++ b/Jusin154_Team3D/Client/Private/Protego.cpp @@ -3,7 +3,6 @@ #include "GameInstance.h" #include "EffectParts.h" -#include "PhysXEffectHitBox.h" CProtego::CProtego(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) @@ -46,6 +45,18 @@ HRESULT CProtego::Initialize(void* pArg) m_wstrEffectName = L"Protego"; + m_Events.emplace(1.3f, [&]() { + + m_pSphere->Set_Dissolve(true); + m_pBottom->Set_Dissolve(true); + m_pCircle->Set_Dissolve(true); + + }); + + + m_fAmountSize = 0.1f; + m_fSpeed = 5.f; + m_fDuration = 2.5f; return S_OK; @@ -64,11 +75,25 @@ void CProtego::Update(_float fTimeDelta) m_pSphere->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); m_pBottom->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); - m_pCircle-> Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pCircle->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); __super::Update(fTimeDelta); Update_Event(fTimeDelta); + + + + /* 시작 사이즈 러프 */ + if (m_fSizeAccTime > XM_PIDIV2) + return; + + m_fSizeAccTime += fTimeDelta * m_fSpeed; + + _float fSize = 1 + sinf(m_fSizeAccTime) * m_fAmountSize; + _float3 vSize = _float3(fSize, fSize, fSize); + + m_pSphere->Get_Component()->Set_Scale(vSize); + m_pCircle->Get_Component()->Set_Scale(vSize); } void CProtego::Late_Update(_float fTimeDelta) @@ -94,10 +119,26 @@ HRESULT CProtego::Pre_Setting(CGameObject* pObject) __super::m_fAccTime = 0.f; m_fPreAccTime = 0.f; + + m_pSphere->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pBottom->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pCircle->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pSphere->Set_Visible(true); m_pCircle->Set_Visible(true); m_pBottom->Set_Visible(true); + + _float3 vSize = _float3(1.f, 1.f, 1.f); + m_pSphere->Get_Component()->Set_Scale(vSize); + m_pCircle->Get_Component()->Set_Scale(vSize); + + m_fSizeAccTime = 0.f; + + m_pSphere->Set_Dissolve(false); + m_pBottom->Set_Dissolve(false); + m_pCircle->Set_Dissolve(false); + m_bVisible = true; return S_OK; @@ -168,7 +209,12 @@ void CProtego::Free() void CProtego::Describe_Entity() { + GUI::Begin("PROTEGO"); + GUI::DragFloat("fAmountSize", &m_fAmountSize); + GUI::DragFloat("fSpeed", &m_fSpeed); + + GUI::End(); } #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/TrailObject.cpp b/Jusin154_Team3D/Client/Private/TrailObject.cpp index 129579f74..a19b1c26a 100644 --- a/Jusin154_Team3D/Client/Private/TrailObject.cpp +++ b/Jusin154_Team3D/Client/Private/TrailObject.cpp @@ -51,6 +51,18 @@ void CTrailObject::Update(_float fTimeDelta) { m_TrailInfo.vDistortionTime.x = 0.f; } + + /* 블룸 타임*/ + + if (m_TrailInfo.vBloomTime.y != 0) + { + m_TrailInfo.vBloomTime.x += fTimeDelta; + + if (m_TrailInfo.vBloomTime.x > m_TrailInfo.vBloomTime.y) + { + m_TrailInfo.vBloomTime.x = 0.f; + } + } } void CTrailObject::Late_Update(_float fTimeDelta) @@ -59,6 +71,11 @@ void CTrailObject::Late_Update(_float fTimeDelta) if (m_bVisible == false) return; + if (m_TrailInfo.isBloom == true) + { + m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this); + } + if (m_TrailInfo.isBlur == true) { m_pGameInstance->Add_RenderGroup(RENDER::BLUR, this); @@ -310,6 +327,44 @@ void CTrailObject::Describe_Entity() } #endif // _DEBUG +HRESULT CTrailObject::Render_Bloom() +{ + if (FAILED(Bind_ShaderResources())) + { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_TrailInfo.fBloomStrength, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_TrailInfo.eBloomType, sizeof(_int)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_TrailInfo.isBloomDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_TrailInfo.isBloomReverseDissolve, sizeof(_bool)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vBloomTime", &m_TrailInfo.vBloomTime, sizeof(_float2)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL_BLOOM)))) + return E_FAIL; + + + + if (FAILED(m_pTrailCom->Render())) + return E_FAIL; + + return S_OK; +} + + HRESULT CTrailObject::Bind_ShaderResources() { diff --git a/Jusin154_Team3D/Client/Private/Wand.cpp b/Jusin154_Team3D/Client/Private/Wand.cpp index f7bf9b126..f1de007ac 100644 --- a/Jusin154_Team3D/Client/Private/Wand.cpp +++ b/Jusin154_Team3D/Client/Private/Wand.cpp @@ -57,6 +57,8 @@ HRESULT CWand::Initialize(void* pArg) m_pEffectParts->Set_Visible(true); + m_vOffset = _float3(0.f, -0.27f, -0.32f); + return S_OK; } diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 9f17f4fdc..1680d2a7d 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -12,10 +12,12 @@ namespace Client 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, END }; enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, END }; enum class SHADER_PASS_PARTICLE { EXPLOSION, END }; - enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLUR, END }; - enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, ALPHA_BLEND, END }; + enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLUR, TRAIL_BLOOM, END }; + enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, ALPHA_BLEND, BLOOM, END }; enum class SHADER_PASS_UIEDITOR { DEFAULT, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, END }; enum class EFFECT_TYPE { EFFECT, TRAIL, END }; - enum class SKILL_TYPE { JAP, BOMBARD, DESCENDO, PROTEGO, END }; + enum class SKILL_TYPE { JAP, BOMBARD, DESCENDO, PROTEGO, END }; + enum class BLOOM_TYPE { NONE, BASIC, MULTIPLY, END }; + } diff --git a/Jusin154_Team3D/Client/Public/EffectObject.h b/Jusin154_Team3D/Client/Public/EffectObject.h index 31ac62b9a..adfb98373 100644 --- a/Jusin154_Team3D/Client/Public/EffectObject.h +++ b/Jusin154_Team3D/Client/Public/EffectObject.h @@ -93,6 +93,17 @@ class CEffectObject abstract : public CPartObject _float fBluringStrength = { 0.01f }; + + + _bool isBloom = {}; + + _bool isBloomDissolve = {}; + _bool isBloomReverseDissolve = {}; + + _float fBloomStrength = {}; + + BLOOM_TYPE eBloomType = {}; + }EFFECT_INFO; @@ -107,9 +118,14 @@ class CEffectObject abstract : public CPartObject virtual void Late_Update(_float fTimeDelta); virtual HRESULT Render() override; virtual HRESULT Render_Blur() override; + virtual HRESULT Render_Bloom() override; public: HRESULT Load(const _char* pFilePath, LEVEL eLevel); + void Set_Dissolve(_bool isDissolve) + { + m_EffectInfo.isDissolve = isDissolve; + } protected: virtual HRESULT Bind_ShaderResources() override; virtual HRESULT Ready_Components(void* pArg) override; diff --git a/Jusin154_Team3D/Client/Public/Effect_Container.h b/Jusin154_Team3D/Client/Public/Effect_Container.h index 092afba2f..c1d43c240 100644 --- a/Jusin154_Team3D/Client/Public/Effect_Container.h +++ b/Jusin154_Team3D/Client/Public/Effect_Container.h @@ -34,6 +34,9 @@ class CEffect_Container abstract : public CContainerObject void Update_Event(_float fTimeDelta); HRESULT Reset_EffectParts(); +protected: + class CPhysXEffectHitBox* m_pPhysHitBox = {}; + protected: _wstring m_wstrEffectName = {}; diff --git a/Jusin154_Team3D/Client/Public/PhysXEffectHitBox.h b/Jusin154_Team3D/Client/Public/PhysXEffectHitBox.h index 780fe4fe7..8b1f4ebd0 100644 --- a/Jusin154_Team3D/Client/Public/PhysXEffectHitBox.h +++ b/Jusin154_Team3D/Client/Public/PhysXEffectHitBox.h @@ -23,6 +23,7 @@ class CPhysXEffectHitBox final : public CGameObject _uint iSubKind = {}; _float3 vDeltaPos = {}; _float2 vLifeTime = {}; + _bool bGravity = {}; }PHYSXDUMMY_DESC; private: CPhysXEffectHitBox(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/Protego.h b/Jusin154_Team3D/Client/Public/Protego.h index 2c2c6fe0b..1d6c6ed2b 100644 --- a/Jusin154_Team3D/Client/Public/Protego.h +++ b/Jusin154_Team3D/Client/Public/Protego.h @@ -33,9 +33,13 @@ class CProtego final : public CEffect_Container private: _wstring m_wstrEffectName = {}; - CPartObject* m_pSphere = { nullptr }; - CPartObject* m_pBottom = { nullptr }; - CPartObject* m_pCircle = { nullptr }; + class CEffectParts* m_pSphere = { nullptr }; + class CEffectParts* m_pBottom = { nullptr }; + class CEffectParts* m_pCircle = { nullptr }; + + _float m_fSizeAccTime = {}; + _float m_fAmountSize = {}; + _float m_fSpeed = {}; public: static CProtego* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; diff --git a/Jusin154_Team3D/Client/Public/TrailObject.h b/Jusin154_Team3D/Client/Public/TrailObject.h index c6c531778..c943dce5e 100644 --- a/Jusin154_Team3D/Client/Public/TrailObject.h +++ b/Jusin154_Team3D/Client/Public/TrailObject.h @@ -56,6 +56,17 @@ class CTrailObject final : public CPartObject _float fBlurIntensity = {}; _int iBlurWeight = {}; + /* 블룸 */ + _bool isBloom = {}; + + _bool isBloomDissolve = {}; + _bool isBloomReverseDissolve = {}; + + _float fBloomStrength = {}; + + BLOOM_TYPE eBloomType = {}; + _float2 vBloomTime = {}; + }TRAIL_INFO; private: CTrailObject(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -79,7 +90,7 @@ class CTrailObject final : public CPartObject virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Render() override; virtual HRESULT Render_Blur() override; - + virtual HRESULT Render_Bloom() override; public: static CTrailObject* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); 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 d115073ec..afc7d3890 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:c2bf5cc23fc8552da37e6741cd24a65f0b996130e1f9a89c4219e50ac294351f -size 831 +oid sha256:d83deba0f1fd507154e78b1dbc0676d213ed603bf7ce482c11f946f5343cfd95 +size 839 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 3220ea2ce..02a9868e4 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:5cd2cac8ab276d9d4fd31f2533a7f707d6424b4e11ca8ef0f3572e00b03a008c -size 827 +oid sha256:6fcf86c040fd0122b778a7f85938f94f5ea57ed3daa3c729c5b44a9d2e4148df +size 835 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 8e3a1e3d8..b10f481a1 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:3e2c2978c591495ec06a38b4d193270647aeb3b64f3cc07d8db9f0f9ea9ef925 -size 784 +oid sha256:553a743d2dec286f4a8e60f16234ee60a649ba11db65ce57d0a581076f51d46b +size 792 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 ff7fbba6a..1c3227471 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:e54c67374a8923f7a5bfa88ac7c8e53fc68f5fea4e10df28860c96d7b7930da7 -size 778 +oid sha256:ee7c4ef2c5231611a3ab3e7be5f8f02b1c414d333af2818d9db61d4fc42d1c60 +size 786 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 3d536a2b7..323ba9e67 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:78711c1544f2eadcbeb97bde9b045464206702607f2b4b100be1798ffa332b2a -size 786 +oid sha256:a7fe1f3eb2344e68a1e04d5a12b47e4cd6b34e132a94975a7ec57ea06630f4ce +size 794 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 7a603cc21..3e51743f6 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:a0a099812def747e4eddca7b066f347954d17616d7db7f33f00175685a36dac5 -size 786 +oid sha256:70670ea59ce71ddd5f8ed30d2685f21faf4dcb2ad060c2fc6e51d232eb1f0be3 +size 794 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 c4a99ddbd..47b18c707 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:f9c42ced504f7a03db0c2a423c4296f3088232a5529d789dc49c3f0ee357dcd3 -size 778 +oid sha256:3e717285622cd1a36fdc9434e8109aad9b83f11a753cf1cd811d836fe656ec2d +size 786 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 d34b03ddd..6cbcb4034 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:d72b0c6d5377dfb985788c02eccabfc784ada0aa6ca6ebb24325b309ed9b687f -size 778 +oid sha256:71a50a5ab505d00b25c12abb86e883f2ef928bc2bc0fa43175aceb30d5b3d390 +size 786 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 671de07dd..a9de34c41 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:7de9e39539c6aaed7ad15e65dbaad3bb59b512b40696f204f32f31b0a69c02e0 -size 883 +oid sha256:b3c2c13577cd1bbd2102bb6dcbb26d3f49c1a89a7b7182e15535c929cf82e83d +size 891 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 dea3305fd..264033c71 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:6e7bf7c421f1abb427d79d7087fd3bfa3319c298aeadcd0dfb18f6468417e40e -size 774 +oid sha256:ee49a8543516ee8b355cd57a6e4113e1a14d0b5285e67bea1fa719b7fcffb875 +size 782 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 ef0ee50bb..22fab4b9b 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:e69b8f0c3d92647677ea0f8620e4fa09efe4929af532fcbe7f64942286c9144a -size 733 +oid sha256:c0f0445b81bf913674d0a1c930e5a41c2f79559c2e72e479abb40fe1091fa34b +size 741 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 12e74d397..e0b45b15e 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:a0a1160cd6174e5e4f5a1a147f7604be06e5936f7cd14a517cf652bb71027fc3 -size 789 +oid sha256:c13d37ddbf9695132ac9380ae229dbe83143cfee1b4038b635670ccc2f160b95 +size 797 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 7f666b151..a89bfa266 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:ee26976d55889743fbc9c3a1a6c9f3784329be7fca0be20b402151a7c0c31ecd -size 796 +oid sha256:07b393fdc9d29056444cdf05a9792ceb85faf159aed36e99c08f54ef55bf804d +size 804 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 ed63dc03d..22cce70c5 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:8fca99578f52464d9210dddcf095ca7445e6e3990569ce63d0135dab9ce1569c -size 782 +oid sha256:4159ecd17d8841b5e4c65e68eeeb0ee1d6c5f8ea54f66197557fde5278cb7100 +size 790 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 f9d6173d4..7600168f5 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:2acf190d3c5e4cc435dc9d4c779a16bd3e038a9e9d3ff525aede0eb4429810f9 -size 785 +oid sha256:1bb55f887af262b00524d91abe848cb7d037ca69ac433a940a0fb4c25699dbcd +size 793 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 77946c4e1..03c68cf83 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:53bea717bfb06b0cc35cc7d5dd8fe5fedca496b2024ad36a1a4f339b1e0ca721 -size 727 +oid sha256:decf8c02d54d6896e53c1c1fc87620599628e794778684c7c1d534be19f23f49 +size 735 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 1616d8b63..c234d300a 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:b4d3d7efac71a15692c2fedf7972738d53d1256ab8903186df3b97fc2dee5584 -size 736 +oid sha256:917ef367eba618aa8acdf1975419ed1b3ed090e4e6db26f69865324a27a6a77b +size 744 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 1041d2545..203a6608e 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:327430f164c39a71db837f67390c0d499bcdd1b5092b466a6e25be278514f24e -size 735 +oid sha256:1337e4494de24daa6fe06b8f1199ea2dd79117d57f18a2c547bf20f106bc36bf +size 743 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Proj_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Proj_Trail.trail index 794673e2436236d890092055ee09d8f8d1ee0cf1..01013bf3bb5f99094b49cfb0938541efeb25242e 100644 GIT binary patch delta 112 zcmbQvbe3sCIiuo4dwEW`%%aqS#JqTyiFK;{VFeZTX;XjOf-nO^!^BOdE;cW8?G=UY c+k!Aq$R2_jfB?jX(2NXc&m#B?KsG7>0FB=or2qf` delta 85 zcmX@hG@WTeIXeRcOkAMK|6M)Zz9d)>j94$0Av6O60Hzch+W-In 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 0e7f9710b..b05a16bee 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:ab1a346e5f1b62d152251891bb5102fb1420207a6ce74a30d32e0c54eccbef99 -size 789 +oid sha256:0b7b17589b7c377735516406c84b60454d07fb3cd4edbeaeee8c7005c1e7bafe +size 797 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 433acbffa..e6891e580 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:f7ec55a9b1000126f568a9c764716222eebd343a20815609e266dfd1d43a536f -size 733 +oid sha256:84de7e1878d3a81741dd9a99298f0da7e821f65e30961327a41e32b9c506390b +size 741 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 e96509260..160a6ebab 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:4fc7b219cd30345b621339926808bc140397cf1064e2f3dcf6d13772dbb56aea -size 743 +oid sha256:af517ebb169ff53865ede7d92fd067b9dcf957a065be6033e616feb32c11e94b +size 751 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 9169ff50d..05524e46e 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:5c7dca44cd93b2f92665ebbddf455836af2dd6bc77b0552a41ae98bfb26cc130 -size 828 +oid sha256:40eca3e48af7becb4272a3f0ea9d7ce7a03a0ada3f0f3355e858502e5a0c913a +size 836 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 18e2fd193..8a064b70b 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:a99edf82ca4e85ef52103f1526662df974fed740d4cde00b23ef90cebbb54ac0 -size 746 +oid sha256:13ac2760f5d00612ad6fbc7a6ad24ffd82dfb1de88a7d39f19d079efe46caba8 +size 754 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 89f6075fcc05e2eb425c8edc52490496ceae2bf8..65613e0ca15ae8d3a600086061dfdd814f180349 100644 GIT binary patch delta 177 zcmX@gbb@I@5u@TnD|uVD%%aqS#JqSH1`s%V=8P?v0b%b2u^B=5?Afyn3=Q@W3=#!_ zhKUbEQ$SLk9UVYzAZZwYu=@{{+JVF)x~1(v7@`Jd3`~84JtG6mc%W544oDpn(5TK1 H4zL~oN%$xX delta 174 zcmX@Xbd+gA5u?#WD|tWXjH3M9#FETp=hU1Wzx>SN)OhFoocyAA7X}bGd&Xxkm;qti zg4m28eD>_w!(TP*85kPu7cNk+1>uPk1SXyr4PXFDDJv;~r9jFdpaIBdU^x8sg&kA? NFU1Hn1Y|Tw5daOgC>Q_$ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile1.bin deleted file mode 100644 index 3e9ac4786..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile1.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82890f11a1561ca32e8504d5dec11a18ef3dae00f490f70a9581a529b0ca2304 -size 587 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile2.bin deleted file mode 100644 index 55291ea6b..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectile2.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:69c6354c06138ef2b34377e13964d14412600eb5b0f88b21d55e6571b34890c1 -size 597 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileCircle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileCircle1.bin deleted file mode 100644 index cd81664d3..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileCircle1.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:022d6dcae155a8a1c369aa275ed56e533d5a3afb417b5fed9d6b9345ec05b008 -size 542 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileMiddle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileMiddle.bin deleted file mode 100644 index 41a49338d..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LP/LightProjectileMiddle.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cab580f863401e8351fda8c05e5accb6c02b0424d678d65de802b7827ebdad5d -size 599 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 b0f8d89c1..6e096bf10 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:75a9389ebd3436a4cd8aa27a525c1164269781402010284c117c683539da5080 -size 780 +oid sha256:18526f9c91fafa6f5916b5fff7d18b400a345bfaa6fa76e2c1087139090343d6 +size 788 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 f4765f1d5..529383ee2 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:46f4650d38bc3bc4d464dd1a41711a304170736e8b23828c3cd92aa6a7df9771 -size 765 +oid sha256:2ef4f0f69c76ece5052d20bc5e3c973946bf7fb05389328588e847d03340e36a +size 773 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 032a88b00..72c5438f0 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:961dc1d6957ca3d69b94c0ff558876c0a9f5331be2f61e35b0609864d4d0eea7 -size 813 +oid sha256:4c99a7aecb456c8d77a45b38f94fe51ba8c8578ccbe701a82c21f7880122f01c +size 821 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 17f12c747..17f0b143a 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:4cd384656c079050a6fa86826b67c60af75b965fcae7bcb88731e4520f236b20 -size 778 +oid sha256:68c1f30b04e34de8d64962abc440519e863016810ff007445f7727ccca858403 +size 786 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 e6ed073a7..17f0f4c6a 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:9ab21b312883411e87884a3ab536b2dc51692d9fe4b55fb3e05f985596aebf14 -size 768 +oid sha256:e612c8122588bf5a59b81ddd6a0b265a01db1b832297c3377b22de589c67bfa2 +size 776 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 7c3165252..0334dbe75 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:b85a944d7dc1dc71a57692ec241a1fc02abb6b01103fbfc9db61aa94ca696e8f -size 731 +oid sha256:380fd7a2f3ec29a3fcd15494e16225a2ee945410c9c2474c2daa9cff432774ad +size 739 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 e61968dcb..6f7b5a899 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:f4d7b6dc29ad0d861eacb5ff4893dfc2397b9f84e88b2e22f73a420bef385694 -size 788 +oid sha256:d683e9c7b724752b5a173204c14ea6adb7499ab21fe89fb71957e5f5ca9563d4 +size 796 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin new file mode 100644 index 000000000..c8b2f5057 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea853923b5a6bf95e8b9d6855f2aa3231df11341406c1d8c3315b14c9c218e04 +size 700 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Trail/Bombard_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Trail/Bombard_Trail.trail index ab9269e939bde5a883096058099c650c67755a04..de75d04c5308a9cfa400fcd29c9714218ce7987e 100644 GIT binary patch delta 69 zcmX@abd71kCFT$1rW3C!G7Ad|PW-8B;PLQ~!#ej)2L>Rh7Rj?`WH@`4fuX@3#Ajq+ KfU`k-5C8xr3=vQO delta 49 zcmcb{bckufCFX*Z^AoQsGPielO#G=UGizp}!#ej)2L>Rh7Rj?`WH@`4fuX@3#0LQJ CJ`kY* 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 d175da4f2..5d3b112ef 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:66baf1f85c4a6e25adb180fa2abd0d7566e92aaab034dbbec8923aeb38ec70db -size 786 +oid sha256:52537383fa5aab23dd74558b179937edfeecfb326a72894d7959b926f50f4edb +size 794 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 f84ea1a00..d115073ec 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:2125514b22e5f5336a406865f1e6e1f9a1e2ee0a3817161fd410987f0f3ad8ff -size 823 +oid sha256:c2bf5cc23fc8552da37e6741cd24a65f0b996130e1f9a89c4219e50ac294351f +size 831 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 0fa18c95b..3220ea2ce 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:754caa56185a9683f175deb1e34831a53349587aedf7ac0bc93ef466fa15c0b8 -size 819 +oid sha256:5cd2cac8ab276d9d4fd31f2533a7f707d6424b4e11ca8ef0f3572e00b03a008c +size 827 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 6e5c9f2a3..8e3a1e3d8 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:f777787cf6a876657d8eba896e747fa99ac3646439e33f8cb57d9f76b0775c47 -size 776 +oid sha256:3e2c2978c591495ec06a38b4d193270647aeb3b64f3cc07d8db9f0f9ea9ef925 +size 784 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 f4e36d521..ff7fbba6a 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:cef1aebbbb64f24cce1550d2234550fc2c354fd7aa286a72ec16a46e4ff25a71 -size 770 +oid sha256:e54c67374a8923f7a5bfa88ac7c8e53fc68f5fea4e10df28860c96d7b7930da7 +size 778 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 960e86eef..3d536a2b7 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:c68075ff2041596f7d7574f0be8b48367a4d42fb1ad548db57cf253de4071763 -size 778 +oid sha256:78711c1544f2eadcbeb97bde9b045464206702607f2b4b100be1798ffa332b2a +size 786 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 9464c0966..7a603cc21 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:321ee693cd5c01c35c482b82be3b304ac1ed29277f7d7c1b1d2ca69151f4704b -size 778 +oid sha256:a0a099812def747e4eddca7b066f347954d17616d7db7f33f00175685a36dac5 +size 786 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 d12e8a363..c4a99ddbd 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:97ce02c72164faadf0153679fc7cf42ed48a22b04de08a811d42492d4cecaa05 -size 770 +oid sha256:f9c42ced504f7a03db0c2a423c4296f3088232a5529d789dc49c3f0ee357dcd3 +size 778 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 c24651849..d34b03ddd 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:fd6e6b5e71527fb367accc029e84d83fe62c3907021714b3384a4d6e9dad0957 -size 770 +oid sha256:d72b0c6d5377dfb985788c02eccabfc784ada0aa6ca6ebb24325b309ed9b687f +size 778 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 98015a1f7..671de07dd 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:1a6b6dc4ee34b88588ba3d076840eb444b4b0a7029e8f1249140e9e3cccd3790 -size 875 +oid sha256:7de9e39539c6aaed7ad15e65dbaad3bb59b512b40696f204f32f31b0a69c02e0 +size 883 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 4ca16605c..dea3305fd 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:986e05bd0189af7acca4975665de083ca88c6039195354c53cb9762abe7b0028 -size 766 +oid sha256:6e7bf7c421f1abb427d79d7087fd3bfa3319c298aeadcd0dfb18f6468417e40e +size 774 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 4abc0ebe5..ef0ee50bb 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:bd8765534c44aa3dbe9663aaa928f3ff6d906cf895a38eb8562ae09854945d05 -size 725 +oid sha256:e69b8f0c3d92647677ea0f8620e4fa09efe4929af532fcbe7f64942286c9144a +size 733 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 new file mode 100644 index 000000000..12e74d397 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0a1160cd6174e5e4f5a1a147f7604be06e5936f7cd14a517cf652bb71027fc3 +size 789 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 14baaf1eb..7f666b151 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:83a2ffb062848b8a6b0d818ee27019e73c8a2dc9d50e57fb5321fe60065968ab -size 788 +oid sha256:ee26976d55889743fbc9c3a1a6c9f3784329be7fca0be20b402151a7c0c31ecd +size 796 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 e3c99517d..ed63dc03d 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:ebccf9cd0439a24609e73e5e828c7bbbdf4f41885ef2b9ff7420c89a3aa4633a -size 774 +oid sha256:8fca99578f52464d9210dddcf095ca7445e6e3990569ce63d0135dab9ce1569c +size 782 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 f33f4f501..f9d6173d4 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:afaf22c18a829894af6d9108c20572b5d25915a9c403db0e3dc98cebed639d2d -size 824 +oid sha256:2acf190d3c5e4cc435dc9d4c779a16bd3e038a9e9d3ff525aede0eb4429810f9 +size 785 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 156b6884d..77946c4e1 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:0bb71e0865a7fc0ad79da8a109babe956bdb51ebb7e7ee4764ca87b5166687de -size 719 +oid sha256:53bea717bfb06b0cc35cc7d5dd8fe5fedca496b2024ad36a1a4f339b1e0ca721 +size 727 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 4e7ec51a8..1616d8b63 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:c8a313614069d2521f54a9122859bdd4b35c14fdf194ea2ebf979e209a05cdd8 -size 728 +oid sha256:b4d3d7efac71a15692c2fedf7972738d53d1256ab8903186df3b97fc2dee5584 +size 736 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 4a910c459..1041d2545 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:09c2463c1fc76c35da1deb258efd81acd2bdcc4a4e564e3f2805886fb8c4ec33 -size 727 +oid sha256:327430f164c39a71db837f67390c0d499bcdd1b5092b466a6e25be278514f24e +size 735 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin new file mode 100644 index 000000000..0e7f9710b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab1a346e5f1b62d152251891bb5102fb1420207a6ce74a30d32e0c54eccbef99 +size 789 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin new file mode 100644 index 000000000..433acbffa --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ec55a9b1000126f568a9c764716222eebd343a20815609e266dfd1d43a536f +size 733 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin new file mode 100644 index 000000000..e96509260 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fc7b219cd30345b621339926808bc140397cf1064e2f3dcf6d13772dbb56aea +size 743 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin new file mode 100644 index 000000000..9169ff50d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c7dca44cd93b2f92665ebbddf455836af2dd6bc77b0552a41ae98bfb26cc130 +size 828 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin new file mode 100644 index 000000000..18e2fd193 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a99edf82ca4e85ef52103f1526662df974fed740d4cde00b23ef90cebbb54ac0 +size 746 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail new file mode 100644 index 0000000000000000000000000000000000000000..89f6075fcc05e2eb425c8edc52490496ceae2bf8 GIT binary patch literal 325 zcmZQzfB+3B9Z-~Cl3!9;kQyJ7T2WG31f=5w67%vh^U`4g28Qu2jtmAkHH5iE05!Q6 zC8lJi=9M_5CgytN7iCuE=anSp#JeyU5zy$IQIwyXSdy9SoSKv4m!Daj8tN%q;fWIj>_OuFhrZgjzLsT literal 0 HcmV?d00001 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 d91c677ae..6ecb3df7a 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:f5532b63cc40791a4441a7275cee80b09532a03eab7ed65d8df4f1b65617953f -size 772 +oid sha256:b690e81dd42790f6d1b03fdbf823e83784d1cb89a9b139f94ed80d2c7f5380bf +size 780 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Bombard.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Bombard.bin new file mode 100644 index 000000000..d0e5dc2c3 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Bombard.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aa176cc2a633eb12a2edcd82a34c80dc1e5bfcfbb79923361e960a94692919b +size 646 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Decendo.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Decendo.bin new file mode 100644 index 000000000..0cd0cc25d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Decendo.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5805455e1494ccd694ea6f25871226e899ec5e71759e7bd1599309e136219bda +size 509 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Jap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Jap.bin new file mode 100644 index 000000000..ffa9a9497 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Jap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:807218446b2caf45986cc79908b50658bb86f5561653c45ed7e573579219a784 +size 334 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Protego.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Protego.bin new file mode 100644 index 000000000..0c08d6f6c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/Protego.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ddfb3185854514ab109c3b255761e2529f9f1989003ae86952b2d8c8dd9d359 +size 387 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin new file mode 100644 index 000000000..2f7d8434e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77c368ed0bc69d1a6b60a57f095f26a404bf24935ccc0a6bb6a0978c9d4bf4a5 +size 765 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 09a45789d..eabcd41cf 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:8620a6cfda4931e63a0d5212eaeacd26f2b080ac303af129febcde39b7c64c30 -size 805 +oid sha256:bc72435b4a6f4e6967ae102984550a71b939814b62a0eb75aac83b04b4434b17 +size 813 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin new file mode 100644 index 000000000..17f12c747 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cd384656c079050a6fa86826b67c60af75b965fcae7bcb88731e4520f236b20 +size 778 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 342ab73db..9801486e7 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:cb9b64237cb80e257e3830f50df2beb56c76980a91fe87746c8946c8d29f6a31 -size 760 +oid sha256:d22778a865b08222d8c7ab5fffdf7328695da0c7c3884dfe0189d921aa804e06 +size 768 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 ab353bd50..7c3165252 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:3dd96bc51265ba84a3fd61d486c8677c72eec14fbec84b1ab2f955d70c4d08c5 -size 752 +oid sha256:b85a944d7dc1dc71a57692ec241a1fc02abb6b01103fbfc9db61aa94ca696e8f +size 731 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 4708ff2ca..45b78801f 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:19fb93c1ddac59d7471c9d3351a3aa7acbc381900dc8c93574e469a36c06b118 -size 780 +oid sha256:d2e4951899658e80e4f5bc6d4915e28dd752fc79b424bd513165585bd1785277 +size 788 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 f146a6697..d175da4f2 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:3a3d5de1e90dbd176984a25935b5d01c41cd78e32383261588bc65b2e3aff34c -size 778 +oid sha256:66baf1f85c4a6e25adb180fa2abd0d7566e92aaab034dbbec8923aeb38ec70db +size 786 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index eec7dc054..f3c86e997 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -123,6 +123,12 @@ bool g_isBlurReverseDissolve; float g_fBluringStrength; +bool g_isBloomDissolve; +bool g_isBloomReverseDissolve; + +float g_fBloomStrength; +int g_iBloomType; + float g_fFar; @@ -234,74 +240,8 @@ struct PS_OUT float4 vColorTarget : SV_TARGET2; }; - -PS_OUT BlendedWeight(vector fDiffuse, float fLinearZ) +float4 DrawEffect(PS_IN In) { - PS_OUT Out; - - float3 vColor = fDiffuse.rgb; - float fAlpha = fDiffuse.a; - - -// float fWeight = -//max( -// min(1.0, max(max(vColor.r, vColor.g), vColor.b) * fAlpha), fAlpha) -// * -// clamp(0.01 / (1e-4 + pow(fLinearZ / 200, 4.0)), 0.01f, 1000); - - - - //float fWeight = clamp(0.03f / (1e-5 + pow(fLinearZ, 4.0f)), 0.01, 3e3); - //fWeight = max(fWeight, 1.0); - - //이게 오리지널 웨이트 함수 - - //float fWeight = pow(fLinearZ, -2.5); - - float fWeight = clamp(pow(fLinearZ, -2.5f), 1.0f, 1000.0f); - - - - Out.vDiffuse = vector(vColor.rgb * fAlpha, fAlpha) * fWeight; - - Out.vRevealage.r = fAlpha; - - - return Out; -} - -PS_OUT PS_MAIN(PS_IN In) -{ - - PS_OUT Out; - vector vMtrlDiffuse; - - vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord); - - 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); - - - //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; -} - -PS_OUT PS_NON_NORMALMAP(PS_IN In) -{ - - PS_OUT Out; - vector vMtrlDiffuse; vector vMtrlMask; vector vMtrlNoise; @@ -327,7 +267,7 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex)); if (g_isDiffuseUVMove) - { + { UV += SelectLerpUV((g_vDiffuseUVGainAmount / g_vUVCutting), (vDiffuseTime.x / vDiffuseTime.y), g_iDiffuseMoveLerpOption); } @@ -399,336 +339,6 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) } - /* 노이즈 */ - - if(g_isNoise) - { - float2 vNoiseUV = In.vTexcoord; - - if (g_isNoiseUVMove == true) - vNoiseUV = In.vTexcoord + SelectLerpUV(g_vNoiseUVGainAmount, (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y), g_iNoiseMoveLerpOption); - - vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV); - - if (g_isNoiseAlpha) - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r); - - if (g_isNoiseColor) - vMtrlDiffuse.rgb *= vMtrlNoise.rgb; - - } - - /* 마스크 */ - if (g_isMasking == true) - { - float2 vMaskTexcoord = In.vTexcoord; - - vMaskTexcoord = UV_Cutting(In.vTexcoord, g_vUVMaskCutting, int(fAnimIndex)); - - // 마스크 디스토션 - if (g_isDistortion == true) - { - - float2 vDistortionUV = In.vTexcoord + SelectLerpUV(g_vMaskDistortionUVGainAmount, (vDistortionUVMoveTime.x / vDistortionUVMoveTime.y), g_iMaskDistortionMoveLerpOption); - - vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortionUV); - - //디스토션(노이즈) 텍스쳐로 uv를 왜곡함 - vMaskTexcoord = vMaskTexcoord + (vMtrlDistortion - 0.5f).r * g_fNoiseDistortionIntensity; - - } - - if (g_isMaskUVMove) - { - if (vMaskingTime.y > 0) - vMaskTexcoord += SelectLerpUV(g_vMaskingUVGainAmount / g_vUVMaskCutting, (vMaskingTime.x / vMaskingTime.y), g_iMaskMoveLerpOption); - } - - if (g_isMaskClampSample == true) - vMtrlMask = g_MaskingTexture.Sample(ClampSampler, vMaskTexcoord); - else - vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vMaskTexcoord); - - - if (g_isMaskBlur) - { - float4 fAccMask; - - - 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++) - { - fAccMask += g_MaskingTexture.Sample(DefaultSampler, vMaskTexcoord + float2(x * fTexel, y * fTexel)); - } - } - - fAccMask = fAccMask / 9.0; - - /* 연산 마스크 대입*/ - vMtrlMask.r = fAccMask; - } - - - float fSoftMask; - - if (g_fSoftMask > FLT_EPSILON5) - fSoftMask = saturate((vMtrlMask.r - g_fSoftMaskEdge) * g_fSoftMask); - else - fSoftMask = vMtrlMask.r; - - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fSoftMask); - - - } - else - { - vMtrlMask.r = 1.f; - } - - - vMtrlDiffuse.a *= g_fDiffuseAlpha; - - if (vMtrlDiffuse.a <= FLT_EPSILON5) - discard; - - - - if (g_isDissolve == true) - { - if (g_isNomalDissolve) - { - vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); - } - else - { - vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord); - - if (g_isReverseDissolve == true) - { - if (vMtrlDissolve.r >= (In.vLifeTime.x / In.vLifeTime.y)) - discard; - } - else - { - if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y)) - discard; - } - } - } - - - - int2 iTexel = int2(In.vPosition.xy); - - float fDepthStencilValue = g_DepthStencilTexture.Load(int3(iTexel, 0)).r; - - float fbias = 0.000005f; - - if (fDepthStencilValue <= In.vProjPos.z / In.vProjPos.w + fbias) - discard; - - - //// 색깔 추가할 처리 (이미시브) - - float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); - float2 CenteredUV = In.vTexcoord - 0.5f; - - Out = BlendedWeight(vMtrlDiffuse, In.vProjPos.w); - - if (g_fRadius >= FLT_EPSILON5) - { - float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 - - float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength - - float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 - - float fEmissive = fSoftEdge + fCore; - - if (g_isEmissive == true) - { - vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); - } - else - { - vEmissiveMtrl = g_vEmissive; - } - - float fEmissiveStrength = g_fEmissiveStrength; - - if (g_isEmissiveDissolve == true) - { - fEmissiveStrength *= (1.f - In.vLifeTime.x / In.vLifeTime.y); - - if (fEmissiveStrength <= 0.05f) - fEmissiveStrength = 0; - - } - - if (g_isEmissiveDissolveReverse == true) - { - fEmissiveStrength *= (In.vLifeTime.x / In.vLifeTime.y); - - } - - Out.vDiffuse += vEmissiveMtrl * fEmissive * fEmissiveStrength; // 이미시브 스트랭스 - } - - - Out.vColorTarget = vector(0.f, 0.f, 0.f, 0.f); - return Out; -} - -struct VS_BLUR_OUT -{ - float4 vPosition : SV_POSITION; - float2 vTexcoord : TEXCOORD0; - float2 vLifeTime : TEXCOORD1; - uint iGPUIndex : TEXCOORD2; - float4 vProjPos : TEXCOORD3; -}; - -VS_BLUR_OUT VS_BLUR(VS_IN In, uint iGPUIndex : SV_InstanceID) -{ - VS_BLUR_OUT Out = (VS_BLUR_OUT) 0; - - row_major matrix matW, matWV, matWVP; - - row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); - - matW = mul(TransformMatrix, g_WorldMatrix); - matWV = mul(matW, g_ViewMatrix); - matWVP = mul(matWV, g_ProjMatrix); - - vector vPosition = mul(vector(In.vPosition, 1.f), matWVP); - - Out.vPosition = vPosition; - Out.vTexcoord = In.vTexcoord; - Out.vLifeTime = In.vLifeTime; - Out.iGPUIndex = iGPUIndex; - Out.vProjPos = vPosition; - - return Out; -} - -VS_BLUR_OUT VS_BLUR_NOWORLD(VS_IN In, uint iGPUIndex : SV_InstanceID) -{ - VS_BLUR_OUT Out = (VS_BLUR_OUT) 0; - - row_major matrix matW, matWV, matWVP; - - row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); - - matW = TransformMatrix; - matWV = mul(matW, g_ViewMatrix); - matWVP = mul(matWV, g_ProjMatrix); - - vector vPosition = mul(vector(In.vPosition, 1.f), matWVP); - - Out.vPosition = vPosition; - Out.vTexcoord = In.vTexcoord; - Out.vLifeTime = In.vLifeTime; - Out.iGPUIndex = iGPUIndex; - Out.vProjPos = vPosition; - - return Out; -} - -struct PS_BLUR_IN -{ - float4 vPosition : SV_POSITION; - float2 vTexcoord : TEXCOORD0; - float2 vLifeTime : TEXCOORD1; - uint iGPUIndex : TEXCOORD2; - float4 vProjPos : TEXCOORD3; -}; - -struct PS_BLUR_OUT -{ - float4 vDiffuse : SV_TARGET0; - float4 vBlurWeight : SV_TARGET1; -}; - - -PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In) -{ - PS_BLUR_OUT Out; - - vector vMtrlDiffuse; - vector vMtrlMask; - vector vMtrlNoise; - vector vMtrlDissolve; - vector vMtrlDistortion; - - float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x; - float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime; - float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime; - float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime; - float2 vDistortionUVMoveTime = g_ParticleValue[In.iGPUIndex].vDistortionUVMoveTime; - float2 vDelay = g_ParticleValue[In.iGPUIndex].vDelay; - - if (vDelay.x < vDelay.y) - { - discard; - } - - if (g_isDiffuse == true) - { - float2 UV; // 이미지의 UV값 - - UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex)); - - if (g_isDiffuseUVMove) - { - UV += SelectLerpUV((g_vDiffuseUVGainAmount / g_vUVCutting), (vDiffuseTime.x / vDiffuseTime.y), g_iDiffuseMoveLerpOption); - } - - /* 디퓨즈 디스토션 */ - if (g_isDistortion == true) - { - - float2 vDistortion = In.vTexcoord + SelectLerpUV(g_vDiffuseDistortionUVGainAmount, (vDistortionUVMoveTime.x / vDistortionUVMoveTime.y), g_iDiffuseDistortionMoveLerpOption); - - vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortion); - - //0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다. - vMtrlDistortion.rg -= 0.5f; - - //아마 분할되었다면 noise도 분할해야할듯 - vMtrlDistortion.rg /= g_vUVCutting; - - //디스토션(노이즈) 텍스쳐로 uv를 왜곡함 - - UV = UV + (vMtrlDistortion).rg * g_fNoiseDistortionIntensity; - - } - - /* 최종 색깔 */ - vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV); - - if (g_vColor.a > 0) - vMtrlDiffuse = saturate(g_vColor + vMtrlDiffuse); - - } - else - { - vMtrlDiffuse = g_vColor; - } - - /* 노이즈 */ if (g_isNoise) @@ -859,58 +469,263 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In) } } + return vMtrlDiffuse; +} - - - +float4 EmissiveDraw(PS_IN In) +{ float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); - - float2 CenteredUV = In.vTexcoord - 0.5f; + float fEmissive = 0.f; + float fEmissiveStrength = g_fEmissiveStrength; - float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 + if (g_fRadius >= FLT_EPSILON5) + { + float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 - float fMaskAlpha = vMtrlMask.a; - - float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength + float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength - float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 + float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 - float fEmissive = fSoftEdge + fCore; + fEmissive = fSoftEdge + fCore; - if (g_isEmissive == true) - { - vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); - } - else - { - vEmissiveMtrl = g_vEmissive; - } + if (g_isEmissive == true) + { + vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); + } + else + { + vEmissiveMtrl = g_vEmissive; + } - float fEmissiveStrength = g_fEmissiveStrength; - - if (g_isEmissiveDissolve == true) - { - fEmissiveStrength *= (1.f - In.vLifeTime.x / In.vLifeTime.y); + if (g_isEmissiveDissolve == true) + { + fEmissiveStrength *= (1.f - In.vLifeTime.x / In.vLifeTime.y); - if (fEmissiveStrength <= 0) - fEmissiveStrength = 0; + if (fEmissiveStrength <= 0.05f) + fEmissiveStrength = 0; + + } + + if (g_isEmissiveDissolveReverse == true) + { + fEmissiveStrength *= (In.vLifeTime.x / In.vLifeTime.y); + + } + } + + return vEmissiveMtrl * fEmissive * fEmissiveStrength; + +} - } +PS_OUT BlendedWeight(vector fDiffuse, float fLinearZ) +{ + PS_OUT Out; - if (g_isEmissiveDissolveReverse == true) - { - fEmissiveStrength *= (In.vLifeTime.x / In.vLifeTime.y); - - } + float3 vColor = fDiffuse.rgb; + float fAlpha = fDiffuse.a; + + +// float fWeight = +//max( +// min(1.0, max(max(vColor.r, vColor.g), vColor.b) * fAlpha), fAlpha) +// * +// clamp(0.01 / (1e-4 + pow(fLinearZ / 200, 4.0)), 0.01f, 1000); + + + + //float fWeight = clamp(0.03f / (1e-5 + pow(fLinearZ, 4.0f)), 0.01, 3e3); + //fWeight = max(fWeight, 1.0); + + //이게 오리지널 웨이트 함수 + + //float fWeight = pow(fLinearZ, -2.5); + + float fWeight = clamp(pow(fLinearZ, -2.5f), 1.0f, 1000.0f); - Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity + vEmissiveMtrl.rgb, vMtrlDiffuse.a); /** vector(vEmissiveColor * fSmoothAlpha, vMtrlDiffuse.a);*/ + + Out.vDiffuse = vector(vColor.rgb * fAlpha, fAlpha) * fWeight; + + Out.vRevealage.r = fAlpha; + + + return Out; +} + +PS_OUT PS_MAIN(PS_IN In) +{ + + PS_OUT Out; + vector vMtrlDiffuse; + + vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord); + + 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); + + + //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; +} + +PS_OUT PS_NON_NORMALMAP(PS_IN In) +{ + PS_OUT Out; + + vector vMtrlDiffuse; + + vMtrlDiffuse = DrawEffect(In); + + int2 iTexel = int2(In.vPosition.xy); + + float fDepthStencilValue = g_DepthStencilTexture.Load(int3(iTexel, 0)).r; + + float fbias = 0.000005f; + + if (fDepthStencilValue <= In.vProjPos.z / In.vProjPos.w + fbias) + discard; + + Out = BlendedWeight(vMtrlDiffuse, In.vProjPos.w); + + //// 색깔 추가할 처리 (이미시브) + + Out.vDiffuse += EmissiveDraw(In); // 이미시브 스트랭스 + Out.vColorTarget = vector(0.f, 0.f, 0.f, 0.f); + + return Out; +} + + +VS_OUT VS_BLUR(VS_IN In, uint iGPUIndex : SV_InstanceID) +{ + VS_OUT Out = (VS_OUT) 0; + + row_major matrix matW, matWV, matWVP; + + row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); + + matW = mul(TransformMatrix, g_WorldMatrix); + matWV = mul(matW, g_ViewMatrix); + matWVP = mul(matWV, g_ProjMatrix); + + vector vPosition = mul(vector(In.vPosition, 1.f), matWVP); + + Out.vPosition = vPosition; + Out.vTexcoord = In.vTexcoord; + Out.vLifeTime = In.vLifeTime; + Out.iGPUIndex = iGPUIndex; + Out.vProjPos = vPosition; + + return Out; +} + +VS_OUT VS_BLUR_NOWORLD(VS_IN In, uint iGPUIndex : SV_InstanceID) +{ + VS_OUT Out = (VS_OUT) 0; + + row_major matrix matW, matWV, matWVP; + + row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); + + matW = TransformMatrix; + matWV = mul(matW, g_ViewMatrix); + matWVP = mul(matWV, g_ProjMatrix); + + vector vPosition = mul(vector(In.vPosition, 1.f), matWVP); + + Out.vPosition = vPosition; + Out.vTexcoord = In.vTexcoord; + Out.vLifeTime = In.vLifeTime; + Out.iGPUIndex = iGPUIndex; + Out.vProjPos = vPosition; + + return Out; +} + + + +struct PS_BLUR_OUT +{ + float4 vDiffuse : SV_TARGET0; + float4 vBlurWeight : SV_TARGET1; +}; + +struct PS_BLOOM_OUT +{ + float4 vDiffuse : SV_TARGET0; +}; + +PS_BLUR_OUT PS_BLUR(PS_IN In) +{ + PS_BLUR_OUT Out; + + vector vMtrlDiffuse; + + vMtrlDiffuse = DrawEffect(In); + + //// 색깔 추가할 처리 (이미시브) + + vMtrlDiffuse += EmissiveDraw(In); + + 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; } +PS_BLOOM_OUT PS_BLOOM(PS_IN In) +{ + PS_BLOOM_OUT Out; + + + vector vMtrlDiffuse; + + + vMtrlDiffuse = DrawEffect(In); + + //// 색깔 추가할 처리 (이미시브) + + vMtrlDiffuse += EmissiveDraw(In); + + float fBloomStrength = g_fBloomStrength; + + if (g_isBloomDissolve == true) + { + fBloomStrength = g_fBloomStrength * (1.f - (In.vLifeTime.x / In.vLifeTime.y)); + } + + + if (g_isBloomReverseDissolve == true) + { + fBloomStrength = g_fBloomStrength * ((In.vLifeTime.x / In.vLifeTime.y)); + } + + Out.vDiffuse = vector(vMtrlDiffuse.rgb * fBloomStrength, (float) g_iBloomType / 255.f); + + return Out; + +} + technique11 DefaultTechnique { @@ -985,6 +800,15 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_BLUR(); } + pass BLOOM + { + SetRasterizerState(RS_Nocull); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_Blend, 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_BLOOM(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl index c0c7d18d8..4f40329a9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl @@ -53,6 +53,15 @@ float g_fRadius; float g_fBlurIntensity; float g_iBlurWeight; +/* 블룸 */ +bool g_isBloomDissolve; +bool g_isBloomReverseDissolve; + +float g_fBloomStrength; +int g_iBloomType; + +float2 g_vBloomTime; + struct VS_IN { float3 vPosition : POSITION; @@ -147,10 +156,9 @@ struct PS_TRAILOUT float4 vColorTarget : SV_TARGET2; }; -PS_TRAILOUT PS_Trail(PS_IN In) + +vector Draw_Trail(PS_IN In) { - PS_TRAILOUT Out; - vector vMtrlDiffuse; vector vMtrlMask; vector vMtrlNoise; @@ -234,7 +242,7 @@ PS_TRAILOUT PS_Trail(PS_IN In) fSoftMask = vMtrlMask.r; vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fSoftMask); - } + } else vMtrlMask.r = 1.f; @@ -245,9 +253,38 @@ PS_TRAILOUT PS_Trail(PS_IN In) if (vMtrlDiffuse.a <= FLT_EPSILON5) discard; + return vMtrlDiffuse; + +} - +float4 EmissiveDraw(PS_IN In) +{ + float4 vEmissiveMtrl = g_vEmissive; + float2 CenteredUV = In.vTexcoord - 0.5f; + float fEmissive = 0.f; + float fEmissiveStrength = g_fEmissiveStrength; + + if (g_fRadius >= FLT_EPSILON5) + { + float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 + + float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength + + float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 + + fEmissive = fSoftEdge + fCore; + } + + return vEmissiveMtrl * fEmissive * fEmissiveStrength; +} +PS_TRAILOUT PS_Trail(PS_IN In) +{ + PS_TRAILOUT Out; + + vector vMtrlDiffuse; + + vMtrlDiffuse = Draw_Trail(In); /* 웨이트 블랜드 */ @@ -255,27 +292,11 @@ PS_TRAILOUT PS_Trail(PS_IN In) Out.vDiffuse = vector(vMtrlDiffuse.rgb, vMtrlDiffuse.a) * fWeight; Out.vRevealage.r = vMtrlDiffuse.a; - /* 이미시브 */ - - float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); - - float2 CenteredUV = In.vTexcoord - 0.5f; - - float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 - - float fMaskAlpha = vMtrlMask.a; - - float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength - - float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 - - float fEmissive = fSoftEdge + fCore; - - vEmissiveMtrl = g_vEmissive; - - Out.vColorTarget = vEmissiveMtrl * fEmissive * g_fEmissiveStrength; // 이미시브 스트랭스 + + Out.vDiffuse = saturate(Out.vDiffuse + EmissiveDraw(In)); // 이미시브 스트랭스 + Out.vColorTarget = vector(0.f, 0.f, 0.f, 0.f); return Out; } @@ -292,127 +313,59 @@ struct PS_BLUR_OUT float4 vBlurWeight : SV_TARGET1; }; -PS_BLUR_OUT PS_TRAIL_BLUR(PS_BLUR_IN In) +PS_BLUR_OUT PS_TRAIL_BLUR(PS_IN In) { PS_BLUR_OUT Out; vector vMtrlDiffuse; - vector vMtrlMask; - vector vMtrlNoise; - vector vMtrlDistortion; + + vMtrlDiffuse = Draw_Trail(In); - /* 디퓨즈 */ - - if (g_isDiffuse == true) - { - float2 vDiffuseTexcoord = In.vTexcoord; - - /* 디퓨즈 디스토션 */ - if (g_isDistortion == true) - { - float2 vDistortion = In.vTexcoord + SelectLerpUV(g_vDiffuseDistortionUVGainAmount, (g_vDistortionTime.x / g_vDistortionTime.y), 0); - - vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortion); - - //0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다. - vMtrlDistortion.rg -= 0.5f; - - - //디스토션(노이즈) 텍스쳐로 uv를 왜곡함 - - vDiffuseTexcoord = vDiffuseTexcoord + (vMtrlDistortion).rg * g_fDistortionIntensity; - - } - - vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vDiffuseTexcoord); - - - vMtrlDiffuse.a *= g_fDiffuseAlpha; - - if (g_vColor.a > 0) - vMtrlDiffuse += g_vColor; - } - else - vMtrlDiffuse = g_vColor; - - /* 노이즈 */ - - if (g_isNoise == true) - { - vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, In.vTexcoord); - - if (g_isNoiseAlpha) - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r) * g_fNoiseStrength; - - if (g_isNoiseColor) - vMtrlDiffuse.rgb *= vMtrlNoise.rgb * g_fNoiseStrength; - - } - - - /* 마스크 */ - - if (g_isMask == true) - { - float2 vMaskTexcoord = In.vTexcoord; - - // 마스크 디스토션 - if (g_isDistortion == true) - { - float2 vDistortionUV = In.vTexcoord + SelectLerpUV(g_vMaskDistortionUVGainAmount, (g_vDistortionTime.x / g_vDistortionTime.y), 0); - - vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortionUV); - - //디스토션(노이즈) 텍스쳐로 uv를 왜곡함 - vMaskTexcoord = vMaskTexcoord + (vMtrlDistortion - 0.5f).r * g_fDistortionIntensity; - - vMaskTexcoord = saturate(vMaskTexcoord); - } - - vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vMaskTexcoord); - - float fSoftMask; - - if (g_fSoftMask > FLT_EPSILON5) - fSoftMask = saturate((vMtrlMask.r - g_fSoftMaskEdge) * g_fSoftMask); - else - fSoftMask = vMtrlMask.r; - - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fSoftMask); - } - else - vMtrlMask.r = 1.f; - - - /* 디퓨즈 알파 컷*/ - if (vMtrlDiffuse.a <= FLT_EPSILON5) - discard; - - - ///* 이미시브 */ - - //float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); - - //float2 CenteredUV = In.vTexcoord - 0.5f; - - //float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 - - //float fMaskAlpha = vMtrlMask.a; - - //float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength + //// 색깔 추가할 처리 (이미시브) - //float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 + vMtrlDiffuse += EmissiveDraw(In); - //float fEmissive = fSoftEdge + fCore; - - //vEmissiveMtrl = g_vEmissive; - - Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity, vMtrlDiffuse.a); // 이미시브 스트랭스 + Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity, vMtrlDiffuse.a); Out.vBlurWeight = g_iBlurWeight / 128.f; return Out; } +struct PS_BLOOM_OUT +{ + float4 vDiffuse : SV_TARGET0; +}; + + +PS_BLUR_OUT PS_TRAIL_BLOOM(PS_IN In) +{ + PS_BLUR_OUT Out; + + vector vMtrlDiffuse; + + vMtrlDiffuse = Draw_Trail(In); + + //// 색깔 추가할 처리 (이미시브) + + vMtrlDiffuse += EmissiveDraw(In); + + float fBloomStrength = g_fBloomStrength; + + if (g_isBloomDissolve == true) + { + fBloomStrength = g_fBloomStrength * (1.f - (g_vBloomTime.x / g_vBloomTime.y)); + } + + + if (g_isBloomReverseDissolve == true) + { + fBloomStrength = g_fBloomStrength * ((g_vBloomTime.x / g_vBloomTime.y)); + } + + Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBloomStrength, (float) g_iBloomType / 255.f); + + return Out; +} technique11 PosTexTechnique11 { @@ -476,4 +429,15 @@ technique11 PosTexTechnique11 PixelShader = compile ps_5_0 PS_TRAIL_BLUR(); } + + pass TrailBloom + { + SetRasterizerState(RS_Nocull); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_Blend, 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_TRAIL_BLOOM(); + } + } diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index dc6ef7eb1..224826534 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -248,6 +248,7 @@ + @@ -388,6 +389,7 @@ + diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index ab7fb694c..1252bd0b4 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -388,6 +388,9 @@ {c0589f6e-ed9c-4e76-8df2-4f95ce3c7b9a} + + {8bb21e5b-933f-4930-8d49-1093e0c3ea77} + @@ -756,6 +759,9 @@ 02.GameObjects\Layer_Effect\EffectPool + + 02.GameObjects\Layer_Effect\Effect\08.Protego + @@ -1123,6 +1129,9 @@ 02.GameObjects\Layer_Effect\EffectPool + + 02.GameObjects\Layer_Effect\Effect\08.Protego + diff --git a/Jusin154_Team3D/Editor/Private/Bombard.cpp b/Jusin154_Team3D/Editor/Private/Bombard.cpp index 2689073e4..03b5e16c8 100644 --- a/Jusin154_Team3D/Editor/Private/Bombard.cpp +++ b/Jusin154_Team3D/Editor/Private/Bombard.cpp @@ -150,6 +150,7 @@ HRESULT CBombard::Ready_Child() return E_FAIL; } + SAFE_ADDREF(m_pPhysHitBox); return S_OK; } @@ -200,16 +201,18 @@ void CBombard::OnCollision(CGameObject* pOther , void* pDesc) Get_PartObject("Bombard_Circle0")->Set_Visible(false); + m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); } void CBombard::Free() { __super::Free(); - //if(m_pPhysHitBox != nullptr) - // if (m_pPhysHitBox->Get_Depth() == false) - // SAFE_RELEASE(m_pPhysHitBox); + if(m_pPhysHitBox != nullptr) + if (m_pPhysHitBox->isDead() == false) + SAFE_RELEASE(m_pPhysHitBox); SAFE_RELEASE(m_pLight_Projectile); diff --git a/Jusin154_Team3D/Editor/Private/Decendo.cpp b/Jusin154_Team3D/Editor/Private/Decendo.cpp index 6b95f01fa..62354d060 100644 --- a/Jusin154_Team3D/Editor/Private/Decendo.cpp +++ b/Jusin154_Team3D/Editor/Private/Decendo.cpp @@ -53,6 +53,11 @@ void CDecendo::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->RewindMomentum(); + } + } void CDecendo::Update(_float fTimeDelta) @@ -68,6 +73,10 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile->Get_Component()->Translation(m_vOwnerLook * 0.5f); + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vOwnerLook * 0.5f); + } + if (m_fAccTime > XM_2PI) return; @@ -76,6 +85,10 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile_Blur->Get_Component()->Translation(m_vRotateUp * 0.2f * sinf(m_fAccTime)); m_pProjectile->Get_Component()->Translation(m_vRotateUp * 0.2f * sinf(m_fAccTime)); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vRotateUp * 0.2f * sinf(m_fAccTime)); + } } void CDecendo::Late_Update(_float fTimeDelta) @@ -107,7 +120,7 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject) m_fPreAccTime = 0.f; - CPartObject* pCircle0 = Get_PartObject("Decendo_Cricle_S"); + CPartObject* pCircle0 = Get_PartObject(); /* 초기 객체 위치 초기화 */ pCircle0->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); @@ -132,7 +145,6 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject) _vector vQuaternion = XMQuaternionRotationAxis(m_vOwnerLook, m_pGameInstance->Random_Float(0.f, XM_PIDIV2)); m_vRotateUp = XMVector3Rotate(vUp, vQuaternion); - m_vRotateUp = XMVector3Normalize(m_vRotateUp); m_bVisible = true; @@ -157,17 +169,10 @@ HRESULT CDecendo::Ready_Child() XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - _vector vOwnerLook = m_pOwner->Get_Component()->Get_State(STATE::LOOK); - - _float3 vDir = {}; - - XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - XMStoreFloat3(&vDir , vOwnerLook * 0.5f); Desc.vRotRPY = { 0.f, 0.f, 0.f }; Desc.iSubKind = 70; - Desc.vDeltaPos = vDir ; + Desc.vDeltaPos = _float3(0.f ,0.f ,0.f) ; Desc.vLifeTime = { 0.f, 1.f }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this , &m_pPhysHitBox))) { @@ -175,6 +180,7 @@ HRESULT CDecendo::Ready_Child() return E_FAIL; } + SAFE_ADDREF(m_pPhysHitBox); return S_OK; } @@ -229,21 +235,23 @@ void CDecendo::OnCollision(CGameObject* pOther , void* pDesc) Get_PartObject("Decendo_Down")->Get_Component()->LookAt(vPlayerPos); Get_PartObject("Decendo_Smoke")->Get_Component()->LookAt(vPlayerPos); - Get_PartObject("Decendo_Cricle_S")->Set_Visible(false); + Get_PartObject()->Set_Visible(false); Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); Get_PartObject()->Set_Visible(false); + m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); } void CDecendo::Free() { __super::Free(); - //if(m_pPhysHitBox != nullptr) - // if (m_pPhysHitBox->Get_Depth() == false) - // SAFE_RELEASE(m_pPhysHitBox); + if(m_pPhysHitBox != nullptr) + if (m_pPhysHitBox->isDead() == false) + SAFE_RELEASE(m_pPhysHitBox); SAFE_RELEASE(m_pProjectile_Blur); SAFE_RELEASE(m_pProjectile); diff --git a/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp b/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp index e8be405fa..5492daaa4 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_PhysXEffectHitBox.cpp @@ -40,10 +40,6 @@ void CDummy_PhysXEffectHitBox::Priority_Update(_float fTimeDelta) void CDummy_PhysXEffectHitBox::Update(_float fTimeDelta) { m_pTransformCom->AccumulateMomentum(XMLoadFloat3(&m_vDeltaPos)); - m_vLifeTime.x += fTimeDelta; - if (m_vLifeTime.x > m_vLifeTime.y) { - m_bDead = true; - } } void CDummy_PhysXEffectHitBox::Late_Update(_float fTimeDelta) @@ -110,6 +106,8 @@ HRESULT CDummy_PhysXEffectHitBox::Ready_Components(void* pArg) if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), (CComponent**)&m_pCharacter_Controller, &Desc))) { return E_FAIL; } + + m_pCharacter_Controller->SetGravity(pDesc->bGravity); } m_pCharacter_Controller->Set_Position(m_pTransformCom->Get_State(STATE::POSITION)); /* Com_Shader */ diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp index a7ad1ea99..0b68db0f0 100644 --- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp @@ -79,6 +79,12 @@ void CEditEffect::Late_Update(_float fTimeDelta) } + if (m_EffectInfo.isBloom == true) + { + m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this); + } + + if (m_EffectInfo.isBlur == true) { m_pGameInstance->Add_RenderGroup(RENDER::BLUR, this); @@ -401,9 +407,12 @@ 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" , "UI" }; const char* pEffectType[] = { "EFFECT" , "TRAIL" }; - const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "ALPHA_BLEND"}; + const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "ALPHA_BLEND", "BLOOM"}; + const char* pBloomType[] = { "NONE" , "BASIC" , "MUILTY"}; + _int iCurrentItem = static_cast<_int>(m_EffectInfo.eRenderOrder); _int iCurrentType = static_cast<_int>(m_EffectInfo.eEffectType); + _int iCurrentBloomType = static_cast<_int>(m_EffectInfo.eBloomType); _int iCurrentPass = static_cast<_int>(m_EffectInfo.eShaderPass); if (ImGui::Combo("Render Order", &iCurrentItem, pRenderNames, ENUM_CLASS(RENDER::END))) @@ -422,6 +431,7 @@ void CEditEffect::Describe_Entity() } + GUI::Checkbox("Visible", &m_bVisible); GUI::Checkbox("GO", &m_isGoStraight); @@ -432,6 +442,8 @@ void CEditEffect::Describe_Entity() GUI::Checkbox("Dissolve", &m_EffectInfo.isDissolve); GUI::Checkbox("Distortion", &m_EffectInfo.isDistortion); GUI::Checkbox("Noise", &m_EffectInfo.isNoise); + GUI::Checkbox("Bloom", &m_EffectInfo.isBloom); + GUI::Checkbox("Blur", &m_EffectInfo.isBlur); if (GUI::Checkbox("Billboard", &m_EffectInfo.isBillboard)) { @@ -446,20 +458,24 @@ void CEditEffect::Describe_Entity() ImGui::PopItemWidth(); - if (GUI::TreeNode("BLUR")) + if (m_EffectInfo.isBlur) { - GUI::Checkbox("Blur", &m_EffectInfo.isBlur); - GUI::Checkbox("OnlyBlur", &m_EffectInfo.isOnlyBlur); + if (GUI::TreeNode("BLUR")) + { - ImGui::PushItemWidth(80); - GUI::DragFloat("BlurIntensity", &m_EffectInfo.fBlurIntensity, 0.005f, 0.f, 1.f); - GUI::DragInt("BlurWeight", &m_EffectInfo.iBlurWeight, 2.f, 0, 128); + GUI::Checkbox("OnlyBlur", &m_EffectInfo.isOnlyBlur); - - ImGui::PopItemWidth(); + ImGui::PushItemWidth(80); + GUI::DragFloat("BlurIntensity", &m_EffectInfo.fBlurIntensity, 0.005f, 0.f, 1.f); + GUI::DragInt("BlurWeight", &m_EffectInfo.iBlurWeight, 2.f, 0, 128); - GUI::TreePop(); + + ImGui::PopItemWidth(); + + GUI::TreePop(); + } } + if (GUI::TreeNode("TEX BLUR")) { @@ -474,8 +490,26 @@ void CEditEffect::Describe_Entity() GUI::TreePop(); } + if (m_EffectInfo.isBloom) + { + if (GUI::TreeNode("BLOOM")) + { + if (ImGui::Combo("Bloom Type", &iCurrentBloomType, pBloomType, ENUM_CLASS(BLOOM_TYPE::END))) + { + m_EffectInfo.eBloomType = static_cast(iCurrentBloomType); + } + GUI::Checkbox("BloomDissolve", &m_EffectInfo.isBloomDissolve); + GUI::Checkbox("BloomReverseDissolve", &m_EffectInfo.isBloomReverseDissolve); + ImGui::PushItemWidth(80); + GUI::DragFloat("fBloomStrength", &m_EffectInfo.fBloomStrength, 0.001f, 0.f); + ImGui::PopItemWidth(); + + GUI::TreePop(); + } + } + if (GUI::TreeNode("EMISSIVE")) { diff --git a/Jusin154_Team3D/Editor/Private/EffectObject.cpp b/Jusin154_Team3D/Editor/Private/EffectObject.cpp index 1a57a01fe..6d249efa8 100644 --- a/Jusin154_Team3D/Editor/Private/EffectObject.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectObject.cpp @@ -109,6 +109,46 @@ HRESULT CEffectObject::Render_Blur() return S_OK; } +HRESULT CEffectObject::Render_Bloom() +{ + if (FAILED(Bind_ShaderResources())) + { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_EffectInfo.fBloomStrength, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_EffectInfo.eBloomType, sizeof(_int)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_EffectInfo.isBloomDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_EffectInfo.isBloomReverseDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++) + { + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_INSTANCE_MODEL::BLOOM)))) { + return E_FAIL; + } + + if (FAILED(m_pInstance_ModelCom->Render(i))) + { + return E_FAIL; + } + + } + + return S_OK; +} + HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) @@ -440,6 +480,9 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) memcpy(&m_EffectInfo, &PreEffectInfo, sizeof(PRE_EFFECT_INFO)); + + + m_EffectInfo.LightDesc.pPosition = m_pTransformCom->Get_StatePtr(STATE::POSITION); m_EffectInfo.LightDesc.iLevel = ENUM_CLASS(eLevel); diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp index 0f76dfaf9..569ac6789 100644 --- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp @@ -7,6 +7,7 @@ #include "Bombard.h" #include "NomalJap.h" #include "Decendo.h" +#include "Protego.h" CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) @@ -54,6 +55,10 @@ void CEffectPool::Priority_Update(_float fTimeDelta) ++iter; } } + + + (*m_EffectList[ENUM_CLASS(SKILL_TYPE::PROTEGO)].begin())->Describe_Entity(); + } void CEffectPool::Update(_float fTimeDelta) @@ -140,6 +145,16 @@ HRESULT CEffectPool::Ready_Effect() ))) return E_FAIL; + if (FAILED(Create_Effect(SKILL_TYPE::PROTEGO, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel)-> CEffect_Container* { + + CProtego* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; + + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp index e15551b1b..7eee50866 100644 --- a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp @@ -5,7 +5,7 @@ #include "EditEffect.h" #include "TrailObject.h" #include "GameObject.h" - +#include "Dummy_PhysXEffectHitBox.h" #include @@ -390,6 +390,12 @@ void CEffect_Container::Update_Event(_float fTimeDelta) { pPart.second->Set_Visible(false); } + + if (m_pPhysHitBox != nullptr && m_pPhysHitBox->isDead() == false ) + { + m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); + } } } diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 48bb2791b..8f28035be 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -97,6 +97,7 @@ #include "NomalJap.h" #include "Bombard.h" #include "Decendo.h" +#include "Protego.h" #include "EffectPool.h" #pragma endregion @@ -656,7 +657,9 @@ HRESULT CLoader::Loading_For_Effect() { m_strMessage = TEXT("PhysX Meshes Loading.."); - { // Dumping Box + { + + // Dumping Box CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { Desc.eType = ACTOR::BOX; @@ -852,6 +855,7 @@ HRESULT CLoader::Loading_For_Effect() m_strMessage = TEXT("Prototype Loading.."); + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDummy_PhysXBox::Create(m_pDevice, m_pContext)))) { return E_FAIL; } @@ -903,6 +907,9 @@ HRESULT CLoader::Loading_For_Effect() if (FAILED(m_pGameInstance->Add_Prototype(ENUM_CLASS(LEVEL::EFFECT), CDecendo::Create(m_pDevice, m_pContext)))) return E_FAIL; + if (FAILED(m_pGameInstance->Add_Prototype(ENUM_CLASS(LEVEL::EFFECT), CProtego::Create(m_pDevice, m_pContext)))) + return E_FAIL; + /* For.Prototype_GameObject_Wand */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext)))) diff --git a/Jusin154_Team3D/Editor/Private/NomalJap.cpp b/Jusin154_Team3D/Editor/Private/NomalJap.cpp index 6c239d104..aba06e4ab 100644 --- a/Jusin154_Team3D/Editor/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Editor/Private/NomalJap.cpp @@ -54,6 +54,11 @@ HRESULT CNomalJap::Initialize(void* pArg) void CNomalJap::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->RewindMomentum(); + } + } void CNomalJap::Update(_float fTimeDelta) @@ -70,6 +75,10 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile->Get_Component()->Translation(m_vOwnerLook * 1.2f); + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vOwnerLook * 1.2f); + } + if (m_fAccTime > XM_2PI) return; @@ -78,6 +87,12 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(m_vRotateUp * 0.6f * sinf(m_fAccTime)); m_pProjectile->Get_Component()->Translation(m_vRotateUp * 0.6f * sinf(m_fAccTime)); + + + if (nullptr != m_pPhysHitBox) { + m_pPhysHitBox->Get_Component()->AccumulateMomentum(m_vRotateUp * 0.6f * sinf(m_fAccTime)); + } + } void CNomalJap::Late_Update(_float fTimeDelta) @@ -156,19 +171,9 @@ HRESULT CNomalJap::Ready_Child() XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - _vector vOwnerLook = m_pOwner->Get_Component()->Get_State(STATE::LOOK); - - _float3 vDir = {}; - - XMStoreFloat3(&Desc.vPos, m_pOwner->Get_WorldPostion() + XMVectorSet(0.f, 0.f, 1.f, 0.f)); - - XMStoreFloat3(&vDir, vOwnerLook * 0.6f); - - Desc.vRotRPY = { 0.f, 0.f, 0.f }; Desc.iSubKind = 70; - Desc.vDeltaPos = vDir; + Desc.vDeltaPos = _float3(0.f, 0.f, 0.f); Desc.vLifeTime = { 0.f, 1.f }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this , &m_pPhysHitBox))) { @@ -176,6 +181,7 @@ HRESULT CNomalJap::Ready_Child() return E_FAIL; } + SAFE_ADDREF(m_pPhysHitBox); return S_OK; } @@ -227,15 +233,16 @@ void CNomalJap::OnCollision(CGameObject* pOther , void* pDesc) Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); m_pPhysHitBox->Set_Dead(); + SAFE_RELEASE(m_pPhysHitBox); } void CNomalJap::Free() { __super::Free(); - //if(m_pPhysHitBox != nullptr) - // if (m_pPhysHitBox->Get_Depth() == false) - // SAFE_RELEASE(m_pPhysHitBox); + if(m_pPhysHitBox != nullptr) + if (m_pPhysHitBox->isDead() == false) + SAFE_RELEASE(m_pPhysHitBox); Safe_Release(m_pProjectile); Safe_Release(m_pProjectile_Side); diff --git a/Jusin154_Team3D/Editor/Private/Player_States.cpp b/Jusin154_Team3D/Editor/Private/Player_States.cpp index 48cb896bc..0292659f7 100644 --- a/Jusin154_Team3D/Editor/Private/Player_States.cpp +++ b/Jusin154_Team3D/Editor/Private/Player_States.cpp @@ -21,6 +21,7 @@ #pragma endregion #include "EffectPool.h" +#include "Protego.h" #pragma region States void CPlayer::TestKeyInput(_float fTimeDelta) @@ -427,6 +428,9 @@ void CPlayer::Behavior_CombatEnter() else if (m_pGameInstance->Key_Down(DIK_Q)) { m_pFSM->Enable_State(FSMSTATE::SKILL2); pairAnimInfo = m_Animation[STATEANIM::SKILL2]; + + m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); + } else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) { m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK); diff --git a/Jusin154_Team3D/Editor/Private/Protego.cpp b/Jusin154_Team3D/Editor/Private/Protego.cpp new file mode 100644 index 000000000..4a534e93d --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Protego.cpp @@ -0,0 +1,227 @@ +#include "pch.h" +#include "Protego.h" + +#include "GameInstance.h" +#include "EditEffect.h" + + +CProtego::CProtego(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CProtego::CProtego(const CProtego& rhs) + : CEffect_Container(rhs) +{ +} + +HRESULT CProtego::Initialize_Prototype() +{ + + return S_OK; + +} + +HRESULT CProtego::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Protego"))) + return E_FAIL; + + m_pSphere = Get_PartObject("ProtegoSphere"); + m_pBottom = Get_PartObject("ProtegoBottom"); + m_pCircle = Get_PartObject("ProtegoCircle"); + + SAFE_ADDREF(m_pSphere); + SAFE_ADDREF(m_pBottom); + SAFE_ADDREF(m_pCircle); + + m_wstrEffectName = L"Protego"; + + + m_Events.emplace(1.3f, [&]() { + + m_pSphere->Set_Dissolve(true); + m_pBottom->Set_Dissolve(true); + m_pCircle->Set_Dissolve(true); + + }); + + + m_fAmountSize = 0.1f; + m_fSpeed = 5.f; + + m_fDuration = 2.5f; + + return S_OK; +} + +void CProtego::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CProtego::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + m_pSphere->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pBottom->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pCircle-> Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + /* 시작 사이즈 러프 */ + if (m_fSizeAccTime > XM_PIDIV2) + return; + + m_fSizeAccTime += fTimeDelta * m_fSpeed; + + _float fSize = 1 + sinf(m_fSizeAccTime) * m_fAmountSize; + _float3 vSize = _float3(fSize, fSize, fSize); + + m_pSphere->Get_Component()->Set_Scale(vSize); + m_pCircle->Get_Component()->Set_Scale(vSize); +} + +void CProtego::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CProtego::Pre_Setting(CGameObject* pObject) +{ + if (pObject == nullptr) + return E_FAIL; + + m_pOwner = pObject; + + Reset_EffectParts(); + + m_fAccTime = 0.f; + __super::m_fAccTime = 0.f; + m_fPreAccTime = 0.f; + + + m_pSphere->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pBottom->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + m_pCircle->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); + + m_pSphere->Set_Visible(true); + m_pCircle->Set_Visible(true); + m_pBottom->Set_Visible(true); + + + _float3 vSize = _float3(1.f, 1.f, 1.f); + m_pSphere->Get_Component()->Set_Scale(vSize); + m_pCircle->Get_Component()->Set_Scale(vSize); + + m_fSizeAccTime = 0.f; + + m_pSphere->Set_Dissolve(false); + m_pBottom->Set_Dissolve(false); + m_pCircle->Set_Dissolve(false); + + m_bVisible = true; + + return S_OK; +} + +HRESULT CProtego::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CProtego::Ready_Child() +{ + return S_OK; +} + +CProtego* CProtego::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CProtego* pInstance = new CProtego(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CProtego"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CProtego::Clone(void* pArg, CGameObject* pOwner) +{ + CProtego* pInstance = new CProtego(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CProtego"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CProtego::OnCollision(CGameObject* pOther, void* pDesc) +{ + //CTransform* pOtherTransform = p + ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); + +} + +void CProtego::Free() +{ + __super::Free(); + + //if(m_pPhysHitBox != nullptr) + // if (m_pPhysHitBox->Get_Depth() == false) + // SAFE_RELEASE(m_pPhysHitBox); + + SAFE_RELEASE(m_pSphere); + SAFE_RELEASE(m_pBottom); + SAFE_RELEASE(m_pCircle); + +} +#ifdef _DEBUG + +void CProtego::Describe_Entity() +{ + GUI::Begin("PROTEGO"); + + GUI::DragFloat("fAmountSize" ,&m_fAmountSize); + GUI::DragFloat("fSpeed" , &m_fSpeed); + + GUI::End(); +} + +#endif // _DEBUG + +HRESULT CProtego::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Editor/Private/TrailObject.cpp b/Jusin154_Team3D/Editor/Private/TrailObject.cpp index faaa7dbe6..acdb0cdfa 100644 --- a/Jusin154_Team3D/Editor/Private/TrailObject.cpp +++ b/Jusin154_Team3D/Editor/Private/TrailObject.cpp @@ -44,16 +44,29 @@ void CTrailObject::Update(_float fTimeDelta) return; - - if (m_TrailInfo.vDistortionTime.y == 0) - return; - - m_TrailInfo.vDistortionTime.x += fTimeDelta; - - if (m_TrailInfo.vDistortionTime.x > m_TrailInfo.vDistortionTime.y) + /* 디졸브 타임*/ + if (m_TrailInfo.vDistortionTime.y != 0) { - m_TrailInfo.vDistortionTime.x = 0.f; + m_TrailInfo.vDistortionTime.x += fTimeDelta; + + if (m_TrailInfo.vDistortionTime.x > m_TrailInfo.vDistortionTime.y) + { + m_TrailInfo.vDistortionTime.x = 0.f; + } } + + /* 블룸 타임*/ + + if (m_TrailInfo.vBloomTime.y != 0) + { + m_TrailInfo.vBloomTime.x += fTimeDelta; + + if (m_TrailInfo.vBloomTime.x > m_TrailInfo.vBloomTime.y) + { + m_TrailInfo.vBloomTime.x = 0.f; + } + } + } void CTrailObject::Late_Update(_float fTimeDelta) @@ -61,6 +74,13 @@ void CTrailObject::Late_Update(_float fTimeDelta) if (m_bVisible == false) return; + + if (m_TrailInfo.isBloom == true) + { + m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this); + } + + if (m_TrailInfo.isBlur == true) { m_pGameInstance->Add_RenderGroup(RENDER::BLUR, this); @@ -376,6 +396,43 @@ HRESULT CTrailObject::Render_Blur() return S_OK; } +HRESULT CTrailObject::Render_Bloom() +{ + if (FAILED(Bind_ShaderResources())) + { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_TrailInfo.fBloomStrength, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_TrailInfo.eBloomType, sizeof(_int)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_TrailInfo.isBloomDissolve, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_TrailInfo.isBloomReverseDissolve, sizeof(_bool)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vBloomTime", &m_TrailInfo.vBloomTime, sizeof(_float2)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL_BLOOM)))) + return E_FAIL; + + + + if (FAILED(m_pTrailCom->Render())) + return E_FAIL; + + return S_OK; +} + @@ -420,6 +477,9 @@ void CTrailObject::Free() void CTrailObject::Describe_Entity() { + const char* pBloomType[] = { "NONE" , "BASIC" , "MUILTY" }; + _int iCurrentBloomType = static_cast<_int>(m_TrailInfo.eBloomType); + if (GUI::TreeNode("TRAIL")) { m_pTrailCom->Describe_Entity(); @@ -430,7 +490,7 @@ void CTrailObject::Describe_Entity() GUI::Checkbox("Masking", &m_TrailInfo.isMask); GUI::Checkbox("Noise", &m_TrailInfo.isNoise); GUI::Checkbox("Distortion", &m_TrailInfo.isDistortion); - + GUI::Checkbox("Bloom", &m_TrailInfo.isBloom); GUI::ColorEdit4("MixColor", (_float*)&m_TrailInfo.vColor); @@ -465,6 +525,27 @@ void CTrailObject::Describe_Entity() GUI::TreePop(); } + if (m_TrailInfo.isBloom) + { + if (GUI::TreeNode("BLOOM")) + { + if (ImGui::Combo("Bloom Type", &iCurrentBloomType, pBloomType, ENUM_CLASS(BLOOM_TYPE::END))) + { + m_TrailInfo.eBloomType = static_cast(iCurrentBloomType); + } + + GUI::Checkbox("BloomDissolve", &m_TrailInfo.isBloomDissolve); + GUI::Checkbox("BloomReverseDissolve", &m_TrailInfo.isBloomReverseDissolve); + + ImGui::PushItemWidth(80); + GUI::DragFloat("fBloomStrength", &m_TrailInfo.fBloomStrength, 0.001f, 0.f); + GUI::DragFloat2("fBloomTime", (_float*)&m_TrailInfo.vBloomTime, 0.001f, 0.f); + + GUI::TreePop(); + } + } + + if (m_TrailInfo.isDiffuse == true) { if (GUI::TreeNode("TRAIL DIFFUSE")) diff --git a/Jusin154_Team3D/Editor/Public/Bombard.h b/Jusin154_Team3D/Editor/Public/Bombard.h index 1d6c00da2..7c3e7e021 100644 --- a/Jusin154_Team3D/Editor/Public/Bombard.h +++ b/Jusin154_Team3D/Editor/Public/Bombard.h @@ -32,7 +32,6 @@ class CBombard final : public CEffect_Container virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; private: _wstring m_wstrEffectName = {}; - class CDummy_PhysXEffectHitBox* m_pPhysHitBox = {}; class CPartObject* m_pLight_Projectile = {}; public: static CBombard* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/Decendo.h b/Jusin154_Team3D/Editor/Public/Decendo.h index 9c5afcc60..3e778f36c 100644 --- a/Jusin154_Team3D/Editor/Public/Decendo.h +++ b/Jusin154_Team3D/Editor/Public/Decendo.h @@ -32,7 +32,6 @@ class CDecendo final : public CEffect_Container virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; private: _wstring m_wstrEffectName = {}; - class CDummy_PhysXEffectHitBox* m_pPhysHitBox = {}; class CPartObject* m_pProjectile = {}; class CPartObject* m_pProjectile_Blur = {}; diff --git a/Jusin154_Team3D/Editor/Public/Dummy_PhysXEffectHitBox.h b/Jusin154_Team3D/Editor/Public/Dummy_PhysXEffectHitBox.h index eaca4fb15..b65fb197e 100644 --- a/Jusin154_Team3D/Editor/Public/Dummy_PhysXEffectHitBox.h +++ b/Jusin154_Team3D/Editor/Public/Dummy_PhysXEffectHitBox.h @@ -23,6 +23,7 @@ class CDummy_PhysXEffectHitBox final : public CGameObject _uint iSubKind = {}; _float3 vDeltaPos = {}; _float2 vLifeTime = {}; + _bool bGravity = {}; }PHYSXDUMMY_DESC; private: CDummy_PhysXEffectHitBox(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/EditEffect.h b/Jusin154_Team3D/Editor/Public/EditEffect.h index e82f31a9f..8916fb44e 100644 --- a/Jusin154_Team3D/Editor/Public/EditEffect.h +++ b/Jusin154_Team3D/Editor/Public/EditEffect.h @@ -41,6 +41,7 @@ class CEditEffect final : public CEffectObject _float m_fAccTime = {}; _int m_iSign = { 1 }; + public: static CEditEffect* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index e78adce91..a4172aaac 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -24,13 +24,14 @@ namespace Editor enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, END }; enum class SHADER_PASS_PARTICLE { EXPLOSION, END }; - enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLUR ,END }; - enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, ALPHA_BLEND, END }; + enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLUR , TRAIL_BLOOM, END }; + enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, ALPHA_BLEND, BLOOM, END }; enum class SHADER_PASS_UIEDITOR { DEFAULT, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, SPELLTYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, END }; enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, MAGIC_METER, END }; enum class EFFECT_TYPE { EFFECT, TRAIL, END }; enum class SKILL_TYPE{ JAP , BOMBARD , DECENDO , PROTEGO , END }; + enum class BLOOM_TYPE { NONE , BASIC , MULTIPLY , END}; } using namespace Editor; diff --git a/Jusin154_Team3D/Editor/Public/EffectObject.h b/Jusin154_Team3D/Editor/Public/EffectObject.h index 59188c2d2..f4d8dd844 100644 --- a/Jusin154_Team3D/Editor/Public/EffectObject.h +++ b/Jusin154_Team3D/Editor/Public/EffectObject.h @@ -93,6 +93,18 @@ class CEffectObject abstract : public CPartObject _float fBluringStrength = {0.01f}; + + _bool isBloom = {}; + + _bool isBloomDissolve = {}; + _bool isBloomReverseDissolve = {}; + + _float fBloomStrength = {}; + + BLOOM_TYPE eBloomType = {}; + + + }EFFECT_INFO; typedef struct tagPreEffectInfo @@ -167,6 +179,17 @@ class CEffectObject abstract : public CPartObject _float fBluringStrength = { 0.01f }; + + _bool isBloom = {}; + + _bool isBloomDissolve = {}; + _bool isBloomReverseDissolve = {}; + + _float fBloomStrength = {}; + + BLOOM_TYPE eBloomType = {}; + + }PRE_EFFECT_INFO; protected: @@ -180,9 +203,14 @@ class CEffectObject abstract : public CPartObject virtual void Late_Update(_float fTimeDelta); virtual HRESULT Render() override; virtual HRESULT Render_Blur() override; + virtual HRESULT Render_Bloom() override; public: HRESULT Load(const _char* pFilePath, LEVEL eLevel); HRESULT Load(); + void Set_Dissolve(_bool isDissolve) + { + m_EffectInfo.isDissolve = isDissolve; + } public: #ifdef _DEBUG HRESULT LoadPre(const _char* pFilePath, LEVEL eLevel); diff --git a/Jusin154_Team3D/Editor/Public/Effect_Container.h b/Jusin154_Team3D/Editor/Public/Effect_Container.h index 10c8ce3c5..75a396583 100644 --- a/Jusin154_Team3D/Editor/Public/Effect_Container.h +++ b/Jusin154_Team3D/Editor/Public/Effect_Container.h @@ -34,6 +34,8 @@ class CEffect_Container abstract : public CContainerObject void Update_Event(_float fTimeDelta); +protected: + class CDummy_PhysXEffectHitBox* m_pPhysHitBox = {}; protected: _wstring m_wstrEffectName = {}; diff --git a/Jusin154_Team3D/Editor/Public/NomalJap.h b/Jusin154_Team3D/Editor/Public/NomalJap.h index 880117493..8101aa3a9 100644 --- a/Jusin154_Team3D/Editor/Public/NomalJap.h +++ b/Jusin154_Team3D/Editor/Public/NomalJap.h @@ -31,10 +31,9 @@ class CNomalJap final : public CEffect_Container virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; private: _wstring m_wstrEffectName = {}; - class CDummy_PhysXEffectHitBox* m_pPhysHitBox = {}; - class CPartObject* m_pProjectile = {}; - class CPartObject* m_pProjectile_Side = {}; + class CPartObject* m_pProjectile = {}; + class CPartObject* m_pProjectile_Side = {}; _vector m_vRotateUp = {}; _float m_fAccTime = {}; diff --git a/Jusin154_Team3D/Editor/Public/Protego.h b/Jusin154_Team3D/Editor/Public/Protego.h new file mode 100644 index 000000000..cfae68ca6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Protego.h @@ -0,0 +1,53 @@ +#pragma once + +#include "Editor_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Editor) + +class CProtego final : public CEffect_Container +{ +private: + CProtego(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CProtego(const CProtego& rhs); + virtual ~CProtego() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEditEffect* m_pSphere = { nullptr }; + class CEditEffect* m_pBottom = { nullptr }; + class CEditEffect* m_pCircle = { nullptr }; + + _float m_fSizeAccTime = {}; + _float m_fAmountSize = {}; + _float m_fSpeed = {}; + +public: + static CProtego* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // _DEBUG +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/TrailObject.h b/Jusin154_Team3D/Editor/Public/TrailObject.h index 70d17832d..6a7c16594 100644 --- a/Jusin154_Team3D/Editor/Public/TrailObject.h +++ b/Jusin154_Team3D/Editor/Public/TrailObject.h @@ -57,6 +57,17 @@ class CTrailObject final : public CPartObject _float fBlurIntensity = {}; _int iBlurWeight = {}; + /* 블룸 */ + _bool isBloom = {}; + + _bool isBloomDissolve = {}; + _bool isBloomReverseDissolve = {}; + + _float fBloomStrength = {}; + + BLOOM_TYPE eBloomType = {}; + _float2 vBloomTime = {}; + }TRAIL_INFO; private: CTrailObject(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -71,6 +82,7 @@ class CTrailObject final : public CPartObject public: void Set_Target(class CTransform* pTargetTransform); void Trail_Update(_fmatrix WorldMat, _float fTimeDelta); + public: #ifdef _DEBUG HRESULT Save_Trail(const _char* pPath); @@ -83,7 +95,7 @@ class CTrailObject final : public CPartObject virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Render() override; virtual HRESULT Render_Blur() override; - + virtual HRESULT Render_Bloom() override; public: static CTrailObject* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 664617cb5..917c9ed38 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -475,6 +475,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_EMBOSS(PS_IN In) } float fIntensity = dot(vColor, float3(0.2126f, 0.7152f, 0.0722f)); // 대략적인 밝기 ( 인간적인 ) + if (fIntensity <= 1e-4f) { Out.vSingleTarget = 0; diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index e939a0f9a..7adec083a 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -777,6 +777,7 @@ HRESULT CRenderer::Initialize() if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Blur"), TEXT("Target_Blur_Weight")))) { return E_FAIL; } + /* MRT_Blur */ if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Bloom"), TEXT("Target_Bloom_Input")))) { return E_FAIL;