From ba51541a196ae90baf296084825333015e1cd8e4 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Sun, 8 Feb 2026 19:39:53 +0900 Subject: [PATCH] commit --- Jusin154_Team3D/Client/Private/Level_Field.cpp | 3 ++- Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin | 4 ++-- .../Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl | 2 +- Jusin154_Team3D/Editor/Private/EditEffect.cpp | 2 +- .../Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp index e0193e987..dc6fa79c8 100644 --- a/Jusin154_Team3D/Client/Private/Level_Field.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp @@ -16,7 +16,6 @@ #include "UI_Manager.h" #include "InstancedProp.h" - CLevel_Field::CLevel_Field(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID) : CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) } { @@ -63,12 +62,14 @@ HRESULT CLevel_Field::Initialize(void* pArg) if (FAILED(Ready_Layer_Monster())) { return E_FAIL; } + ResetLevel_Environment(); m_bLevel = true; m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn")); + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin index c34b8d43d..63e52568f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3f858bdf34bfc40e83f67337823432a78fc1d00d932415f28090b1f6e2fe7aac -size 1114 +oid sha256:cba51c425e25f18dfc782ce430ff60f114d12626a583621e1d27ee9cce34bf42 +size 1292 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index 238707772..8a821f951 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -562,7 +562,7 @@ void CS_MAIN( if (isInstanceBillboard == true) { - float3 vBillboardLook = normalize(vCamposition.xyz - particle.vTranslation.xyz); + float3 vBillboardLook = normalize(vCamposition.xyz - (particle.vTranslation.xyz + WorldMatrix[3].xyz)); float3 vBillboardRight = normalize(cross(float3(0.f, 1.f, 0.f), vBillboardLook)); float3 vBillboardUp = normalize(cross(vBillboardLook, vBillboardRight)); diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp index 87f743dad..9897b74e9 100644 --- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp @@ -494,7 +494,7 @@ void CEditEffect::Describe_Entity() GUI::Separator(); - //m_pTransformCom->Describe_Entity(); + m_pTransformCom->Describe_Entity(); GUI::Checkbox("Diffuse", &m_EffectInfo.isDiffuse); GUI::Checkbox("Masking", &m_EffectInfo.isMasking); diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index 238707772..8a821f951 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -562,7 +562,7 @@ void CS_MAIN( if (isInstanceBillboard == true) { - float3 vBillboardLook = normalize(vCamposition.xyz - particle.vTranslation.xyz); + float3 vBillboardLook = normalize(vCamposition.xyz - (particle.vTranslation.xyz + WorldMatrix[3].xyz)); float3 vBillboardRight = normalize(cross(float3(0.f, 1.f, 0.f), vBillboardLook)); float3 vBillboardUp = normalize(cross(vBillboardLook, vBillboardRight));