diff --git a/Jusin154_Team3D/Client/Default/Client.cpp b/Jusin154_Team3D/Client/Default/Client.cpp index 4084d56e2..e881d63b2 100644 --- a/Jusin154_Team3D/Client/Default/Client.cpp +++ b/Jusin154_Team3D/Client/Default/Client.cpp @@ -198,7 +198,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) g_hWnd = hWnd; #endif // _DEBUG -#ifdef Bin #ifndef _DEBUG int screenX = GetSystemMetrics(SM_CXSCREEN); int screenY = GetSystemMetrics(SM_CYSCREEN); @@ -224,7 +223,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) UpdateWindow(hWnd); #endif // !_DEBUG -#endif // Bin + return TRUE; } diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp index 306f2a4e5..5c7f392a6 100644 --- a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp +++ b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp @@ -672,7 +672,7 @@ HRESULT CPlayerRobe::Initialize(void* pArg) JointDesc.ApplyToJoint(*m_pDynamicJoints[i]); m_JointDescriptions[i] = JointDesc; } - Update_RobeJoints(); + //Update_RobeJoints(); #ifdef _DEBUG m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 0.05f, 22, false, false)); diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index 450067f83..128d9ac8e 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -501,7 +501,7 @@ HRESULT CRanrok::Render_Nonblend() for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::WINGS); i < ENUM_CLASS(RANROK_MESH_ORDER::END); ++i) { - if (FAILED(m_pShaderCom->Bind_Matrices( "g_OffsetMatrix", + if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix", m_pModelCom->Get_OffsetMatrix(i).data(), (_int)m_pModelCom->Get_OffsetMatrix(i).size()))) { @@ -525,6 +525,7 @@ HRESULT CRanrok::Render_Nonblend() if (FAILED(m_pModelCom->Render(i))) { return E_FAIL; } + } if (m_bDrawOutLine) { Render_OutLine(); @@ -561,6 +562,7 @@ HRESULT CRanrok::Render_Nonblend() } return S_OK; } + HRESULT CRanrok::Render_Blend() { _float fDiffuseUVRatio = (m_vEtherealTimer.x / m_vEtherealTimer.y); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index d3aa2c4a1..c28b3b75b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -529,13 +529,9 @@ float4 DrawEffect(PS_IN In) float2 vDelay = g_ParticleValue[In.iGPUIndex].vDelay; - if (vDelay.x < vDelay.y) - { - discard; - } - - if (In.vLifeTime.x > In.vLifeTime.y) - discard; + + clip(vDelay.x - vDelay.y); + clip(In.vLifeTime.y - In.vLifeTime.x); if (g_isDiffuse == true) @@ -791,7 +787,7 @@ float4 DrawEffect(PS_IN In) if (g_isNoDissolveSmoothStep == true) { - fFade = smoothstep(fTimeRatio, fTimeRatio, vMtrlDissolve.r); + fFade = smoothstep(fTimeRatio, fTimeRatio + FLT_EPSILON5, vMtrlDissolve.r); } vMtrlDiffuse.a *= fFade; diff --git a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp index 0c855fd13..9324c7311 100644 --- a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp +++ b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp @@ -226,6 +226,8 @@ void CMotion_Trail::Free() } } +#ifdef _DEBUG void CMotion_Trail::Describe_Entity() { } +#endif // DEBUG diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index 03579ab88..f473b7c65 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -572,7 +572,7 @@ void CRenderer::Render_Fog() return; } - m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::PRINT_BACKBUFFER)); + m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::FOG)); m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); @@ -588,7 +588,7 @@ void CRenderer::Render_Fog() return; } - m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::FOG)); + m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::PRINT_BACKBUFFER)); m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); diff --git a/Jusin154_Team3D/Engine/Public/Motion_Trail.h b/Jusin154_Team3D/Engine/Public/Motion_Trail.h index 105b26b55..e8fc842f0 100644 --- a/Jusin154_Team3D/Engine/Public/Motion_Trail.h +++ b/Jusin154_Team3D/Engine/Public/Motion_Trail.h @@ -55,8 +55,9 @@ class ENGINE_DLL CMotion_Trail final : public CComponent static CMotion_Trail* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, MODELCAPTURE_DESC* pDesc); virtual CMotion_Trail* Clone(void* pArg, class CGameObject* pOwner = nullptr) override; virtual void Free() override; - +#ifdef _DEBUG void Describe_Entity() override; +#endif // DEBUG }; NS_END