From b27bb429f75523b5dc4c6da2f774b45363647218 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Wed, 14 Jan 2026 23:21:40 +0900 Subject: [PATCH] COMMIT --- Jusin154_Team3D/Client/Private/Ranrok.cpp | 23 +++++++++++++++++-- .../Effect/Ranrok/RanrokBreath/BottomFire.bin | 2 +- .../Ranrok/RanrokBreath/SplatterBottom0.bin | 2 +- .../Ranrok/RanrokGroundPulse/Bottom_Decal.bin | 4 ++-- .../Effect/Ranrok/RanrokPoint/GooRod_0.bin | 2 +- .../Effect/Ranrok/RanrokPoint/Spread_PT.bin | 2 +- .../Ranrok/RanrokPulse/Bottom_Decal.bin | 4 ++-- Jusin154_Team3D/Editor/Private/Loader.cpp | 1 + Jusin154_Team3D/Editor/Private/Ranrok.cpp | 2 +- 9 files changed, 31 insertions(+), 11 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index ddcafbd7a..c81c9f895 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -86,7 +86,7 @@ HRESULT CRanrok::Initialize(void* pArg) m_fRimStrength = 2.3f; m_fRimPower = 2.3f; - m_vRimColor = _float4(0.333, 0.235, 0.184, 0.059); + m_vRimColor = _float4(0.333f, 0.235f, 0.184f, 0.059f); return S_OK; @@ -299,7 +299,7 @@ HRESULT CRanrok::Render() hr = Render_Nonblend(); } else if (RENDER::BLEND == eCurrentPass) { - //hr = Render_Blend(); + hr = Render_Blend(); hr = S_OK; } #ifdef _DEBUG @@ -382,6 +382,16 @@ void CRanrok::Trigger(CTimeSocket& Socket) HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength", &m_fRimStrength, sizeof(_float)))) + return E_FAIL; + + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimPower, sizeof(_float)))) + return E_FAIL; + + + if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimColor, sizeof(_float4)))) + return E_FAIL; for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::WINGS); i < ENUM_CLASS(RANROK_MESH_ORDER::END); ++i) @@ -861,6 +871,7 @@ HRESULT CRanrok::Render_Blend() } if (m_bMotionTrail) { + if (FAILED(Bind_ShaderResources())) { return E_FAIL; } @@ -1132,6 +1143,14 @@ void CRanrok::Describe_Entity() GUI::Text("Degree %.2f", m_fDegree); GUI::Text("CurrFlow %d", m_iCurrentFlow); + + GUI::DragFloat("RimStrength", &m_fRimStrength, 0.01f); + GUI::DragFloat("RimPower", &m_fRimPower, 0.01f); + GUI::ColorEdit4("RimColor", (_float*)(&m_vRimColor)); + GUI::DragFloat("MotionTrailTime", &m_vCaptureTimer.y); + + m_pMotionTrailCom->Describe_Entity(); + _float3 Pos; XMStoreFloat3(&Pos, Get_WorldPostion()); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin index 2bfc15f27..05d3726c6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d761f1645bfbe8e44dc8ee416a63a1a6dae721049a52ef9cd8dbd8e439def546 +oid sha256:1d328cbbf43c89cd111f774ed4f5004c48bf84cefca40eabf53ac726b0dd52f6 size 1203 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin index 47f67503a..d29f71284 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0d9c23eeb41b081a95b80ff8794eabe2a70d638f42d3e07d00e29f7a2254c76a +oid sha256:18ce266881a642bcf12110d78fdf73f1168544a17779a3d1f5f89d013b223bd2 size 1204 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin index 42c2e4bd1..7c7409fb1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:798a1a6e3b574cc3e4b5fd4b6e84676ef84f8920e5835efffa22c54ca14b6c76 -size 1252 +oid sha256:fd02c3a857e30bb2b861fcad88c7700c196159ef9c374c22c2f7d3fcc5b89829 +size 1263 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin index 097f8eccc..20d1cd7a2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e6db6cb06eda2623a0a189766e4fb384b05c21431ed63b046ef4edfb41e64a1c +oid sha256:069730a7e324d6517b628ec307b429183a82bc8b3451f9dfceba39a877d27d2e size 1228 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin index fdbbf3ee3..d8b0af3a9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6fa2d60a0f35274d2564c245f8d366e6575bd1ea8c1c45c82195a3247d31c1f +oid sha256:466b9d6c7eeee81bf4318c148c082f6ea6506489274a90b3be0dc22ce98aeda1 size 1294 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin index d91862139..db8e48248 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e2036f9e6fde8af690911f6ccda4b496b752e442e6bb931c228d542a04bb77d2 -size 1252 +oid sha256:c7a7d6745ded6afde37363cbe9afe45cae756b9e3e1f3c35269ceca54703abdb +size 1263 diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index ce1f5397a..b37ad9c3f 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -2206,6 +2206,7 @@ HRESULT CLoader::Loading_For_Effect() Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount(); if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) { return E_FAIL; + } if (isLoad_Map) { diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp index cd689ee84..1b81b818b 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp @@ -86,7 +86,7 @@ HRESULT CRanrok::Initialize(void* pArg) m_fRimStrength = 2.3f; m_fRimPower = 2.3f; - m_vRimColor = _float4(0.333, 0.235, 0.184, 0.059); + m_vRimColor = _float4(0.333f, 0.235f, 0.184f, 0.059f); return S_OK;