[add] CameraShake

This commit is contained in:
kimnuri
2025-12-11 21:54:14 +09:00
parent 7aad5e74fd
commit ab3aafc438
7 changed files with 66 additions and 23 deletions
+4 -4
View File
@@ -21,10 +21,10 @@ class ENGINE_DLL CCamera abstract : public CGameObject
_float2 vTransitionTime = { 0.f, 1.f };
_bool bEnableLookLerp = { false };
_float2 vLookLerpTime = { 0.f, BASIC_LERP_TIMER };
_float2 vLookLerpTime = { 0.f, TIMER_SHORT_LERP };
_bool bEnableFollowLerp = { false };
_float2 vFollowLerpTime = { 0.f, BASIC_LERP_TIMER };
_float2 vFollowLerpTime = { 0.f, TIMER_SHORT_LERP };
}CAMERA_DESC;
protected:
@@ -55,10 +55,10 @@ class ENGINE_DLL CCamera abstract : public CGameObject
_float m_fFar = {};
_float2 m_vTransitionTime = { 0.f, 1.f };
_float2 m_vLookLerpTime = { 0.f, BASIC_LERP_TIMER };
_float2 m_vLookLerpTime = { 0.f, TIMER_SHORT_LERP };
_float3 m_vLookPos_Src = { 0.f, 0.f, 1.f };
_float3 m_vLookPos_Dest = { 0.f, 0.f, 1.f };
_float2 m_vFollowLerpTime = { 0.f, BASIC_LERP_TIMER };
_float2 m_vFollowLerpTime = { 0.f, TIMER_SHORT_LERP };
_float3 m_vFollowPos_Src = { 0.f, 0.f, 0.f };
_float3 m_vFollowPos_Dest = { 0.f, 0.f, 0.f };
_uint m_iPriority = { UINT_MAX };
+1 -1
View File
@@ -90,7 +90,7 @@
#define SSAO_SAMPLE_NUMBER 64
#define BASIC_LERP_TIMER 0.16f
#define TIMER_SHORT_LERP 0.16f
constexpr unsigned int g_iMaxShadowWidth = 16384;
constexpr unsigned int g_iMaxShadowHeight = 9216;