diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index 0bc2ef9aa..3aa2970e7 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -7,6 +7,18 @@ NS_BEGIN(Client) class CPlayer final : public CUnit { + enum class PLAYER_MESH_ORDER { + ETHEREAL_HOT_SPINE, + ETHEREAL_HOT_WINGS, + ETHEREAL_HOT_ARMS, + ETHEREAL_HOT_SHELL, + ETHEREAL_AURA, + ETHEREAL_EYES, + ETHEREAL_WINGS, + WINGS, + BODY, + END + }; public: typedef struct tagPlayerInitDesc { _float4 vPos; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin new file mode 100644 index 000000000..53d16ba5b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dd078d8b7936f33268b391ae44301b3bdb1f05804fe7366b97e3fb3fc8a4d87 +size 10432125 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx new file mode 100644 index 000000000..e6634d467 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:408c51a4ea508f39f14c73fb57c7dad5d19fa2c19ec9fe488357d025272eb1c7 +size 6241628 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.xml new file mode 100644 index 000000000..17beac3ad --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.xml @@ -0,0 +1,379 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_D.png new file mode 100644 index 000000000..0d51ee046 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_N.dds new file mode 100644 index 000000000..3163e2e02 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory02_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory_SRXO.dds new file mode 100644 index 000000000..096e38ffc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Adult_F_Arms_Ivory_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Cav_Spid_ThickWeb_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Cav_Spid_ThickWeb_N.dds new file mode 100644 index 000000000..4a77ba948 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Cav_Spid_ThickWeb_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_IrisTint_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_IrisTint_MSK.dds new file mode 100644 index 000000000..ab2620bf1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_IrisTint_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eyelash_A.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eyelash_A.dds new file mode 100644 index 000000000..f138faf0d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Eyelash_A.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_D.dds new file mode 100644 index 000000000..4e9bdabae Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_DAO_MSK.dds new file mode 100644 index 000000000..4de9830a5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_Rainbow_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_Rainbow_D.dds new file mode 100644 index 000000000..f3ab80d81 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_Rainbow_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_THV_MSK.dds new file mode 100644 index 000000000..8a210875e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_TVOA_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_TVOA_MSK.dds new file mode 100644 index 000000000..aa9cfad79 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Hair_STUHair18_PrincessLong_TVOA_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_D.dds new file mode 100644 index 000000000..830c0922b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_N.dds new file mode 100644 index 000000000..4bf3e4537 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_SRO.dds new file mode 100644 index 000000000..a0d2e0b54 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_D.dds new file mode 100644 index 000000000..68e3b3514 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_N.dds new file mode 100644 index 000000000..d30473e87 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_SRO.dds new file mode 100644 index 000000000..7fe6c2d27 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Shoes_DarkArts01_Short_RonanAvatar_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_D.dds new file mode 100644 index 000000000..0f81f12af Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_N.dds new file mode 100644 index 000000000..6395c9cc8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_SRO.dds new file mode 100644 index 000000000..3bb71ecde Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_F_Upp_StuUni01_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_EyeShadow_A.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_EyeShadow_A.dds new file mode 100644 index 000000000..0aaa725e1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_EyeShadow_A.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_D.dds new file mode 100644 index 000000000..6e3639535 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Fur_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Fur_D.png new file mode 100644 index 000000000..fb2900230 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Fur_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Glow_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Glow_MSK.dds new file mode 100644 index 000000000..cec891d0c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_Glow_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_MRO.dds new file mode 100644 index 000000000..371a6bda7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_N.dds new file mode 100644 index 000000000..f1271ca8c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_HUM_M_Robe_RelicRobeGry_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_D.dds new file mode 100644 index 000000000..9cefbede6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_E.dds new file mode 100644 index 000000000..6886922fb Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_E.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_MRO.dds new file mode 100644 index 000000000..8dd44d423 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Poltergeist_Eye_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_YF_HeadBase02_Ivory_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_YF_HeadBase02_Ivory_SRXO.dds new file mode 100644 index 000000000..324f72cc5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_YF_HeadBase02_Ivory_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Generic00_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Generic00_N.dds new file mode 100644 index 000000000..2c9251211 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Generic00_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Ivory_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Ivory_D.png new file mode 100644 index 000000000..588f23307 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/T_Young_F_Head_Ivory_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/VFX_T_SkinBurn_Emiss_BPF_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/VFX_T_SkinBurn_Emiss_BPF_D.dds new file mode 100644 index 000000000..4136a9832 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/VFX_T_SkinBurn_Emiss_BPF_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 4d6051c93..2fc5db15f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -1167,6 +1167,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In) return Out; } + PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In) { PS_OUT_BACKBUFFER Out; @@ -1276,37 +1277,8 @@ PS_OUT_SSAO_BLUR PS_SSAO_BLUR(PS_IN In) return Out; } -struct PS_OUT_DECAL -{ - float4 vDiffuse : SV_TARGET0; -}; -PS_OUT_DECAL PS_DECAL(PS_IN In) -{ - PS_OUT_DECAL Out; - float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, In.vTexcoord); - - float fViewZ = vDepthDesc.y * g_fFar; - - - float4 vPosition, vPreShadowPosition; - - /* (로컬위치 * 월드 * 뷰 * 투영 / w) -> (로컬위치 * 월드) */ - vPosition.x = In.vTexcoord.x * 2.f - 1.f; - vPosition.y = In.vTexcoord.y * -2.f + 1.f; - vPosition.z = vDepthDesc.x; - vPosition.w = 1.f; - - vPosition = vPosition * fViewZ; - - vPosition = mul(vPosition, g_invmatProj); - vPosition = mul(vPosition, g_invMatView); - vPreShadowPosition = vPosition; - - - return Out; -} technique11 DefaultTechnique { pass DebugPass // 0 @@ -1521,14 +1493,4 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MOTIONBLUR_TENTSAMPLE(); } - - pass DecalPass // 22 - { - SetRasterizerState(RS_Default); - 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_DECAL(); - } } 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 4a1c9a8a7..672e28f4c 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 @@ -18,6 +18,7 @@ int g_bDisolve; float4 g_vDisolveEdgeColor; float4 g_vCamPosition; float4 g_vOutLineColor; +float3 g_vBlendColor; float g_fFar; float g_fOutLineScale; float g_fOutLineThickness; @@ -33,11 +34,11 @@ Texture2D g_EmissiveTexture : register(t03); Texture2D g_HeightTexture : register(t04); Texture2D g_NormalTexture : register(t05); Texture2D g_ShininessTexture : register(t06); -Texture2D g_NormalBlendTexture : register(t07); +Texture2D g_NormalBlendTexture : register(t07); // OPACITY Texture2D g_SROBlendTexture : register(t08); Texture2D g_LightMapTexture : register(t09); Texture2D g_ReflectionTexture : register(t10); -Texture2D g_DiffuseBlend : register(t11); +Texture2D g_DiffuseBlend : register(t11);// BASE_COLOR Texture2D g_NormalCameraTexture : register(t12); Texture2D g_EmissionColorTexture : register(t13); Texture2D g_MetalnessTexture : register(t14); @@ -45,7 +46,7 @@ Texture2D g_Diffuse_RoughnessTexture : register(t15); Texture2D g_AmbientOcclusionTexture : register(t16); Texture2D g_UnknownTexture : register(t17); Texture2D g_SheenTexture : register(t18); -Texture2D g_ClearcoadTexture : register(t19); +Texture2D g_ClearcoatTexture : register(t19); Texture2D g_TransmissionTexture : register(t20); Texture2D g_Maya_BaseTexture : register(t21); Texture2D g_Maya_SpecularTexture : register(t22); @@ -56,6 +57,9 @@ Texture2D g_AnisotropyTexture : register(t25); StructuredBuffer g_BoneBuffer : register(t26); StructuredBuffer g_PrevBoneBuffer : register(t27); + + + Texture2D g_SurfaceParamsTexture; int g_iBinded_Texture[27]; @@ -352,7 +356,7 @@ PS_OUT PS_EYELASH_DAOTHV_ToSRO(PS_IN In) float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip); - Out.vAlbedo = float4(fDiffuseMask, fDiffuseMask, fDiffuseMask, AlphaMask); + Out.vAlbedo = float4(vBaseColor, AlphaMask); Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 源딆씠 ( 0~ 1) (In.vProjPos.w / g_fFar), // 酉??ㅽ럹?댁뒪 Z @@ -457,7 +461,7 @@ PS_OUT PS_FACIAL_HAIR_DAOTHV_ToSRO(PS_IN In) float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip); - Out.vAlbedo = float4(fDiffuseMask, fDiffuseMask, fDiffuseMask, AlphaMask); + Out.vAlbedo = float4(vBaseColor, AlphaMask); Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 源딆씠 ( 0~ 1) (In.vProjPos.w / g_fFar), // 酉??ㅽ럹?댁뒪 Z @@ -499,7 +503,7 @@ PS_OUT PS_HEAD_HAIR_DAOTHV_ToSRO(PS_IN In) float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip); - Out.vAlbedo = float4(fDiffuseMask, fDiffuseMask, fDiffuseMask, AlphaMask); + Out.vAlbedo = float4(vBaseColor, AlphaMask); Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 源딆씠 ( 0~ 1) (In.vProjPos.w / g_fFar), // 酉??ㅽ럹?댁뒪 Z @@ -781,6 +785,157 @@ PS_OUT PS_Troll_Club_DAENMROSRXO_ToMROX(PS_IN In) // SRO return Out; } +PS_OUT PS_Player_EyeLash_DAOTHV_ToSRO(PS_IN In) +{ + PS_OUT Out; + float2 uv = In.vTexcoord; + float4 vDAOColor = g_DiffuseTexture.Sample(DefaultSampler, uv); + float4 vTHVColor = g_DiffuseBlend.Sample(DefaultSampler, uv); + float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv); + float fOppacity = g_NormalBlendTexture.Sample(DefaultSampler, uv).r; + + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + float fDiffuseMask = vDAOColor.r; + float AlphaMask = vDAOColor.g; + float AoMask_Dao = vDAOColor.b; + float RootTip = vTHVColor.r; + float SpecMask = vTHVColor.g; + float AoMask_Thv = vTHVColor.b; + + float3 vColorRoot = vDAOColor * 0.6f; + float3 vColorTip = vDAOColor; + float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip); + + Out.vAlbedo = float4(vBaseColor, (1 - fOppacity)); + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), + (In.vProjPos.w / g_fFar), + (float) AI_TEXTURE_TYPE_SPECULAR / (float) AI_TEXTURE_TYPE_MAX, + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = float4(lerp(0.1f, 0.3f, SpecMask), SpecMask * 0.5f, AoMask_Dao * AoMask_Thv, 0.f); + // SRO + Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos); + return Out; +} +PS_OUT PS_Player_Eye_ToMRO(PS_IN In) +{ + PS_OUT Out; + float2 uv = In.vTexcoord; + float4 vDiffuseColor = g_DiffuseTexture.Sample(DefaultSampler, uv); + float4 vSubSurfaceColor = g_ReflectionTexture.Sample(DefaultSampler, uv); + float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv); + float4 vMROColor = g_MetalnessTexture.Sample(DefaultSampler, uv).r; + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + Out.vAlbedo = vDiffuseColor; + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), + (In.vProjPos.w / g_fFar), + (float) AI_TEXTURE_TYPE_METALNESS / (float) AI_TEXTURE_TYPE_MAX, + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = float4(vMROColor.r, vMROColor.g, vMROColor.b, 0.f); + // SRO + Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos); + return Out; +} +PS_OUT PS_Player_Robe_ToMRO(PS_IN In) +{ + PS_OUT Out; + float2 uv = In.vTexcoord; + float4 vDiffuseColor = g_DiffuseTexture.Sample(DefaultSampler, uv); + float4 vEmissive = g_EmissiveTexture.Sample(DefaultSampler, uv); + vDiffuseColor.rgb += vEmissive.r * vEmissive.g; + + float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv); + float4 vMROColor = g_MetalnessTexture.Sample(DefaultSampler, uv).r; + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + Out.vAlbedo = vDiffuseColor; + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), + (In.vProjPos.w / g_fFar), + (float) AI_TEXTURE_TYPE_METALNESS / (float) AI_TEXTURE_TYPE_MAX, + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = float4(vMROColor.r, vMROColor.g, vMROColor.b, 0.f); + // SRO + Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos); + return Out; +} +PS_OUT PS_Player_Suit_DSRON_ToSRO(PS_IN In) +{ + PS_OUT Out; + float2 uv = In.vTexcoord; + float4 vDiffuseColor = g_DiffuseTexture.Sample(DefaultSampler, uv); + float4 vSROColor = g_SpecularTexture.Sample(DefaultSampler, uv); + float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv); + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + vDiffuseColor.rgb += g_vBlendColor.rgb; + + Out.vAlbedo = vDiffuseColor; + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), + (In.vProjPos.w / g_fFar), + (float) AI_TEXTURE_TYPE_SPECULAR / (float) AI_TEXTURE_TYPE_MAX, + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = float4(vSROColor.r, vSROColor.g, vSROColor.b, 0.f); + // SRO + Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos); + return Out; +} +PS_OUT PS_Player_HairDAOTHV_ToSRO(PS_IN In) +{ + PS_OUT Out; + float2 uv = In.vTexcoord; + float4 vDAOColor = g_DiffuseTexture.Sample(DefaultSampler, uv); + float4 vHairColor = g_EmissiveTexture.Sample(DefaultSampler, uv); + float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv); + float4 vTHVColor = g_DiffuseBlend.Sample(DefaultSampler, uv); + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + float fDiffuseMask = vDAOColor.r; + float AlphaMask = vDAOColor.g; + float AoMask_Dao = vDAOColor.b; + float RootTip = vTHVColor.r; + float SpecMask = vTHVColor.g; + float AoMask_Thv = vTHVColor.b; + + float3 vColorRoot = vDAOColor * 0.6f; + float3 vColorTip = vDAOColor; + float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip); + + Out.vAlbedo = float4(vBaseColor, AlphaMask); + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), + (In.vProjPos.w / g_fFar), + (float) AI_TEXTURE_TYPE_SPECULAR / (float) AI_TEXTURE_TYPE_MAX, + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = float4(lerp(0.7f, 0.3f, SpecMask), SpecMask * 0.5f, AoMask_Dao * AoMask_Thv, 0.f); + // SRO + Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos); + return Out; +} PS_OUT_BLEND PS_Dragon_Aura(PS_IN In) { @@ -1244,4 +1399,50 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_Dragon_YellowHot(); } +//// PLAYER_ + pass PLAYER_HAIR_DAOTHV_ToSRO // 34 + { + SetRasterizerState(RS_Default); + 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 // 35 + { + SetRasterizerState(RS_Default); + 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 // 36 + { + SetRasterizerState(RS_Default); + 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 // 37 + { + SetRasterizerState(RS_Default); + 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 // 38 + { + SetRasterizerState(RS_Default); + 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_Robe_ToMRO(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index 605643140..63e9bb2e1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -21,6 +21,7 @@ float g_fOutLinePower; vector g_vCamPosition; uint g_iIndexU; uint g_iIndexV; +float2 g_vTime; float g_fDisolveRatio; float g_fUsingSurfaceParams; @@ -67,6 +68,7 @@ Texture2D g_Maya_Specular_ColorTexture; Texture2D g_Maya_Specular_RoughnessTexture; Texture2D g_AnisotropyTexture; + int g_iBinded_Texture[AI_TEXTURE_TYPE_MAX]; Texture2D g_MaskingTexture; @@ -81,6 +83,7 @@ Texture2D g_NormalSubTexture; Texture2D g_DeadDisolveTexture; Texture2D g_DepthTexture; +Texture2D g_MaskNoiseTexture; float g_fNormalValue1; float g_fNormalValue2; @@ -110,6 +113,15 @@ float4 g_vMaskColorRed; float4 g_vMaskColorGreen; float4 g_vMaskColorBlue; +float g_fFogDensity; +float g_fFogPow; +float g_fNormalThreshold; +bool g_bFogVisible; +vector g_vFogColor; + +float g_fSoftMask; +float g_fSoftMaskEdge; + struct VS_IN { float3 vPosition : POSITION; @@ -516,6 +528,29 @@ struct PS_OUT_BLUR float4 vDiffuse : SV_TARGET0; }; +PS_OUT_BLUR PS_MAIN_SKYBOX(PS_IN In) +{ + PS_OUT_BLUR Out; + + float4 vColor = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord); + + //if (0.f == g_fFogPow) + //{ + // Out.vDiffuse = vColor; + // return Out; + //} + + //vector vFinalColor; + //float fRatio; + + //fRatio = pow(1.f - saturate(exp(-1.f * g_fFar * g_fFogDensity)), g_fFogPow); + //vFinalColor = lerp(vColor, g_vFogColor, fRatio); + //vFinalColor.a = 1.f; + + Out.vDiffuse = vColor; + + return Out; +} PS_OUT_BLUR PS_MAIN_BLUR(PS_IN_BLUR In) { @@ -930,7 +965,7 @@ PS_OUT_DELCAL PS_MAIN_DECAL(PS_IN_DECAL In) clip(0.5f - ObjectAbsPos); - float2 vDecalUV = vLocalPos.xz + 0.5f; + float2 vDecalUV =( vLocalPos.xz + 0.5f) * 2.f; float4 vMaskColor = g_MaskingTexture.Sample(DefaultSampler, vDecalUV); if (vMaskColor.a < 0.2f) @@ -938,23 +973,27 @@ PS_OUT_DELCAL PS_MAIN_DECAL(PS_IN_DECAL In) discard; } + vector vNoise = g_NoiseTexture.Sample(DefaultSampler, vDecalUV + g_vTime); + float4 vSurface = g_SurfaceParamsTexture.Sample(DefaultSampler, vDecalUV); float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, vDecalUV); float fMaskWeight = vMaskColor.r + vMaskColor.g + vMaskColor.b; - float4 vDiffuseColor = vMaskColor.r * g_vMaskColorRed + + float4 vDiffuseColor = vMaskColor.r * g_vMaskColorRed * 2.f * vNoise.r + vMaskColor.g * g_vMaskColorGreen + - vMaskColor.b * g_vMaskColorBlue; - + vMaskColor.b * g_vMaskColorBlue * 2.f * vNoise.r; + vDiffuseColor /= fMaskWeight; - + + vDiffuseColor.a = max(0.001f, vDiffuseColor.a); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); - + Out.vAlbedo = vDiffuseColor; - Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.5f); + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.1f); float fSurfaceParam = g_fUsingSurfaceParams; if (true == AlmostEqual7(g_fUsingSurfaceParams, 0.f)) { @@ -996,7 +1035,7 @@ technique11 MeshTechnique11 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(); + PixelShader = compile ps_5_0 PS_MAIN_SKYBOX(); } pass ALPHABlendPass // 3 diff --git a/Jusin154_Team3D/Editor/Private/DummyDecal.cpp b/Jusin154_Team3D/Editor/Private/DummyDecal.cpp index 22b3a5a21..968125804 100644 --- a/Jusin154_Team3D/Editor/Private/DummyDecal.cpp +++ b/Jusin154_Team3D/Editor/Private/DummyDecal.cpp @@ -33,8 +33,10 @@ HRESULT CDummyDecal::Initialize(void* pArg) return E_FAIL; m_vMaskRed = _float4(1.f, 0.f, 0.f, 1.f); - m_vMaskGreen = _float4(1.f, 1.f, 1.f, 1.f); - m_vMaskBlue = _float4(1.f, 1.f, 1.f, 1.f); + m_vMaskGreen = _float4(0.f, 0.f, 0.f, 0.f); + m_vMaskBlue = _float4(1.f, 0.f, 0.f, 1.f); + + m_vUVSpeed = _float2(0.1f, 0.1f); return S_OK; } @@ -45,6 +47,9 @@ void CDummyDecal::Priority_Update(_float fTimeDelta) void CDummyDecal::Update(_float fTimeDelta) { + m_fTimeAcc.x += fTimeDelta * m_vUVSpeed.x; + m_fTimeAcc.y += fTimeDelta * m_vUVSpeed.y; + Describe_Entity(); } @@ -74,6 +79,9 @@ HRESULT CDummyDecal::Render() if (FAILED(m_pShaderCom->Bind_SRV("g_SurfaceParamsTexture", m_pSurfaceTextureCom->Get_SRV(0)))) { return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_SRV("g_NoiseTexture", m_pFadeTextureCom->Get_SRV(0)))) { + return E_FAIL; + } if (FAILED(m_pShaderCom->Begin(22))) { return E_FAIL; } @@ -103,6 +111,11 @@ HRESULT CDummyDecal::Ready_Components(void* pArg) if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Base_MRO"), reinterpret_cast(&m_pSurfaceTextureCom)))) return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Decal_Fade"), + reinterpret_cast(&m_pFadeTextureCom)))) + return E_FAIL; + /* Com_Model */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_DecalBox"), @@ -150,9 +163,9 @@ HRESULT CDummyDecal::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { return E_FAIL; } - /*if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalThreshold", &m_fNormalThreshold, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalThreshold", &m_fNormalThreshold, sizeof(_float)))) { return E_FAIL; - }*/ + } if (FAILED(m_pShaderCom->Bind_RawValue("g_fWinSizeX", &m_fWinSizeX, sizeof(_float)))) { return E_FAIL; } @@ -160,6 +173,10 @@ HRESULT CDummyDecal::Bind_ShaderResources() return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vTime", &m_fTimeAcc, sizeof(_float2)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vMaskColorRed", &m_vMaskRed, sizeof(_float4)))) { return E_FAIL; } @@ -207,6 +224,7 @@ void CDummyDecal::Free() { __super::Free(); + SAFE_RELEASE(m_pFadeTextureCom); SAFE_RELEASE(m_pMaskTextureCom); SAFE_RELEASE(m_pNormalTextureCom); SAFE_RELEASE(m_pSurfaceTextureCom); @@ -221,6 +239,7 @@ void CDummyDecal::Describe_Entity() _float fAgle = XMConvertToDegrees(m_fNormalThreshold); GUI::InputFloat("m_fNormalThreshold", &fAgle); + GUI::InputFloat2("m_fSpeed", (_float*)(&m_vUVSpeed)); GUI::ColorEdit4("Mask Red", (_float*)&m_vMaskRed); GUI::ColorEdit4("Mask Green", (_float*)&m_vMaskGreen); diff --git a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp index 8962b14c2..62f15b215 100644 --- a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp +++ b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp @@ -64,6 +64,9 @@ HRESULT CDummySkyBox::Render() return E_FAIL; } + if (FAILED(m_pGameInstance->Bind_FogValue(m_pShaderCom))) + return E_FAIL; + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::SKYBOX)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp index eb745147a..a297cbb4f 100644 --- a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp @@ -56,10 +56,8 @@ void CLevel_Logo::Update(_float fTimeDelta) } GUI::End(); #ifdef gimch - if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::EFFECT)))) + if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::MAP)))) return; - //if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::MAP)))) - // return; #endif // gimch #ifdef 기무리 if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT)))) diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index df5bf2975..45e452097 100644 --- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp @@ -48,9 +48,9 @@ HRESULT CLevel_MapViewer::Initialize() return E_FAIL; } - if (FAILED(Ready_Layer_Terrain(TEXT("Layer_Terrain")))) { - return E_FAIL; - } + //if (FAILED(Ready_Layer_Terrain(TEXT("Layer_Terrain")))) { + // return E_FAIL; + //} //if (FAILED(Ready_Layer_Land(TEXT("Layer_Land")))) { // return E_FAIL; @@ -64,9 +64,9 @@ HRESULT CLevel_MapViewer::Initialize() // return E_FAIL; //} - if (FAILED(Ready_Layer_Unified(TEXT("Layer_Unified")))) { - return E_FAIL; - } + //if (FAILED(Ready_Layer_Unified(TEXT("Layer_Unified")))) { + // return E_FAIL; + //} /*if (FAILED(Ready_Layer_Door(TEXT("Layer_Door")))) { return E_FAIL; diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 3ee9b68ef..9b020a4d4 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -2631,6 +2631,50 @@ HRESULT CLoader::Loading_For_ObjectViewer() MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(), TEXT("Prototype_Component_GerboldOlivander_Model") )); + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixIdentity(), + TEXT("Prototype_Component_Playable_Model") + )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_AvadaKedavra_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Bm_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Broom_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Lightning_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Protego_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Rct_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Sneak_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Spawn_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Spell_Learning_Model") + //)); for (auto& job : futures) { @@ -2766,6 +2810,17 @@ HRESULT CLoader::Loading_For_MapViewer() CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("C:/MeshTable/Game/Environment/Sanctum_Dungeon/Textures/Repository/T_Rift_Veins_N.dds"), 0)))) { return E_FAIL; } + /* Decal_Fade */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Decal_Fade"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("C:/MeshTable/Game/VFX/Textures/Noises/VFX_T_Noise08_D.png"), 0)))) { + return E_FAIL; + } + /* Decal_MaskNoise */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Decal_MaskNoise"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("C:/MeshTable/Game/VFX/Textures/Noises/VFX_T_TankMoteNoiseVinceTest_D.png"), 0)))) { + return E_FAIL; + } + /* Terrain_Diffuse */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"), @@ -3396,69 +3451,69 @@ if(bHogwartLoad) #pragma region DUNGEON -///* Cave Wall */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Wall", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///* Props */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Props", -// ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///* Rocks */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Cavern_Dungeon\\Mesh\\Rocks", -// ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Floors */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\ArenaFloor", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///*Sanctum_Dungeon_BoH_Area5_Scaffolding */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\BoH_Area5_Scaffolding", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Center_Structure_AnteChamber */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Center_Structure\\AnteChamber", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Center_Structure_Core */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Center_Structure\\Core", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_ConjuredDragonAttackZones */ // 바닥 충돌용 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\ConjuredDragonAttackZones", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Rock_Barriers */ -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Rock_Barriers", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///*Sanctum_Dungeon_Rock_SM_Repository_FloatingGround */ //평평한 작은돌 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\SM_Repository_FloatingGround", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///*Sanctum_Dungeon_Rock_SM_Repository_Stage3MoveableRocks*/ // 채우기용 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Stage3MoveableRocks", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -///*Sanctum_Dungeon_Rock_Interactables*/ // 입구쪽 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Interactables", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Rock_SM_Repository_BreakingRocks*/ // 큰돌 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\BreakingRocks\\LG_E", -// ".bin", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; -// -///*Sanctum_Dungeon_Rock_Main*/ // 기본 모델들 -//if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository", -// ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) -// return E_FAIL; +/* Cave Wall */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Wall", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/* Props */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Props", + ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/* Rocks */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Cavern_Dungeon\\Mesh\\Rocks", + ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Floors */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\ArenaFloor", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/*Sanctum_Dungeon_BoH_Area5_Scaffolding */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\BoH_Area5_Scaffolding", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Center_Structure_AnteChamber */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Center_Structure\\AnteChamber", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Center_Structure_Core */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Center_Structure\\Core", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_ConjuredDragonAttackZones */ // 바닥 충돌용 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\ConjuredDragonAttackZones", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Rock_Barriers */ +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Rock_Barriers", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/*Sanctum_Dungeon_Rock_SM_Repository_FloatingGround */ //평평한 작은돌 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\SM_Repository_FloatingGround", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/*Sanctum_Dungeon_Rock_SM_Repository_Stage3MoveableRocks*/ // 채우기용 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\Stage3MoveableRocks", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; +/*Sanctum_Dungeon_Rock_Interactables*/ // 입구쪽 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Interactables", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Rock_SM_Repository_BreakingRocks*/ // 큰돌 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository\\BreakingRocks\\LG_E", + ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; + +/*Sanctum_Dungeon_Rock_Main*/ // 기본 모델들 +if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Meshes\\Repository", + ".fbx", true, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL; #pragma endregion diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index d456ef461..a53443809 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -60,6 +60,8 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) //if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) // return E_FAIL; + if (FAILED(Load_MapData("Dungeon_Map_Data", L"LAYER_BACKGOURN"))) + return E_FAIL; //m_pContainer = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Building"))->Get_Object(); diff --git a/Jusin154_Team3D/Editor/Public/DummyDecal.h b/Jusin154_Team3D/Editor/Public/DummyDecal.h index fe5a9f42b..6e6f9db76 100644 --- a/Jusin154_Team3D/Editor/Public/DummyDecal.h +++ b/Jusin154_Team3D/Editor/Public/DummyDecal.h @@ -29,7 +29,10 @@ class CDummyDecal final : public CGameObject CTexture* m_pMaskTextureCom = { nullptr }; CTexture* m_pNormalTextureCom = { nullptr }; CTexture* m_pSurfaceTextureCom = { nullptr }; + CTexture* m_pFadeTextureCom = { nullptr }; + _float2 m_fTimeAcc = {}; + _float2 m_vUVSpeed = {}; _float m_fNormalThreshold = {}; _float m_fWinSizeX = {}; diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 4d6051c93..2fc5db15f 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -1167,6 +1167,7 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In) return Out; } + PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In) { PS_OUT_BACKBUFFER Out; @@ -1276,37 +1277,8 @@ PS_OUT_SSAO_BLUR PS_SSAO_BLUR(PS_IN In) return Out; } -struct PS_OUT_DECAL -{ - float4 vDiffuse : SV_TARGET0; -}; -PS_OUT_DECAL PS_DECAL(PS_IN In) -{ - PS_OUT_DECAL Out; - float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, In.vTexcoord); - - float fViewZ = vDepthDesc.y * g_fFar; - - - float4 vPosition, vPreShadowPosition; - - /* (로컬위치 * 월드 * 뷰 * 투영 / w) -> (로컬위치 * 월드) */ - vPosition.x = In.vTexcoord.x * 2.f - 1.f; - vPosition.y = In.vTexcoord.y * -2.f + 1.f; - vPosition.z = vDepthDesc.x; - vPosition.w = 1.f; - - vPosition = vPosition * fViewZ; - - vPosition = mul(vPosition, g_invmatProj); - vPosition = mul(vPosition, g_invMatView); - vPreShadowPosition = vPosition; - - - return Out; -} technique11 DefaultTechnique { pass DebugPass // 0 @@ -1521,14 +1493,4 @@ technique11 DefaultTechnique GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MOTIONBLUR_TENTSAMPLE(); } - - pass DecalPass // 22 - { - SetRasterizerState(RS_Default); - 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_DECAL(); - } }