[add] Client 조명 오브젝트 추가, MainLight Fog 색상 변경

This commit is contained in:
Chanbin Kim
2025-12-02 11:46:12 +09:00
parent edf24e753a
commit d6627215fe
37 changed files with 721 additions and 6 deletions
+35
View File
@@ -88,6 +88,7 @@
#include "MapObject_Render.h"
#include "MapObject_Collision.h"
#include "InstancedProp.h"
#include "MapElement_Light.h"
#pragma endregion
@@ -435,6 +436,12 @@ HRESULT CLoader::Loading_For_GamePlay()
".bin", false
));
}
{/* Light Objects */
jobMapModels.emplace_back(Deferred_FolderLoad(
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts",
".bin", false
));
}
}
#pragma endregion
@@ -636,6 +643,27 @@ HRESULT CLoader::Loading_For_GamePlay()
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/Terrain/Hogsmeade_AlphaMap.dds"), 0)))) {
return E_FAIL;
}
/* For.Prototype_Component_LightPost_Emissive */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("LightPost_Emissive"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
TEXT("C:/MeshTable/Game/Environment/Hogsmeade/Common/Textures/LightPosts/T_HM_LampPost_Glass_E.png"), 0)))) {
return E_FAIL;
}
/* For.Prototype_Component_LightPost_Mask */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("LightPost_Mask"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
TEXT("C:/MeshTable/Game/Environment/Hogsmeade/Common/Textures/LightPosts/T_HM_LampPost_Glass_D.png"), 0)))) {
return E_FAIL;
}
/* For.Prototype_Component_LightPost_Base */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("LightPost_Base"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE,
TEXT("C:/MeshTable/Game/Environment/Hogsmeade/Common/Textures/LightPosts/T_HM_LampPost_Glass_Dark_D.png"), 0)))) {
return E_FAIL;
}
#pragma endregion
@@ -1028,6 +1056,8 @@ HRESULT CLoader::Loading_For_GamePlay()
}
}
/* For.Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"),
CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext,
@@ -1075,6 +1105,11 @@ HRESULT CLoader::Loading_For_GamePlay()
/* For.Prototype_GameObject_CInstancedProp */
if (FAILED(m_pGameInstance->Add_Prototype<CInstancedProp>(g_iStaticLevel, CInstancedProp::Create(m_pDevice, m_pContext))))
return E_FAIL;
/* For.Prototype_GameObject_MapElement_Light */
if (FAILED(m_pGameInstance->Add_Prototype<CMapElement_Light>(g_iStaticLevel, CMapElement_Light::Create(m_pDevice, m_pContext))))
return E_FAIL;
#pragma endregion // MAP PROTOTYPE
#pragma region ACTOR PROTOTYPE