commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -226,6 +226,8 @@ void CMotion_Trail::Free()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CMotion_Trail::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // DEBUG
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user