Files
Chanbin Kim 102824a989 [add] 데칼 UV 자연스럽게 적용
[add] 조명 객체, 효과 추가
2025-12-26 10:18:22 +09:00

40 lines
752 B
C++

#pragma once
#include "Base.h"
NS_BEGIN(Engine)
class CFog final : public CBase
{
private:
CFog();
virtual ~CFog() = default;
public:
void Set_Fog(_float fFogDensity, _float fPow);
void Set_FogColor(_float4& vFogColor);
HRESULT Bind_FogValue(class CShader* pShader);
#ifdef _DEBUG
void Update_Fog();
#endif // _DEBUG
private:
_bool m_bVisible = {};
_float m_fFogDensity = { 0.04f };
_float m_fFogPow = { 0.1f };
_float m_fFogHeightValue = { 0.1f };
_float4 m_vFogColor = { 0.906f, 0.812f, 0.745f, 0.5f };
class CGameInstance* m_pGameInstance = { nullptr };
ID3D11ShaderResourceView* m_pNoiseTextureSRV = { nullptr };
private:
HRESULT Initialize();
public:
static CFog* Create();
virtual void Free() override;
};
NS_END