From 96f01460ec51d3c74d46101fc0c4f70a51cf8218 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Sun, 4 Jan 2026 01:18:17 +0900 Subject: [PATCH] =?UTF-8?q?[remove]=20FX=20GS=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ShaderFiles/Shader_UIEditor.hlsl | 104 ++++----- Jusin154_Team3D/Client/Default/Client.vcxproj | 2 + .../Client/Default/Client.vcxproj.filters | 15 +- .../Client/Private/Camera_Model.cpp | 205 ++++++++++++++++++ .../Client/Private/Level_GamePlay.cpp | 57 +++-- Jusin154_Team3D/Client/Private/Loader.cpp | 44 ++-- Jusin154_Team3D/Client/Public/Camera_Gaze.h | 2 +- Jusin154_Team3D/Client/Public/Camera_Model.h | 48 ++++ Jusin154_Team3D/Client/Public/Client_Macro.h | 1 - .../Resources/ShaderFiles/Shader_Blur.hlsl | 6 +- .../Resources/ShaderFiles/Shader_Cell.hlsl | 2 +- .../ShaderFiles/Shader_Deferred.hlsl | 46 ++-- .../ShaderFiles/Shader_Distortion.hlsl | 2 +- .../ShaderFiles/Shader_NPC_PBR_Anim.hlsl | 56 ++--- .../ShaderFiles/Shader_UIEditor.hlsl | 104 ++++----- .../ShaderFiles/Shader_UI_Instance.hlsl | 26 +-- .../ShaderFiles/Shader_VtxAnimMesh.hlsl | 18 +- .../Resources/ShaderFiles/Shader_VtxMesh.hlsl | 46 ++-- .../ShaderFiles/Shader_VtxModelInstance.hlsl | 58 ++--- .../ShaderFiles/Shader_VtxNorTex.hlsl | 8 +- .../ShaderFiles/Shader_VtxPointParticle.hlsl | 149 ------------- .../Resources/ShaderFiles/Shader_VtxPos.hlsl | 6 +- .../ShaderFiles/Shader_VtxPosTex.hlsl | 18 +- .../Shader_VtxWorldModelInstance.hlsl | 6 +- .../ShaderFiles/Shader_WeightBlend.hlsl | 2 +- Jusin154_Team3D/Editor/Default/Editor.vcxproj | 6 - .../Editor/Default/Editor.vcxproj.filters | 5 +- Jusin154_Team3D/Editor/Private/Loader.cpp | 6 - Jusin154_Team3D/Editor/Public/Editor_Macro.h | 1 - .../Resources/ShaderFiles/Shader_Blur.hlsl | 6 +- .../Resources/ShaderFiles/Shader_Cell.hlsl | 2 +- .../ShaderFiles/Shader_Deferred.hlsl | 46 ++-- .../ShaderFiles/Shader_Distortion.hlsl | 2 +- .../ShaderFiles/Shader_WeightBlend.hlsl | 2 +- Jusin154_Team3D/Engine/Private/Material.cpp | 22 +- .../Engine/Private/Motion_Trail.cpp | 1 - Jusin154_Team3D/Engine/Private/Renderer.cpp | 21 +- Jusin154_Team3D/Engine/Public/Engine_Enum.h | 2 +- 38 files changed, 637 insertions(+), 516 deletions(-) create mode 100644 Jusin154_Team3D/Client/Private/Camera_Model.cpp create mode 100644 Jusin154_Team3D/Client/Public/Camera_Model.h delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPointParticle.hlsl diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl index 5d4c9e18c..5495075f9 100644 --- a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl +++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -2734,7 +2734,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_MAIN(); } @@ -2744,7 +2744,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Texture_Color(); } @@ -2754,7 +2754,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Logo(); } @@ -2764,7 +2764,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Logo_Text(); } @@ -2774,7 +2774,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Logo_Glow(); } @@ -2784,7 +2784,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_AlphaBlend(); } @@ -2794,7 +2794,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Clamp(); } @@ -2804,7 +2804,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Cursor(); } @@ -2814,7 +2814,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Sptire_Sheet(); } @@ -2824,7 +2824,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Key_Hold_Rotation(); } @@ -2834,7 +2834,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Mission(); } @@ -2844,7 +2844,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_QuestType(); } @@ -2854,7 +2854,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Anim(); } @@ -2864,7 +2864,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_NineSlice(); } @@ -2874,7 +2874,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Rotation(); } @@ -2884,7 +2884,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Slot(); } @@ -2894,7 +2894,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellAnim(); } pass HpBar @@ -2903,7 +2903,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_HpBar(); } pass Magic_Meter @@ -2912,7 +2912,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Meter(); } @@ -2922,7 +2922,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Icon(); } @@ -2932,7 +2932,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_RemapUV(); } @@ -2942,7 +2942,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Revelio(); } @@ -2952,7 +2952,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Potion(); } @@ -2962,7 +2962,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Item(); } @@ -2972,7 +2972,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Preview(); } @@ -2982,7 +2982,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Header(); } @@ -2992,7 +2992,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Header_Line(); } @@ -3002,7 +3002,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Drag(); } @@ -3012,7 +3012,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Camera_LockOn(); } @@ -3022,7 +3022,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Loding_Screen(); } @@ -3032,7 +3032,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Enemy_HpBer(); } @@ -3042,7 +3042,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Boss_HpBer(); } @@ -3052,7 +3052,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Border(); } @@ -3062,7 +3062,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Info(); } @@ -3072,7 +3072,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Status(); } @@ -3082,7 +3082,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Broomstick(); } @@ -3092,7 +3092,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearn(); } @@ -3102,7 +3102,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearnColor(); } @@ -3112,7 +3112,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearnBooster(); } @@ -3122,7 +3122,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_NPCInteraction(); } @@ -3132,7 +3132,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_CanvasFade(); } @@ -3142,7 +3142,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_FlagWave(); } @@ -3152,7 +3152,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BroomCircle(); } @@ -3162,7 +3162,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_info_Key(); } @@ -3172,7 +3172,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_Info(); } @@ -3182,7 +3182,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_HpSlot(); } @@ -3192,7 +3192,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BoosterGauge(); } @@ -3202,7 +3202,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BoosterHpBar(); } @@ -3212,7 +3212,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Enemy_Detection(); } @@ -3222,7 +3222,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Interaction_Object(); } @@ -3232,7 +3232,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Interaction_Npc(); } @@ -3242,7 +3242,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BroomGateTarget(); } } diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 6f7c2de21..a17df9245 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -175,6 +175,7 @@ call Update_Resources.bat + @@ -446,6 +447,7 @@ call Update_Resources.bat + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 07ab4209d..0a6cff0e0 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -808,7 +808,7 @@ 04.Mechanic\State\Focus\Fear - + 02.GameObjects\UI\GamePlay_Canvas\Ride_Panel\Ride_Bbooster_Slot @@ -833,6 +833,9 @@ 02.GameObjects\UI\GamePlay_Canvas\Ride_Panel + + 02.GameObjects\Cameras\Camera_Model + @@ -1706,7 +1709,7 @@ {99712e38-b76a-4c04-8ba3-16ddaac72679} - + {5bf233fa-6f9c-40d5-85c6-adbc7fcf7d28} @@ -1731,6 +1734,9 @@ {7876ff7e-f456-49ce-8fd6-766116613ff4} + + {40504926-63cc-4132-ade2-5a789e1a82a6} + @@ -2486,7 +2492,7 @@ 04.Mechanic\State\Focus\Fear - + 02.GameObjects\UI\GamePlay_Canvas\Ride_Panel\Ride_Bbooster_Slot @@ -2511,6 +2517,9 @@ 02.GameObjects\UI\GamePlay_Canvas\Ride_Panel + + 02.GameObjects\Cameras\Camera_Model + diff --git a/Jusin154_Team3D/Client/Private/Camera_Model.cpp b/Jusin154_Team3D/Client/Private/Camera_Model.cpp new file mode 100644 index 000000000..75023281f --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Camera_Model.cpp @@ -0,0 +1,205 @@ +#include "pch.h" +#include "Camera_Model.h" +#include "Shader.h" +#include "Layer.h" +#include "Player.h" + + +CCamera_Model::CCamera_Model(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CCamera(pDevice, pContext) +{ +} + +CCamera_Model::CCamera_Model(const CCamera_Model& rhs) + : CCamera(rhs) +{ +} + +void CCamera_Model::Priority_Update(_float fTimeDelta) +{ +#ifdef _DEBUG + m_pGameInstance->Bind_Camera(NEXT_LEVEL, CAMERA_MODEL, false); +#endif // _DEBUG + + if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_MODEL))) { + return; + } + m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + + _float3 vCamPos = {}; + XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); +#ifdef _DEBUG + GUI::Text("Cam_Model Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); +#endif // _DEBUG + + __super::Bind_Matrices(); +} + +void CCamera_Model::Update(_float fTimeDelta) +{ +#ifdef _DEBUG + Describe_Entity(); +#endif // _DEBUG +} + +void CCamera_Model::Late_Update(_float fTimeDelta) +{ + m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this); +} + +HRESULT CCamera_Model::Render() +{ + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_Matrices( + "g_OffsetMatrix", + m_pModelCom->Get_OffsetMatrix(i).data(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size() + ))) + { + return E_FAIL; + } + + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) { + return E_FAIL; + } + + m_pModelCom->Bind_OutPut_SRV_VS(31, 0); + m_pModelCom->Bind_OutPut_SRV_VS_Prev(32, 0); + + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + + return S_OK; +} + +HRESULT CCamera_Model::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CCamera_Model::Initialize(void* pArg) +{ + CAMERA_MODEL_DESC* pDesc = static_cast(pArg); + + if (FAILED(__super::Initialize(pArg))) { + return E_FAIL; + } + + if (FAILED(Ready_Components(pArg))) { + return E_FAIL; + } + m_matInitial = *m_pTransformCom->Get_WorldMatrixPtr(); + m_bActive = true; + + return S_OK; +} + +HRESULT CCamera_Model::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Camera_Model"), + reinterpret_cast(&m_pModelCom)))) { + return E_FAIL; + } + + + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH, + reinterpret_cast(&m_pShaderCom)))) { + return E_FAIL; + } + + + return S_OK; +} + +HRESULT CCamera_Model::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + return S_OK; +} + +void CCamera_Model::Set_InitialPos() +{ + m_pTransformCom->Set_WorldMatrix(m_matInitial); +} + +CCamera_Model* CCamera_Model::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CCamera_Model* pInstance = new CCamera_Model(pDevice, pContext); + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CCamera_Model"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CCamera_Model::Clone(void* pArg, CGameObject* pOwner) +{ + CCamera_Model* pInstance = new CCamera_Model(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CCamera_Model"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CCamera_Model::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pModelCom); + SAFE_RELEASE(m_pShaderCom); +} +#ifdef _DEBUG + +void CCamera_Model::Describe_Entity() +{ + _float3 vPosition = {}; + GUI::Begin("CameraAnim List"); + for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++) + { + if (GUI::Button(m_pModelCom->Get_AnimList(i))) + { + m_pModelCom->Set_AnimationIndex(i); + } + } + + + GUI::End(); +} + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 0993811a4..3025ec963 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -5,6 +5,7 @@ #include "Light_Main.h" #include "Camera_Debug.h" #include "InfoInstance.h" +#include "Camera_Model.h" #include "UI_Manager.h" #include "Layer.h" #include "SkyBox.h" @@ -619,26 +620,48 @@ HRESULT CLevel_GamePlay::Ready_Layer_UI(const _wstring& strLayerTag) HRESULT CLevel_GamePlay::Ready_Layer_Camera() { #ifdef _DEBUG - CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{}; - Camera_Desc.fFovy = XMConvertToRadians(60.0f); - Camera_Desc.fNear = 0.1f; - Camera_Desc.fFar = 500.f; - Camera_Desc.vEye = _float3(0.f, 10.f, -10.f); - Camera_Desc.vAt = _float3(0.f, 0.f, 0.f); - Camera_Desc.fSpeedPerSec = 5.f; - Camera_Desc.pCameraKey = CAMERA_DEBUG; - Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f); - Camera_Desc.fMouseSensor = 0.1f; - Camera_Desc.iPriority = 53; - Camera_Desc.pFollowTarget = { nullptr }; - Camera_Desc.pLookTarget = { nullptr }; + { + CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{}; + Camera_Desc.fFovy = XMConvertToRadians(60.0f); + Camera_Desc.fNear = 0.1f; + Camera_Desc.fFar = 500.f; + Camera_Desc.vEye = _float3(0.f, 10.f, -10.f); + Camera_Desc.vAt = _float3(0.f, 0.f, 0.f); + Camera_Desc.fSpeedPerSec = 5.f; + Camera_Desc.pCameraKey = CAMERA_DEBUG; + Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f); + Camera_Desc.fMouseSensor = 0.1f; + Camera_Desc.iPriority = 53; + Camera_Desc.pFollowTarget = { nullptr }; + Camera_Desc.pLookTarget = { nullptr }; + + CCamera_Debug* pCamera = { nullptr }; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) { + return E_FAIL; + } + + m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, CAMERA_DEBUG); + } + { + CCamera_Model::CAMERA_MODEL_DESC Camera_Desc{}; + Camera_Desc.fSpeedPerSec = 5.f; + Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f); + Camera_Desc.fFovy = XMConvertToRadians(60.0f); + Camera_Desc.fNear = 0.1f; + Camera_Desc.fFar = 500.f; + Camera_Desc.pCameraKey = CAMERA_MODEL; + Camera_Desc.iPriority = 49; + Camera_Desc.pFollowTarget = { nullptr }; + Camera_Desc.pLookTarget = { nullptr }; + + CCamera_Model* pCamera = { nullptr }; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) { + return E_FAIL; + } + m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, CAMERA_MODEL); - CCamera_Debug* pCamera = { nullptr }; - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) { - return E_FAIL; } - m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, CAMERA_DEBUG); #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index e7a2c8fe5..2b2963ae4 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -42,6 +42,10 @@ #include "BroomRacerAI.h" #include "Ranrok.h" +#ifdef _DEBUG +#include "Camera_Model.h" +#endif // _DEBUG + #pragma endregion @@ -2046,22 +2050,27 @@ HRESULT CLoader::Loading_For_GamePlay() CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { return E_FAIL; } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Spector_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Spector_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { - return E_FAIL; - } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { - return E_FAIL; - } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) { + return E_FAIL; + } } #pragma endregion @@ -3140,6 +3149,13 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } +#ifdef _DEBUG + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamera_Model::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } +#endif // _DEBUG + + #pragma endregion diff --git a/Jusin154_Team3D/Client/Public/Camera_Gaze.h b/Jusin154_Team3D/Client/Public/Camera_Gaze.h index 5d822a54c..d5a37ac34 100644 --- a/Jusin154_Team3D/Client/Public/Camera_Gaze.h +++ b/Jusin154_Team3D/Client/Public/Camera_Gaze.h @@ -19,7 +19,7 @@ class CCamera_Gaze final : public CCamera public: virtual void Priority_Update(_float fTimeDelta) override; virtual void Update(_float fTimeDelta) override; - void Update_LerpTimer(Engine::_float fTimeDelta); + void Update_LerpTimer(_float fTimeDelta); void Enable_FollowLerp(); void Enable_LookLerp(); void Toggle_Priority(); diff --git a/Jusin154_Team3D/Client/Public/Camera_Model.h b/Jusin154_Team3D/Client/Public/Camera_Model.h new file mode 100644 index 000000000..c678fd56c --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Camera_Model.h @@ -0,0 +1,48 @@ +#pragma once + +#include "Client_Define.h" +#include "Camera.h" + +NS_BEGIN(Client) + +class CCamera_Model final : public CCamera +{ +public: + typedef struct tagCamera_Model : public CCamera::CAMERA_DESC + { + }CAMERA_MODEL_DESC; +private: + CCamera_Model(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CCamera_Model(const CCamera_Model& rhs); + virtual ~CCamera_Model() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; + +private: + class CModel* m_pModelCom = { nullptr }; + class CShader* m_pShaderCom = { nullptr }; + _bool m_bMovable = true; + _float4x4 m_matInitial = {}; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Bind_ShaderResources() override; + void Set_InitialPos(); + +public: + static CCamera_Model* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, CGameObject* pOwner) override; + virtual void Free() override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // _DEBUG + +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Client_Macro.h b/Jusin154_Team3D/Client/Public/Client_Macro.h index d78e087bf..73304cb7f 100644 --- a/Jusin154_Team3D/Client/Public/Client_Macro.h +++ b/Jusin154_Team3D/Client/Public/Client_Macro.h @@ -15,7 +15,6 @@ namespace Client { #define FX_POSTEX TEXT("FX_POSTEX") #define FX_NORTEX TEXT("FX_NORTEX") #define FX_CELL TEXT("FX_CELL") -#define FX_PARTICLE TEXT("FX_PARTICLE") #define FX_INSTANCE_MODEL TEXT("FX_INSTANCE_MODEL") #define FX_INSTANCE_PROP_MODEL TEXT("FX_INSTANCE_PROP_MODEL") #define FX_UIEDITOR TEXT("FX_UIEDITOR") diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Blur.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Blur.hlsl index cf3b016a3..df2c4ded6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Blur.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Blur.hlsl @@ -158,7 +158,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_X(); } @@ -168,7 +168,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_Y(); } @@ -178,7 +178,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_COMBINED(); } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Cell.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Cell.hlsl index 22d06480f..4d9da49c3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Cell.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Cell.hlsl @@ -55,7 +55,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 811482993..80babe0fc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -1340,7 +1340,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_DEBUG(); } @@ -1350,7 +1350,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_DIRECTIONAL(); } @@ -1360,7 +1360,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_POINT(); } @@ -1370,7 +1370,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_COMBINED(); } @@ -1380,7 +1380,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_X(); } @@ -1390,7 +1390,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_SPOT(); } @@ -1400,7 +1400,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_UPSAMPLE(); } pass PS_MAIN_BLOOM_BLUR_XPASS // 7 @@ -1409,7 +1409,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_BLUR_X(); } pass PS_MAIN_BLOOM_BLUR_COMBINEPASS // 8 @@ -1418,7 +1418,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_BLUR_COMBINE(); } @@ -1428,7 +1428,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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(); } @@ -1438,7 +1438,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_ACCUM(); } @@ -1448,7 +1448,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_FINISH(); } pass BlurX_ENV_Pass // 12 @@ -1457,7 +1457,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_BLUR_X_ENV(); } pass PostCombinedPass // 13 @@ -1466,7 +1466,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_Environment_SRead, 1); SetBlendState(BS_None, 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_MAIN_POSTCOMBINED(); } @@ -1476,7 +1476,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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_MAIN_FOG(); } @@ -1486,7 +1486,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_TONE_MAPPING(); } @@ -1496,7 +1496,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_SSAO_AMBIENT_OCCLUSION(); } @@ -1506,7 +1506,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_SSAO_BLUR(); } @@ -1516,7 +1516,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR(); } pass DownSamplePass // 19 @@ -1525,7 +1525,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_DOWNSAMPLE(); } pass MotionBlurTileSamplePass // 20 @@ -1534,7 +1534,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR_TILESAMPLE(); } pass MotionBlurTentSamplePass // 21 @@ -1543,7 +1543,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR_TENTSAMPLE(); } pass PrintToBackBufferPass // 22 @@ -1552,7 +1552,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_PRINT(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl index 4a649c8ad..2c922d1ea 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl @@ -93,7 +93,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN(); } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl index 27f9a031b..fb59be083 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl @@ -1418,7 +1418,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_EYELASH_DAOTHV_ToSRO(); } pass TEETH_SRXO_ToSRO // 1 @@ -1427,7 +1427,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_TEETH_SRXO_ToSRO(); } pass EYE_DN_ToSRO // 2 @@ -1436,7 +1436,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_EYE_DN_SRO(); } pass EYE_OCC // 3 @@ -1445,7 +1445,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_EYE_OCC(); } pass FACIAL_HAIR_DAOTHV_ToSRO // 4 @@ -1454,7 +1454,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_FACIAL_HAIR_DAOTHV_ToSRO(); } pass HEAD_HAIR_DAOTHV_ToSRO // 5 @@ -1463,7 +1463,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_HEAD_HAIR_DAOTHV_ToSRO(); } pass HEADwtHAND_DSRXON_ToSRO // 6 @@ -1472,7 +1472,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_HEADwtHAND_DSRXON_ToSRO(); } pass LOWER_DSRON_ToSRO // 7 @@ -1481,7 +1481,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_LOWER_DSRON_ToSRO(); } pass UPPER_DMRON_ToMRO // 8 @@ -1490,7 +1490,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_UPPER_DMRON_ToMRO(); } pass GLASSES_DMRON_ToMRO // 9 @@ -1499,7 +1499,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_GLASSES_DMRON_ToMRO(); } pass EmissiveMetalness_DENMRO_ToMRO // 10 @@ -1508,7 +1508,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_EmissiveMetalness_DENMRO_ToMRO(); } pass MI_ClothSim_DSEN_ToSRO // 11 @@ -1517,7 +1517,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MI_ClothSim_DSEN_ToSRO(); } pass MI_Troll_Club_DAENMROSRXO_To // 12 @@ -1526,7 +1526,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_MESH(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Troll_Club_DAENMROSRXO_ToMROX(); } ///// @@ -1536,7 +1536,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_OutLine_SRead, 2); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_OUTLINE_READ(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_OUTLINE_READ(); } pass MI_DANSROMRO_ToSRO // 14 @@ -1545,7 +1545,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MI_DANSROMRO_ToSRO(); } //// DRAGON @@ -1555,7 +1555,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_Aura(); } pass DragonEtherealEyesPass // 16 @@ -1564,7 +1564,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_EtherealEyes(); } pass DragonEtherealWingsPass // 17 @@ -1573,7 +1573,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_EtherealWings(); } pass DragonWingsPass // 18 @@ -1582,7 +1582,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Dragon_Wings(); } pass DragonBodyPass // 19 @@ -1591,7 +1591,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Dragon_Body(); } pass DragonRedHotPass // 20 @@ -1600,7 +1600,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_RedHot(); } pass DragonPinkHotPass // 21 @@ -1609,7 +1609,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_PinkHot(); } pass DragonYellowHotPass // 22 @@ -1618,7 +1618,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_Dragon_YellowHot(); } //// PLAYER_ @@ -1628,7 +1628,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Player_HairDAOTHV_ToSRO(); } pass PLAYER_Suit_DSRON_ToSRO // 24 @@ -1637,7 +1637,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Player_Suit_DSRON_ToSRO(); } pass PLAYER_EyeLash_DAOTHV_ToSRO // 25 @@ -1646,7 +1646,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Player_EyeLash_DAOTHV_ToSRO(); } pass PLAYER_Eye_ToSRO // 26 @@ -1655,7 +1655,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Player_Eye_ToMRO(); } pass PLAYER_Robe_ToMRO // 27 @@ -1664,7 +1664,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_LEGACY(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Player_Robe_ToMRO(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl index 5d4c9e18c..5495075f9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -2734,7 +2734,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_MAIN(); } @@ -2744,7 +2744,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Texture_Color(); } @@ -2754,7 +2754,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Logo(); } @@ -2764,7 +2764,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Logo_Text(); } @@ -2774,7 +2774,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Logo_Glow(); } @@ -2784,7 +2784,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_AlphaBlend(); } @@ -2794,7 +2794,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Clamp(); } @@ -2804,7 +2804,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_Cursor(); } @@ -2814,7 +2814,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_UIBlend, 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_Sptire_Sheet(); } @@ -2824,7 +2824,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Key_Hold_Rotation(); } @@ -2834,7 +2834,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Mission(); } @@ -2844,7 +2844,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_QuestType(); } @@ -2854,7 +2854,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Anim(); } @@ -2864,7 +2864,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_NineSlice(); } @@ -2874,7 +2874,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Rotation(); } @@ -2884,7 +2884,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Slot(); } @@ -2894,7 +2894,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellAnim(); } pass HpBar @@ -2903,7 +2903,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_HpBar(); } pass Magic_Meter @@ -2912,7 +2912,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Meter(); } @@ -2922,7 +2922,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Icon(); } @@ -2932,7 +2932,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_RemapUV(); } @@ -2942,7 +2942,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Revelio(); } @@ -2952,7 +2952,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Potion(); } @@ -2962,7 +2962,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Magic_Item(); } @@ -2972,7 +2972,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Preview(); } @@ -2982,7 +2982,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Header(); } @@ -2992,7 +2992,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Header_Line(); } @@ -3002,7 +3002,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Spell_Drag(); } @@ -3012,7 +3012,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Camera_LockOn(); } @@ -3022,7 +3022,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Loding_Screen(); } @@ -3032,7 +3032,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Enemy_HpBer(); } @@ -3042,7 +3042,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Boss_HpBer(); } @@ -3052,7 +3052,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Border(); } @@ -3062,7 +3062,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Info(); } @@ -3072,7 +3072,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Quest_Status(); } @@ -3082,7 +3082,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Broomstick(); } @@ -3092,7 +3092,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearn(); } @@ -3102,7 +3102,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearnColor(); } @@ -3112,7 +3112,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_SpellLearnBooster(); } @@ -3122,7 +3122,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_NPCInteraction(); } @@ -3132,7 +3132,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_CanvasFade(); } @@ -3142,7 +3142,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_FlagWave(); } @@ -3152,7 +3152,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BroomCircle(); } @@ -3162,7 +3162,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_info_Key(); } @@ -3172,7 +3172,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_Info(); } @@ -3182,7 +3182,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_Ride_HpSlot(); } @@ -3192,7 +3192,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BoosterGauge(); } @@ -3202,7 +3202,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_BoosterHpBar(); } @@ -3212,7 +3212,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Enemy_Detection(); } @@ -3222,7 +3222,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Interaction_Object(); } @@ -3232,7 +3232,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Interaction_Npc(); } @@ -3242,7 +3242,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONESIZE3D(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BroomGateTarget(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl index c2831f238..c9347f165 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl @@ -507,7 +507,7 @@ technique11 PosTexTechnique11 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_MAIN(); } @@ -518,7 +518,7 @@ technique11 PosTexTechnique11 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_Alpha_Blend(); } @@ -529,7 +529,7 @@ technique11 PosTexTechnique11 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_UVAlpha_Blend(); } @@ -540,7 +540,7 @@ technique11 PosTexTechnique11 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_Megic_Meter(); } @@ -551,7 +551,7 @@ technique11 PosTexTechnique11 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_Spell_List(); } @@ -562,7 +562,7 @@ technique11 PosTexTechnique11 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_Eessential_Spell_Slot(); } @@ -573,7 +573,7 @@ technique11 PosTexTechnique11 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_Eessential_Spell(); } @@ -584,7 +584,7 @@ technique11 PosTexTechnique11 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_Color_Image(); } @@ -595,7 +595,7 @@ technique11 PosTexTechnique11 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_Spell_Hover(); } @@ -606,7 +606,7 @@ technique11 PosTexTechnique11 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_Spell_Effect(); } @@ -617,7 +617,7 @@ technique11 PosTexTechnique11 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_Spell_Slot(); } @@ -628,7 +628,7 @@ technique11 PosTexTechnique11 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_Spell_Lock(); } @@ -639,7 +639,7 @@ technique11 PosTexTechnique11 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_Quest_Slot(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl index 0078b8a84..139443607 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl @@ -650,7 +650,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } @@ -660,7 +660,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_Less, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_SHADOW(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_SHADOW(); } @@ -670,7 +670,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_CAPTUREDMODEL(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_CAPTUREDMODEL(); } pass BlurPass // 3 @@ -679,7 +679,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_BLUR(); } @@ -689,7 +689,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_HAIR(); } @@ -699,7 +699,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_EYELASH(); } @@ -709,7 +709,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_OutLine_SWrite, 2); SetBlendState(BS_None, 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_MAIN(); } @@ -719,7 +719,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_OutLine_SRead, 2); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_OUTLINE(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_OUTLINE(); } @@ -729,7 +729,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_SPECTOR_MAIN(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index 124415419..5b972ccea 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -1051,7 +1051,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } @@ -1061,7 +1061,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default_Less, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_SHADOW(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_SHADOW(); } @@ -1071,7 +1071,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_SKYBOX(); } @@ -1081,7 +1081,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); 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_MAIN(); } @@ -1093,7 +1093,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_EFFECT(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_EFFECT(); } pass EffectPass_Blend // 5 @@ -1102,7 +1102,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_EFFECT(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_EFFECT(); } pass EffectPass_AlphaBlend_Cull // 6 @@ -1111,7 +1111,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_EFFECT(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_EFFECT(); } pass EffectPass_Blend_Cull // 7 @@ -1120,7 +1120,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_EFFECT(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_EFFECT(); } pass CAPTUREDMODELPASS // 8 @@ -1129,7 +1129,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_CAPTUREDMODEL(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_CAPTUREDMODEL(); } pass BlurPass // 9 @@ -1138,7 +1138,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_BLUR(); } pass UVMovePass @@ -1147,7 +1147,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_EFFECT(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_EFFECT_UVMOVE(); } @@ -1157,7 +1157,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN_SELECT(); } @@ -1167,7 +1167,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_GLASS(); } @@ -1177,7 +1177,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default_OutLine_SWrite, 2); SetBlendState(BS_None, 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_MAIN(); } @@ -1187,7 +1187,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default_OutLine_SRead, 2); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_OUTLINE(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_OUTLINE(); } @@ -1197,7 +1197,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLOOM(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLOOM(); } @@ -1207,7 +1207,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_LAKE(); } @@ -1217,7 +1217,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_LAND(); } @@ -1227,7 +1227,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_NONMRO(); } @@ -1237,7 +1237,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_SPECTOR_WEAPON_MAIN(); } @@ -1247,7 +1247,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_GLASS_CUBE(); } @@ -1257,7 +1257,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_LEVIOSO(); } @@ -1267,7 +1267,7 @@ technique11 MeshTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_DECAL(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_DECAL(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index 70a64dbf2..5ae975a0e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -1550,7 +1550,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR_MESH(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN(); } //1 @@ -1560,7 +1560,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_NON_NORMALMAP(); } //2 @@ -1570,7 +1570,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR(); } //3 @@ -1580,7 +1580,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_WB_Acc, 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_NON_NORMALMAP(); } //4 @@ -1590,7 +1590,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_NON_NORMALMAP(); } //5 @@ -1600,7 +1600,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR_NOWORLD(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR(); } @@ -1611,7 +1611,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); 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_BLEND(); } //7 @@ -1621,7 +1621,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); 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_BLEND(); } //8 @@ -1631,7 +1631,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); 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(); } //9 @@ -1641,7 +1641,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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(); } @@ -1652,7 +1652,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR_NOEMISSIVE(); } @@ -1664,7 +1664,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR_NOWORLD(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR_NOEMISSIVE(); } @@ -1675,7 +1675,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_WB_Acc, 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_WEIGHTED_FOR_BLEND(); } @@ -1687,7 +1687,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } @@ -1698,7 +1698,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_WB_Acc, 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_NON_NORMALMAP(); } @@ -1709,7 +1709,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_WB_Acc, 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_NO_DEPTH_COMPARE(); } //16 @@ -1719,7 +1719,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_WB_Acc, 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_DISTORTION(); } @@ -1730,7 +1730,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_WB_Acc, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_NONPOS(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } @@ -1741,7 +1741,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR_NOPOS(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR(); } @@ -1752,7 +1752,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_BULR_MESH, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR_MESH(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR_MESH(); } @@ -1763,7 +1763,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR(); } @@ -1774,7 +1774,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_BLUR(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_BLUR_NOEMISSIVE(); } @@ -1785,7 +1785,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); 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(); } //23 @@ -1795,7 +1795,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_NO_POS(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN(); } //24 @@ -1805,7 +1805,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_NO_POS(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_NON_NORMALMAP(); } @@ -1816,7 +1816,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); 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_DECAL(); } @@ -1827,7 +1827,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_WB_Acc, 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_DECAL_WB(); } @@ -1838,7 +1838,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); 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_DECAL_BLUR(); } //28 @@ -1848,7 +1848,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_Blend, 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_BLEND(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl index 078ca29b8..ff9f887ae 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl @@ -237,7 +237,7 @@ technique11 NorTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } pass TerrainPass // 1 @@ -246,7 +246,7 @@ technique11 NorTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } pass Environment_Terrain_Pass // 2 @@ -255,7 +255,7 @@ technique11 NorTexTechnique11 SetDepthStencilState(DSS_Default_Environment_SWrite, 1); SetBlendState(BS_None, 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_MAIN_TERRAIN_ANISO(); } pass ShadowPass // 3 @@ -264,7 +264,7 @@ technique11 NorTexTechnique11 SetDepthStencilState(DSS_Default_Less, 0); SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN_SHADOW(); - GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN_SHADOW(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPointParticle.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPointParticle.hlsl deleted file mode 100644 index 3c6706c19..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPointParticle.hlsl +++ /dev/null @@ -1,149 +0,0 @@ -#include "Engine_Shader_Defines.hlsli" - -matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix; - -float g_fDeltaU; -float g_fDeltaV; -uint g_iIndexU; -uint g_iIndexV; - -Texture2D g_DiffuseTexture; -Texture2D g_MaskingTexture; -Texture2D g_NoiseTexture; -Texture2D g_DisolveTexture; -vector g_vCamPosition; - - -struct VS_IN -{ - float3 vPosition : POSITION; - - row_major float4x4 TransformMatrix : WORLD; - - float2 vLifeTime : TEXCOORD0; -}; - -struct VS_OUT -{ - float4 vPosition : POSITION; - float fSize : PSIZE; - float2 vLifeTime : TEXCOORD0; -}; - -VS_OUT VS_MAIN(VS_IN In) -{ - VS_OUT Out = (VS_OUT)0; - - vector vPosition = mul(vector(In.vPosition, 1.f), In.TransformMatrix); - - Out.vPosition = mul(vPosition, g_WorldMatrix); - Out.fSize = length(In.TransformMatrix._11_12_13); - Out.vLifeTime = In.vLifeTime; - - return Out; -} - -struct GS_IN -{ - float4 vPosition : POSITION; - float fSize : PSIZE; - float2 vLifeTime : TEXCOORD0; -}; - -struct GS_OUT -{ - float4 vPosition : SV_POSITION; - float2 vTexcoord : TEXCOORD0; - float2 vLifeTime : TEXCOORD1; -}; - -//GS_MAIN(triangle GS_INIn[3]) -//GS_MAIN(line GS_IN In[2]) - -[maxvertexcount(6)] -void GS_MAIN(point GS_IN In[1], inout TriangleStream OutStream) -{ - GS_OUT Out[4]; - - float3 vLook = (g_vCamPosition - In[0].vPosition).xyz; - float3 vRight = normalize(cross(float3(0.f, 1.f, 0.f), vLook)) * In[0].fSize * 0.5f; - float3 vUp = normalize(cross(vLook, vRight)) * In[0].fSize * 0.5f; - - - matrix matVP = mul(g_ViewMatrix, g_ProjMatrix); - - Out[0].vPosition = mul(float4(In[0].vPosition.xyz + vRight + vUp, 1.f), matVP); - Out[0].vTexcoord = float2(0.f, 0.f); - Out[0].vLifeTime = In[0].vLifeTime; - - Out[1].vPosition = mul(float4(In[0].vPosition.xyz - vRight + vUp, 1.f), matVP); - Out[1].vTexcoord = float2(1.f, 0.f); - Out[1].vLifeTime = In[0].vLifeTime; - - Out[2].vPosition = mul(float4(In[0].vPosition.xyz - vRight - vUp, 1.f), matVP); - Out[2].vTexcoord = float2(1.f, 1.f); - Out[2].vLifeTime = In[0].vLifeTime; - - Out[3].vPosition = mul(float4(In[0].vPosition.xyz + vRight - vUp, 1.f), matVP); - Out[3].vTexcoord = float2(0.f, 1.f); - Out[3].vLifeTime = In[0].vLifeTime; - - - OutStream.Append(Out[0]); - OutStream.Append(Out[1]); - OutStream.Append(Out[2]); - OutStream.RestartStrip(); - - OutStream.Append(Out[0]); - OutStream.Append(Out[2]); - OutStream.Append(Out[3]); - OutStream.RestartStrip(); -} - -/* 출력된 정점 위치벡터의 w값으로 모든 성분을 나눈다 -> 투영스페이스로 변환 */ -/* 정점의 위치에 대해서 뷰포트 변환을 수행한다 */ -/* 정점의 모든 정보를 보간하여 픽셀을 만든다. -> 래스터라이즈 */ - -struct PS_IN -{ - float4 vPosition : SV_POSITION; - float2 vTexcoord : TEXCOORD0; - float2 vLifeTime : TEXCOORD1; -}; - -struct PS_OUT -{ - float4 vColor : SV_TARGET0; -}; - - - -/* 픽셀 쉐이더 : 픽셀의 최종적인 색을 결정하낟. */ -PS_OUT PS_MAIN(PS_IN In) -{ - PS_OUT Out = (PS_OUT)0; - - float2 vMovedUV = Get_MovedUV(In.vTexcoord, g_fDeltaU, g_fDeltaV, g_iIndexU, g_iIndexV); - - vector vDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vMovedUV); - vector vMask = g_MaskingTexture.Sample(DefaultSampler, In.vTexcoord); - vector vDisolve = g_DisolveTexture.Sample(DefaultSampler, In.vTexcoord); - - vDiffuse.a = saturate(vDiffuse.a * vMask.r - vDisolve.r * (2.f * In.vLifeTime.x / In.vLifeTime.y)); - Out.vColor = vDiffuse; - return Out; -} - -technique11 DefaultTechnique -{ - pass Explosion - { - SetRasterizerState(RS_Nocull); - SetDepthStencilState(DSS_Effect, 0); - SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); - VertexShader = compile vs_5_0 VS_MAIN(); - GeometryShader = compile gs_5_0 GS_MAIN(); - PixelShader = compile ps_5_0 PS_MAIN(); - } - -} diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl index ef6284389..cd5599a57 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl @@ -114,7 +114,7 @@ technique11 NorTechnique11 SetDepthStencilState(DSS_Occlusion, 0); SetBlendState(BS_WhiteMask, 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_MAIN(); } @@ -124,7 +124,7 @@ technique11 NorTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_DEBUG(); } @@ -134,7 +134,7 @@ technique11 NorTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_DECAL(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl index 82fa5d8df..ac71d2a26 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl @@ -437,7 +437,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } @@ -447,7 +447,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); 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_MAIN(); } @@ -457,7 +457,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_UIBlend, 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_MAIN(); } @@ -467,7 +467,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); 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_UVMove(); } @@ -477,7 +477,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_Trail(); } @@ -487,7 +487,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Effect, 0); 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_BLEND(); } @@ -497,7 +497,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Effect, 0); SetBlendState(BS_WB_Acc, 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_WEIGHTED_FOR_BLEND(); } @@ -507,7 +507,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Effect, 0); 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_TRAIL_BLUR(); } @@ -518,7 +518,7 @@ technique11 PosTexTechnique11 SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_Blend, 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_TRAIL_BLOOM(); } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl index 49703d64a..641a31f5a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl @@ -164,7 +164,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } @@ -174,7 +174,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN_LIGHT(); } @@ -184,7 +184,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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(); } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl index 21cec3e50..8f140f9ab 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl @@ -77,7 +77,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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_MAIN(); } diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index 0c4c4c439..f6306c34a 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -773,12 +773,6 @@ call Update_Shaders.bat Effect 5.0 - - Effect - 5.0 - Effect - 5.0 - Effect 5.0 diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index 3d218f82e..d92c55cdf 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -747,7 +747,7 @@ {d5746edc-1d52-42a0-8af3-3badc74ff45b} - + {d26ffa70-5843-4e91-8a54-907abcc35a77} @@ -2315,9 +2315,6 @@ 99.Define\SHADER - - 99.Define\SHADER - 99.Define\SHADER diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index eaea6d429..9a4d4c9bd 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -401,12 +401,6 @@ HRESULT CLoader::Loading_For_Logo() return E_FAIL; } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_PARTICLE, - CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPointParticle.hlsl"), - VTX_POS_INSTANCE_PARTICLE::Elements, VTX_POS_INSTANCE_PARTICLE::iNumElements)))) { - return E_FAIL; - } - m_strMessage = TEXT("Prototype Loading.."); if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDummyRect::Create(m_pDevice, m_pContext)))) { diff --git a/Jusin154_Team3D/Editor/Public/Editor_Macro.h b/Jusin154_Team3D/Editor/Public/Editor_Macro.h index a030ea613..dd844afd0 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Macro.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Macro.h @@ -15,7 +15,6 @@ namespace Editor { #define FX_POSTEX TEXT("FX_POSTEX") #define FX_NORTEX TEXT("FX_NORTEX") #define FX_CELL TEXT("FX_CELL") -#define FX_PARTICLE TEXT("FX_PARTICLE") #define FX_INSTANCE_MODEL TEXT("FX_INSTANCE_MODEL") #define FX_INSTANCE_PROP_MODEL TEXT("FX_INSTANCE_PROP_MODEL") #define FX_UIEDITOR TEXT("FX_UIEDITOR") diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Blur.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Blur.hlsl index cf3b016a3..df2c4ded6 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Blur.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Blur.hlsl @@ -158,7 +158,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_X(); } @@ -168,7 +168,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_Y(); } @@ -178,7 +178,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_COMBINED(); } diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Cell.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Cell.hlsl index 22d06480f..4d9da49c3 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Cell.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Cell.hlsl @@ -55,7 +55,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default, 0); SetBlendState(BS_None, 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_MAIN(); } diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 811482993..80babe0fc 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -1340,7 +1340,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_DEBUG(); } @@ -1350,7 +1350,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_DIRECTIONAL(); } @@ -1360,7 +1360,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_POINT(); } @@ -1370,7 +1370,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_COMBINED(); } @@ -1380,7 +1380,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_BLUR_X(); } @@ -1390,7 +1390,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_MAIN_SPOT(); } @@ -1400,7 +1400,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_UPSAMPLE(); } pass PS_MAIN_BLOOM_BLUR_XPASS // 7 @@ -1409,7 +1409,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_BLUR_X(); } pass PS_MAIN_BLOOM_BLUR_COMBINEPASS // 8 @@ -1418,7 +1418,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_BLUR_COMBINE(); } @@ -1428,7 +1428,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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(); } @@ -1438,7 +1438,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_ACCUM(); } @@ -1448,7 +1448,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_Blend, 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_BLOOM_FINISH(); } pass BlurX_ENV_Pass // 12 @@ -1457,7 +1457,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_BLUR_X_ENV(); } pass PostCombinedPass // 13 @@ -1466,7 +1466,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_Default_Environment_SRead, 1); SetBlendState(BS_None, 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_MAIN_POSTCOMBINED(); } @@ -1476,7 +1476,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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_MAIN_FOG(); } @@ -1486,7 +1486,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_TONE_MAPPING(); } @@ -1496,7 +1496,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_SSAO_AMBIENT_OCCLUSION(); } @@ -1506,7 +1506,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_SSAO_BLUR(); } @@ -1516,7 +1516,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR(); } pass DownSamplePass // 19 @@ -1525,7 +1525,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_DOWNSAMPLE(); } pass MotionBlurTileSamplePass // 20 @@ -1534,7 +1534,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR_TILESAMPLE(); } pass MotionBlurTentSamplePass // 21 @@ -1543,7 +1543,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MOTIONBLUR_TENTSAMPLE(); } pass PrintToBackBufferPass // 22 @@ -1552,7 +1552,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN_PRINT(); } } diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl index 4a649c8ad..2c922d1ea 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Distortion.hlsl @@ -93,7 +93,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); SetBlendState(BS_None, 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_MAIN(); } diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl index 21cec3e50..8f140f9ab 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_WeightBlend.hlsl @@ -77,7 +77,7 @@ technique11 DefaultTechnique SetDepthStencilState(DSS_None, 0); 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_MAIN(); } diff --git a/Jusin154_Team3D/Engine/Private/Material.cpp b/Jusin154_Team3D/Engine/Private/Material.cpp index f432e661c..81210fb1d 100644 --- a/Jusin154_Team3D/Engine/Private/Material.cpp +++ b/Jusin154_Team3D/Engine/Private/Material.cpp @@ -945,18 +945,18 @@ CMaterial* CMaterial::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex HRESULT CMaterial::UnbindAllMaterialTextures(CShader* shader) { - if (shader == nullptr) { - return E_FAIL; - } + //if (shader == nullptr) { + // return E_FAIL; + //} - if (FAILED(shader->Bind_SRV("g_DiffuseTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_NormalTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_AmbientTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_EmissiveTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_AmbientOcclusionTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_TransmissionTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_SurfaceParamsTexture", nullptr))) { return E_FAIL; } - if (FAILED(shader->Bind_SRV("g_UnknownTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_DiffuseTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_NormalTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_AmbientTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_EmissiveTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_AmbientOcclusionTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_TransmissionTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_SurfaceParamsTexture", nullptr))) { return E_FAIL; } + //if (FAILED(shader->Bind_SRV("g_UnknownTexture", nullptr))) { return E_FAIL; } return S_OK; } diff --git a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp index c627f32db..9324c7311 100644 --- a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp +++ b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp @@ -225,7 +225,6 @@ void CMotion_Trail::Free() SAFE_RELEASE(m_pClearBuffer); } } -#ifdef _DEBUG #ifdef _DEBUG void CMotion_Trail::Describe_Entity() diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index 272618b0d..f473b7c65 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -577,34 +577,19 @@ void CRenderer::Render_Fog() m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); - - { // BackBuffer - ID3D11Texture2D* pBackBuffer = nullptr; - m_pGameInstance->Get_BackBufferPTR(&pBackBuffer); - m_pGameInstance->Copy_RenderTargetFrom(TEXT("Target_Fog"), pBackBuffer); - SAFE_RELEASE(pBackBuffer); - } - m_pShader->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)); m_pShader->Bind_RawValue("g_fDepthPackExponent", m_pGameInstance->Get_DepthPackExponentPtr(), sizeof(_float)); - //if (FAILED(m_pGameInstance->Bind_FogValue(m_pShader))) { // 여기서 포그에서 쓰는 상수들 바인딩 해줌 - // assert(false); - //} + if (FAILED(m_pGameInstance->Bind_FogValue(m_pShader))) { // 여기서 포그에서 쓰는 상수들 바인딩 해줌 + assert(false); + } if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShader, "g_DepthTexture"))) { return; } - if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Fog"), m_pShader, "g_OriginalTexture"))) { - return; - } - - if (FAILED(m_pShader->Bind_SRV("g_VolumeTexture", m_pGameInstance->Get_VolumeSRV()))) - return; m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::PRINT_BACKBUFFER)); - m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); COMPUTE_TIMEDELTA("Timer_Render_Fog"); diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h index 7cb16c21e..c5a6da3ed 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h @@ -14,7 +14,7 @@ enum class STAT { NAME, CURRENTHP, MAXHP, TARGETHP, MELEE, MAGIC, DEFENSE, SPEED enum class SHADOW : _ubyte { SHADOW_NEAR = 1 << 0 , SHADOW_MIDDLE = 1 << 1 - , SHADOW_FAR = 1 << 2 + , SHADOW_FAR = 1 << 2 // Far는 현재 미사용 , SHADOW_PRE = 1 << 3 //////////////// , END = 3 // 케스케이드 셰도우 한정