From 36ebb5a98af929c1bfc94540e62a3fe7f75c40f5 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Wed, 17 Dec 2025 22:24:15 +0900 Subject: [PATCH] commit --- .../Bin/Resources/Data/Effect/Lightning/BottomLightning.bin | 2 +- .../Editor/Bin/Resources/Data/Effect/Lightning/Flare.bin | 3 +++ .../Editor/Bin/Resources/Data/Effect/Lightning/HitPT0.bin | 2 +- .../Bin/Resources/Data/Effect/Lightning/Lightning0.bin | 2 +- .../Resources/Data/Effect/Lightning/Straight_Lightning.bin | 2 +- .../Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl | 6 +++--- .../Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl | 6 +++--- .../Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl | 6 +++--- 8 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Flare.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin index 0b509c8f9..5d78c2328 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3ec83e2e13a6ec53ea07e5369cd9d50892438bc7ad0889d5d704fc0ef6dc1146 +oid sha256:d57f5a8319c45c4ac54d543043b68d0d90fe997461c1a7300373294e0be8de33 size 1028 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Flare.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Flare.bin new file mode 100644 index 000000000..41f7473df --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Flare.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b28dac9689b712666e83801b8384a97d1eb11f704090406b7cfd9cbb87c6426 +size 1025 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/HitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/HitPT0.bin index 4d8b72dba..c0ad2cce1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/HitPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/HitPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:034da133af19144387a6f9c76a2541bea64b4510ae725b60d568f9d5ca824692 +oid sha256:459775272ece67a02d7cafb050cae568ff71dd6137f304ff024352a8beaf89f3 size 1097 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin index 9b3ae64c9..26f94dc82 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d1933e288c8c38643a05b0501100caf94076995161166ba857fa315af019314b +oid sha256:750e826ebdd9f6d5325472e97044a4104954aa4f174d23050e748ff21cc135ba size 1020 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Straight_Lightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Straight_Lightning.bin index 65c4a200f..f96bdd450 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Straight_Lightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Straight_Lightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2906b49fbd69a6a3b63cd86597105f5ccc49cbbcca55282e3f5a55845c67d32b +oid sha256:a8af0d8240c4f84b3d42b0211011ffe34c60dd049a059e01152bd5a27742426f size 1028 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index bfb484fa4..9b578fa20 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -794,7 +794,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_EMBOSS(PS_IN In) { PS_OUT_FLT4_SINGLE Out; float2 uv = In.vTexcoord; - float fSrcAlpha = g_DiffuseTexture.Sample(PointSampler, uv).a; + float4 fSrcAlpha = g_DiffuseTexture.Sample(PointSampler, uv); float2 vSrcTexelSize = float2(1.f / g_vResolution.x, 1.f / g_vResolution.y); float3 vColor = (0.f, 0.f, 0.f); @@ -806,7 +806,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_EMBOSS(PS_IN In) float fBloomIntensity = GetBloomCurve(fIntensity, g_fBloomThreshold, g_iBloomEmbossingPass); float3 bloomColor = (vColor * fBloomIntensity) / fIntensity; - Out.vFirstTarget = float4(bloomColor, fSrcAlpha); + Out.vFirstTarget = fSrcAlpha; return Out; } @@ -1299,7 +1299,7 @@ technique11 DefaultTechnique { SetRasterizerState(RS_Default); SetDepthStencilState(DSS_None, 0); - SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_CAPTURE(); GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MAIN_EMBOSS(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index c6d99c20d..286d06e43 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -873,7 +873,7 @@ PS_BLOOM_OUT PS_BLOOM(PS_IN In) } - Out.vDiffuse = vector(vMtrlDiffuse.rgb * fBloomStrength, (float) g_iBloomType / 255.f); + Out.vDiffuse = vMtrlDiffuse * fBloomStrength; return Out; @@ -1055,7 +1055,7 @@ technique11 DefaultTechnique { SetRasterizerState(RS_Nocull); SetDepthStencilState(DSS_Default, 0); - SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN(); GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLOOM(); @@ -1065,7 +1065,7 @@ technique11 DefaultTechnique { SetRasterizerState(RS_Nocull); SetDepthStencilState(DSS_Default, 0); - SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NOWORLD(); GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLOOM(); diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index bfb484fa4..9b578fa20 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -794,7 +794,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_EMBOSS(PS_IN In) { PS_OUT_FLT4_SINGLE Out; float2 uv = In.vTexcoord; - float fSrcAlpha = g_DiffuseTexture.Sample(PointSampler, uv).a; + float4 fSrcAlpha = g_DiffuseTexture.Sample(PointSampler, uv); float2 vSrcTexelSize = float2(1.f / g_vResolution.x, 1.f / g_vResolution.y); float3 vColor = (0.f, 0.f, 0.f); @@ -806,7 +806,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_EMBOSS(PS_IN In) float fBloomIntensity = GetBloomCurve(fIntensity, g_fBloomThreshold, g_iBloomEmbossingPass); float3 bloomColor = (vColor * fBloomIntensity) / fIntensity; - Out.vFirstTarget = float4(bloomColor, fSrcAlpha); + Out.vFirstTarget = fSrcAlpha; return Out; } @@ -1299,7 +1299,7 @@ technique11 DefaultTechnique { SetRasterizerState(RS_Default); SetDepthStencilState(DSS_None, 0); - SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_CAPTURE(); GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MAIN_EMBOSS();