From 260f9051e0876ca8d0a1aec2077a06a922e5a964 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Tue, 16 Dec 2025 14:28:12 +0900 Subject: [PATCH 1/3] commit --- Jusin154_Team3D/Client/Private/Accio.cpp | 29 ++++++++++--- Jusin154_Team3D/Client/Private/EffectPool.cpp | 38 +++++++++++++++++- Jusin154_Team3D/Client/Public/Accio.h | 13 ++++-- Jusin154_Team3D/Client/Public/EffectPool.h | 3 ++ .../Resources/Data/Effect/Accio/Accio_PT.bin | 3 ++ .../Data/Effect/Accio/Accio_Trail.trail | Bin 305 -> 305 bytes .../Resources/Data/Effect/Accio/Rotate0.bin | 3 ++ .../Bin/Resources/Data/Effect/Package/.bin | 3 ++ .../Resources/Data/Effect/Package/Accio.bin | 4 +- .../Bin/Resources/Data/Effect/Spin_Circle.bin | 3 ++ .../ShaderFiles/Shader_VtxPosTex.hlsl | 2 +- Jusin154_Team3D/Engine/Private/Trail.cpp | 25 ++++++++++-- 12 files changed, 109 insertions(+), 17 deletions(-) create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Rotate0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Spin_Circle.bin diff --git a/Jusin154_Team3D/Client/Private/Accio.cpp b/Jusin154_Team3D/Client/Private/Accio.cpp index 68f3816bf..ce69aa8ce 100644 --- a/Jusin154_Team3D/Client/Private/Accio.cpp +++ b/Jusin154_Team3D/Client/Private/Accio.cpp @@ -48,12 +48,14 @@ HRESULT CAccio::Initialize(void* pArg) m_pRope_Trail = Get_PartObject("Accio_Trail"); m_pWandLight = Get_PartObject("Wand_Light"); + m_pRotate0 = Get_PartObject("Rotate0"); if (m_pRope_Trail == nullptr) return E_FAIL; SAFE_ADDREF(m_pRope_Trail); SAFE_ADDREF(m_pWandLight); + SAFE_ADDREF(m_pRotate0); XMStoreFloat4x4(&m_TrailWorld, XMMatrixIdentity()); @@ -101,6 +103,8 @@ void CAccio::Update(_float fTimeDelta) { /* 특정 대상과 충돌 했다면*/ TrailPos.r[3] = m_pEnemyCCT->Get_Position(); + + m_pRotate0->Get_Component()->Set_State(STATE::POSITION, m_pEnemyCCT->Get_FootPosition()); } XMStoreFloat4x4(&m_TrailWorld, TrailPos); @@ -111,12 +115,16 @@ void CAccio::Update(_float fTimeDelta) _matrix rotMat = XMMatrixRotationAxis(XMLoadFloat3(&m_vCameraLook), m_fAccRotateTime); _float fRange = m_fRange - m_fAccRotateTime / m_fAttenuation; - + if (fRange > 0) TrailPos.r[3] += rotMat.r[1] * fRange; } - m_pRope_Trail->Rope_Trail_Update(TrailPos, pPlayer->Get_WandPos(), fTimeDelta); + if(m_isReverse == false) + m_pRope_Trail->Rope_Trail_Update(TrailPos, pPlayer->Get_WandPos(), fTimeDelta); + else + m_pRope_Trail->Rope_Trail_Update(pPlayer->Get_WandPos(), TrailPos, fTimeDelta); + } @@ -266,14 +274,23 @@ void CAccio::OnCollision(CGameObject* pOther, void* pDesc) CEffectParts* pCircle = Get_PartObject("Accio_Circle"); CEffectParts* pWandLight = Get_PartObject("Wand_Light"); CEffectParts* pSpread_Circle = Get_PartObject("Spread_Circle"); + CEffectParts* pAccio_PT = Get_PartObject("Accio_PT"); pCircle->Set_Visible(false); pWandLight->Set_Visible(false); pSpread_Circle->Set_Visible(false); + + + m_pRotate0->Set_Visible(true); + pAccio_PT->Set_Visible(true); + + pAccio_PT->Get_Component()->Set_State(STATE::POSITION, vPos); m_pRope_Trail->Get_Component()->Rope_Fix(true); - m_pRope_Trail->SetDissolve(true); + + if(m_isDissolve) + m_pRope_Trail->SetDissolve(true); } @@ -283,7 +300,7 @@ void CAccio::Free() SAFE_RELEASE(m_pRope_Trail); SAFE_RELEASE(m_pWandLight); - + SAFE_RELEASE(m_pRotate0); } #ifdef _DEBUG @@ -295,8 +312,10 @@ void CAccio::Describe_Entity() GUI::DragFloat("Speed", &m_fLinearSpeed); GUI::DragFloat("Range", &m_fRange); GUI::DragFloat("Attenuation", &m_fAttenuation); + GUI::Checkbox("Dissolve", &m_isDissolve); + GUI::Checkbox("Reverse", &m_isReverse); + GUI::InputInt("LoopTime", &m_iLoopTime); - m_pRope_Trail->Describe_Entity(); m_pRope_Trail->Get_Component()->Describe_Entity(); diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index bac72cf24..92d7e98ed 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -146,7 +146,7 @@ void CEffectPool::Priority_Update(_float fTimeDelta) (*m_EffectList[ENUM_CLASS(SKILL_TYPE::ACCIO)].begin())->Describe_Entity(); - + Describe_Entity(); #endif #endif @@ -517,6 +517,34 @@ HRESULT CEffectPool::Use_Skill(SKILL_TYPE eType, CGameObject* pOwner, void* pArg return S_OK; } +#ifdef _DEBUG +HRESULT CEffectPool::Reset_Pool() +{ + for (size_t i = 0; i < ENUM_CLASS(SKILL_TYPE::END); i++) + { + for (auto& pEffect : m_EffectList[i]) + { + SAFE_RELEASE(pEffect); + } + + m_EffectList[i].clear(); + } + + for (auto& pEffect : m_ActiveEffectList) + { + SAFE_RELEASE(pEffect); + } + + + m_ActiveEffectList.clear(); + + + if (FAILED(Ready_Effect())) + return E_FAIL; + + return S_OK; +} +#endif CEffectPool* CEffectPool::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { @@ -567,6 +595,14 @@ void CEffectPool::Free() void CEffectPool::Describe_Entity() { + + GUI::Begin("Effect Pool"); + if (GUI::Button("Reset Pool")) + { + Reset_Pool(); + } + GUI::End(); + } #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Public/Accio.h b/Jusin154_Team3D/Client/Public/Accio.h index a7c0d0bed..62ba72909 100644 --- a/Jusin154_Team3D/Client/Public/Accio.h +++ b/Jusin154_Team3D/Client/Public/Accio.h @@ -39,19 +39,24 @@ class CAccio final : public CEffect_Container class CTrailObject* m_pRope_Trail = { nullptr }; class CEffectParts* m_pWandLight = { nullptr }; + class CEffectParts* m_pRotate0 = { nullptr }; _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치 _float4 m_vTargetPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 타게팅 된 위치 - _float m_fLinearSpeed = 1.5f; + _float m_fLinearSpeed = 1.f; _float3 m_vCameraLook = {}; _float4x4 m_TrailWorld = {}; - CCharacter_Controller* m_pEnemyCCT = { nullptr }; + CCharacter_Controller* m_pEnemyCCT = { nullptr }; _float m_fAccRotateTime = {}; _float m_fTurnSpeed = { 65.f }; - _float m_fRange = { 1.3f }; - _float m_fAttenuation = { 35.f }; + _float m_fRange = { 1.f }; + _float m_fAttenuation = { 100.f }; + _bool m_isDissolve = { true }; + _bool m_isReverse = { false }; + _int m_iLoopTime = { 5 }; + public: static CAccio* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/EffectPool.h b/Jusin154_Team3D/Client/Public/EffectPool.h index 4bfbb7939..f1b28f239 100644 --- a/Jusin154_Team3D/Client/Public/EffectPool.h +++ b/Jusin154_Team3D/Client/Public/EffectPool.h @@ -27,6 +27,9 @@ class CEffectPool final : public CGameObject public: HRESULT Create_Effect(SKILL_TYPE eType, _uint iNumEffect, _uint iPrototypeLevel, _uint iCloneLevel , function AddPrototypeEvent); HRESULT Use_Skill(SKILL_TYPE eType , CGameObject* pOwner, void* pArg = nullptr); +#ifdef _DEBUG + HRESULT Reset_Pool(); +#endif private: list m_EffectList[ENUM_CLASS(SKILL_TYPE::END)] = {}; list m_ActiveEffectList = {}; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin new file mode 100644 index 000000000..5ec35a487 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d21c5b267a0c5eb2e81da4de7532da60db2e17a370be5f8b5637cc591a156ca +size 1043 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Trail.trail index 2ac006e45ce06e573e104085936c7d32221a1d3c..6b7389e0f2e09a6413f94fed738e84f122765be6 100644 GIT binary patch delta 31 gcmdnUw2^7TUy-!5H2bq>&e(!50|Yos7GzWa0MY>p!T 2) + { memmove(m_pVertices + 2, m_pVertices, sizeof(VTXPOSTEX) * (m_iNumCount - 2)); + memmove(m_pOldPosition + 2, m_pOldPosition, sizeof(_float3) * (m_iNumCount - 2)); + } if (m_iNumCount >= m_iNumVertices) m_iNumCount -= 2; } - m_pOldPosition[0] = m_pVertices[0].vPosition; m_pOldPosition[1] = m_pVertices[1].vPosition; @@ -265,6 +268,9 @@ void CTrail::Rope_Trail_Update(_fmatrix WorldMatrix, _float fTimeDelta, _float f XMStoreFloat3(&m_pVertices[m_iNumCount - 2].vPosition, vEndLow); XMStoreFloat3(&m_pVertices[m_iNumCount - 1].vPosition, vEndHigh); + m_pOldPosition[m_iNumCount - 2] = m_pVertices[m_iNumCount - 2].vPosition; + m_pOldPosition[m_iNumCount - 1] = m_pVertices[m_iNumCount - 1].vPosition; + for (_uint i = 2; i < m_iNumCount; i++) /* 고정점은 연산에서 제외 0 , 1*/ { @@ -293,7 +299,7 @@ void CTrail::Rope_Trail_Update(_fmatrix WorldMatrix, _float fTimeDelta, _float f } - for (int i = 0; i < 5; ++i) { + for (int i = 0; i < 20; ++i) { for (_uint k = 0; k < m_iNumCount - 2; k += 2) { /* Low , High */ @@ -316,14 +322,14 @@ void CTrail::Rope_Trail_Update(_fmatrix WorldMatrix, _float fTimeDelta, _float f _float fLowDiff = (fLength - fLowDist) / fLowDist; _float fHighDiff = (fLength - fHighDist) / fHighDist; - // 각 점을 절반씩 밀거나 당겨서 거리 맞춤 + // 각 점을 절반씩 밀거나 당겨서 거리 맞춤 // 손잡이(Pinned)는 움직이지 않도록 질량 비율 조절 가능 (여기선 0.5씩) _vector vLowOffset = vDeltaLow * (fMass * fLowDiff); _vector vHighOffset = vDeltaHigh * (fMass * fHighDiff); // k!=0 (즉, 움직이는 마디)일 때만 vFirst를 움직임 - if (k != 0) + if (k != 0) { vFirst[0] -= vLowOffset; vFirst[1] -= vHighOffset; @@ -344,10 +350,18 @@ void CTrail::Rope_Trail_Update(_fmatrix WorldMatrix, _float fTimeDelta, _float f vNext[1] += vHighOffset; } + if (k == m_iNumCount - 4) + { + + vFirst[0] -= vLowOffset; + vFirst[1] -= vHighOffset; + } + // --- 3. 결과 저장 --- // vFirst 저장 (k=0 일 때는 vFirst가 vLow/vHigh의 값을 가지지만, // 움직이지 않았으므로 저장해도 무방. 하지만 명확성을 위해 조건부 저장 가능) + if (k != 0) { XMStoreFloat3(&m_pVertices[k].vPosition, vFirst[0]); @@ -360,6 +374,9 @@ void CTrail::Rope_Trail_Update(_fmatrix WorldMatrix, _float fTimeDelta, _float f } } + XMStoreFloat3(&m_pVertices[m_iNumCount - 2].vPosition, vEndLow); + XMStoreFloat3(&m_pVertices[m_iNumCount - 1].vPosition, vEndHigh); + for (_uint i = 0; i < m_iNumCount; i += 2) { From 0b7e06a5e312d5828333b5e461af3858a526758c Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Tue, 16 Dec 2025 16:58:07 +0900 Subject: [PATCH 2/3] commit --- Jusin154_Team3D/Client/Private/Accio.cpp | 4 +- Jusin154_Team3D/Client/Private/Broom.cpp | 19 ++++- Jusin154_Team3D/Client/Public/Broom.h | 4 +- .../Resources/Data/Effect/ScreenFX/Wind.bin | 4 +- .../ShaderFiles/Shader_VtxModelInstance.hlsl | 83 ++++++++++++------- 5 files changed, 77 insertions(+), 37 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Accio.cpp b/Jusin154_Team3D/Client/Private/Accio.cpp index ce69aa8ce..c26740f72 100644 --- a/Jusin154_Team3D/Client/Private/Accio.cpp +++ b/Jusin154_Team3D/Client/Private/Accio.cpp @@ -184,7 +184,9 @@ HRESULT CAccio::Pre_Setting(CGameObject* pObject, void* pArg) _vector vStartPos = WandPos; XMStoreFloat4(&m_vStartPos, vStartPos); - _matrix WandWorld = pPlayer->Get_WandPos(); + _matrix WandWorld = XMMatrixIdentity(); + + WandWorld.r[3] = pPlayer->Get_WandPos().r[3]; XMStoreFloat4x4(&m_TrailWorld , WandWorld); diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index 0dc3c5af3..9b427fc5d 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -60,9 +60,12 @@ HRESULT CBroom::Initialize(void* pArg) return E_FAIL; } + m_pWindEffect->Get_Effect_Info()->isBillboard = false; } + + return S_OK; } @@ -115,7 +118,7 @@ void CBroom::Update(_float fTimeDelta) { if (m_fSpeed <= 5.f) { - m_pWindEffect->Set_Visible(false); + //m_pWindEffect->Set_Visible(false); return; } @@ -137,16 +140,24 @@ void CBroom::Late_Update(_float fTimeDelta) { CTransform* WindTransform = m_pWindEffect->Get_Component(); - _matrix WorldMat = m_pTransformCom->Get_XMWorldMatrix() * XMMatrixRotationAxis(WindTransform->Get_State(STATE::UP) , XMConvertToRadians(180.f)); + _matrix WorldMat = m_pTransformCom->Get_XMWorldMatrix()/* * XMMatrixRotationAxis(XMVectorSet(0.f , 1.f, 0.f ,0.f), XMConvertToRadians(180.f))*/; WindTransform->Set_WorldMatrix(WorldMat); - WindTransform->Set_State(STATE::POSITION, m_pGameInstance->Get_CamXMPosition()); + _vector vCameraLook = XMVector3Normalize(m_pGameInstance->Get_CameraLook()); + WindTransform->Set_State(STATE::POSITION, m_pGameInstance->Get_CamXMPosition() + vCameraLook * m_fCameraOffset + XMVectorSet(0.f ,m_fYOffset , 0.f ,0.f)); + +#if _DEBUG +#if 진우 GUI::Begin("Wind"); m_pWindEffect->Get_Component()->Describe_Entity(); - + GUI::Checkbox("BillBoard", &m_pWindEffect->Get_Effect_Info()->isBillboard); + GUI::DragFloat("Offset", &m_fCameraOffset); + GUI::DragFloat("Offset Y", &m_fYOffset); GUI::End(); } +#endif +#endif m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h index d6df1bfb2..adbc15591 100644 --- a/Jusin154_Team3D/Client/Public/Broom.h +++ b/Jusin154_Team3D/Client/Public/Broom.h @@ -74,6 +74,8 @@ class CBroom final : public CUnit BroomInput m_Input; class CEffectParts* m_pWindEffect = { nullptr }; + _float m_fCameraOffset = { -10.f }; + _float m_fYOffset= { -5.f }; private: HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); @@ -97,7 +99,7 @@ class CBroom final : public CUnit _float m_fAmount = { 1.f }; _float m_fInputTime = {}; _bool m_bRatio = { false }; - + HRESULT InputAction(); HRESULT InputMove(); HRESULT InputKeyUpMove(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/Wind.bin index 25a2b36bf..24f971bee 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/Wind.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/Wind.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97d9ac3fd881002ef55820c9f7a6267310cc8a691fc456d1473531cb17fd86bf -size 1084 +oid sha256:621033b2bae53361347bc874097141eac07edb5a97b890594f6c61eb30ed5df6 +size 1094 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index 36b4b758a..09cef3616 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -557,21 +557,7 @@ float4 DrawEffect(PS_IN In) discard; } - /* 소프트 이펙트 */ - - float2 vTexcoord; - - vTexcoord.x = In.vProjPos.x / In.vProjPos.w * 0.5f + 0.5f; - vTexcoord.y = In.vProjPos.y / In.vProjPos.w * -0.5f + 0.5f; - - float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, vTexcoord); - - float fOldViewZ = vDepthDesc.y * g_fFar; - - float fDistance = fOldViewZ - In.vProjPos.w; - - vMtrlDiffuse.a = vMtrlDiffuse.a * saturate(fDistance); - + return vMtrlDiffuse; } @@ -681,6 +667,28 @@ float4 RimLight(PS_IN In) return vRimLight; } +float4 SoftEffect(PS_IN In, float4 vMtrlDiffuse) +{ + /* 소프트 이펙트 */ + + float4 vDiffuse = vMtrlDiffuse; + + float2 vTexcoord; + + vTexcoord.x = In.vProjPos.x / In.vProjPos.w * 0.5f + 0.5f; + vTexcoord.y = In.vProjPos.y / In.vProjPos.w * -0.5f + 0.5f; + + float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, vTexcoord); + + float fOldViewZ = vDepthDesc.y * g_fFar; + + float fDistance = fOldViewZ - In.vProjPos.w; + + vDiffuse.a = vDiffuse.a * saturate(fDistance); + + return vDiffuse; + +} PS_OUT PS_MAIN(PS_IN In) { @@ -689,10 +697,12 @@ PS_OUT PS_MAIN(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); + vMtrlDiffuse.rgb += EmissiveDraw(In, vMtrlDiffuse).rgb; vMtrlDiffuse.rgb += RimLight(In).rgb; - + Out.vDiffuse = vMtrlDiffuse; return Out; @@ -706,6 +716,8 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); + int2 iTexel = int2(In.vPosition.xy); float fDepthStencilValue = g_DepthStencilTexture.Load(int3(iTexel, 0)).r; @@ -790,7 +802,8 @@ PS_BLUR_OUT PS_BLUR_NOEMISSIVE(PS_IN In) vMtrlDiffuse = DrawEffect(In); - //// 색깔 추가할 처리 (이미시브) + //// 색깔 추가할 처리 (이미시브) + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); vMtrlDiffuse.a *= 5.f; @@ -811,6 +824,8 @@ PS_BLUR_OUT PS_BLUR(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); + vMtrlDiffuse.a *= 5.f; vMtrlDiffuse.a = saturate(vMtrlDiffuse.a); @@ -834,6 +849,7 @@ PS_BLOOM_OUT PS_BLOOM(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); //// 색깔 추가할 처리 (이미시브) @@ -869,6 +885,8 @@ PS_BLOOM_OUT PS_BLEND(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); + vMtrlDiffuse.rgb += EmissiveDraw(In, vMtrlDiffuse).rgb; vMtrlDiffuse += RimLight(In); @@ -886,6 +904,8 @@ PS_BLOOM_OUT PS_WEIGHTED_FOR_BLEND(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse); + vMtrlDiffuse.rgb += EmissiveDraw(In, vMtrlDiffuse).rgb; vMtrlDiffuse += RimLight(In); @@ -915,6 +935,7 @@ PS_OUT PS_NO_DEPTH_COMPARE(PS_IN In) technique11 DefaultTechnique { +//0 pass Model { SetRasterizerState(RS_Default); @@ -924,7 +945,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MAIN(); } - +//1 pass NON_NOMALMAP { SetRasterizerState(RS_Nocull); @@ -934,7 +955,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } - +//2 pass Blur { SetRasterizerState(RS_Nocull); @@ -944,7 +965,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLUR(); } - +//3 pass WEIGHTBLEND { SetRasterizerState(RS_Nocull); @@ -954,7 +975,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } - +//4 pass NO_WORLD { SetRasterizerState(RS_Nocull); @@ -964,7 +985,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } - +//5 pass BLUR_NO_WORLD { SetRasterizerState(RS_Nocull); @@ -975,7 +996,7 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_BLUR(); } - + //6 pass BLEND { SetRasterizerState(RS_Nocull); @@ -985,7 +1006,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLEND(); } - +//7 pass BLEND_NOWORLD { SetRasterizerState(RS_Nocull); @@ -995,7 +1016,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLEND(); } - +//8 pass BLOOM { SetRasterizerState(RS_Nocull); @@ -1005,7 +1026,7 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLOOM(); } - +//9 pass BLOOM_NOWORLD { SetRasterizerState(RS_Nocull); @@ -1016,7 +1037,7 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_BLOOM(); } - +//10 pass BLUR_NO_EMMISVE { SetRasterizerState(RS_Nocull); @@ -1027,6 +1048,8 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_BLUR_NOEMISSIVE(); } +//11 + pass BLUR_NO_WORLD_NO_EMISSIVE { SetRasterizerState(RS_Nocull); @@ -1037,6 +1060,7 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_BLUR_NOEMISSIVE(); } +//12 pass WEIGHTBLEND_FOR_BLEND { SetRasterizerState(RS_Nocull); @@ -1048,7 +1072,7 @@ technique11 DefaultTechnique } - +//13 pass PARTICLE_DEPTH_STOP { SetRasterizerState(RS_Nocull); @@ -1059,7 +1083,7 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_MAIN(); } - +//14 pass WB_CULLING { SetRasterizerState(RS_Default); @@ -1070,6 +1094,7 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } +//15 pass SCREEN_FX { SetRasterizerState(RS_Nocull); From 5ae830d7a7ede2a8df1a7d77a2c790baf81864c9 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Tue, 16 Dec 2025 17:04:02 +0900 Subject: [PATCH 3/3] commit --- Jusin154_Team3D/Client/Public/Accio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jusin154_Team3D/Client/Public/Accio.h b/Jusin154_Team3D/Client/Public/Accio.h index 62ba72909..61e7532b1 100644 --- a/Jusin154_Team3D/Client/Public/Accio.h +++ b/Jusin154_Team3D/Client/Public/Accio.h @@ -43,7 +43,7 @@ class CAccio final : public CEffect_Container _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치 _float4 m_vTargetPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 타게팅 된 위치 - _float m_fLinearSpeed = 1.f; + _float m_fLinearSpeed = 0.5f; _float3 m_vCameraLook = {}; _float4x4 m_TrailWorld = {}; @@ -52,7 +52,7 @@ class CAccio final : public CEffect_Container _float m_fAccRotateTime = {}; _float m_fTurnSpeed = { 65.f }; _float m_fRange = { 1.f }; - _float m_fAttenuation = { 100.f }; + _float m_fAttenuation = { 65.f }; _bool m_isDissolve = { true }; _bool m_isReverse = { false }; _int m_iLoopTime = { 5 };