@@ -141,6 +141,10 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
CEffectParts* pRay_G = Get_PartObject<CEffectParts>("Ray_G");
|
||||
CEffectParts* pSmoke_Black = Get_PartObject<CEffectParts>("Smoke_Black");
|
||||
|
||||
CEffectParts* pWand_Light = Get_PartObject<CEffectParts>("Wand_Light");
|
||||
|
||||
CEffectParts* pWand_Lightning_G = Get_PartObject<CEffectParts>("Wand_Lightning_G");
|
||||
|
||||
pCircle_0->Get_Component<CTransform>()->Set_State(STATE::POSITION , XMLoadFloat4(&m_vTargetPos));
|
||||
pCircle_Blur->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos));
|
||||
pHit_Light->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos));
|
||||
@@ -151,6 +155,8 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
pCircle_Blur_Big->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos));
|
||||
pHit_PT_G_Small->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos) - 1.f * XMLoadFloat3(&m_vCameraLook));
|
||||
|
||||
pWand_Light->Get_Component<CTransform>()->Set_State(STATE::POSITION, vWandPos);
|
||||
pWand_Lightning_G->Get_Component<CTransform>()->Set_State(STATE::POSITION, vWandPos);
|
||||
|
||||
pCircle_0->Set_Visible(true);
|
||||
pCircle_Blur->Set_Visible(true);
|
||||
@@ -159,14 +165,16 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
pSmoke_Black->Set_Visible(true);
|
||||
pRay_G->Set_Visible(true);
|
||||
pHit_PT_G_Small->Set_Visible(true);
|
||||
|
||||
pWand_Lightning_G->Set_Visible(true);
|
||||
|
||||
pCircle_1->Set_Visible(true);
|
||||
pCircle_Blur_Big->Set_Visible(true);
|
||||
|
||||
pWand_Light->Set_Visible(true);
|
||||
|
||||
/* RAY 월드 구성하기 */
|
||||
|
||||
_float fLength = XMVectorGetX(XMVector3Length(XMLoadFloat4(&m_vTargetPos) - vWandPos)) * 0.5f;
|
||||
_float fLength = XMVectorGetX(XMVector3Length(XMLoadFloat4(&m_vTargetPos) - vWandPos)) * 0.35f;
|
||||
|
||||
CTransform* pRay_Transform = pRay_G->Get_Component<CTransform>();
|
||||
|
||||
@@ -179,6 +187,8 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
|
||||
pRay_Transform->Set_WorldMatrix(PJ_WorldMat);
|
||||
|
||||
static_cast<CPlayer*>(m_pOwner)->Start_CameraShake(0.5f, 1.2f);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -233,11 +243,6 @@ void CAvadakedavra::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
|
||||
|
||||
|
||||
//m_pProjectile0->Set_Visible(false);
|
||||
//m_pProjectile1->Set_Visible(false);
|
||||
|
||||
///*맞는순간 위로 올리기*/
|
||||
//m_pStupefy_PJ_PT->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, 500.f, 0.f, 1.f));
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -54,19 +54,19 @@ HRESULT CAvadakedavraSide::Initialize(void* pArg)
|
||||
|
||||
m_fDuration = 3.f;
|
||||
|
||||
m_Events.emplace(1.f, [&]() {
|
||||
m_isParticleEnd = true;
|
||||
m_pWandParticle->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
|
||||
//m_Events.emplace(1.5f, [&]() {
|
||||
// m_isParticleEnd = true;
|
||||
// m_pWandParticle->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
// CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
if (pWand == nullptr)
|
||||
return;
|
||||
// if (pWand == nullptr)
|
||||
// return;
|
||||
|
||||
m_isTrailEnd = true;
|
||||
// m_isTrailEnd = true;
|
||||
|
||||
XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix());
|
||||
});
|
||||
// XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix());
|
||||
// });
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -207,7 +207,10 @@ void CAvadakedavraSide::Free()
|
||||
|
||||
void CAvadakedavraSide::Describe_Entity()
|
||||
{
|
||||
|
||||
GUI::Begin("AvrakedavraSide");
|
||||
m_pWandTrail->Describe_Entity();
|
||||
m_pWandTrail->Get_Component<CTrail>()->Describe_Entity();
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -110,6 +110,19 @@ HRESULT CEffectObject::Render_Blur()
|
||||
if (m_EffectInfo.eShaderPass == SHADER_PASS_INSTANCE_MODEL::NONPOS)
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::NONPOS_BLUR;
|
||||
|
||||
if (m_EffectInfo.eShaderPass == SHADER_PASS_INSTANCE_MODEL::WB_CULLING)
|
||||
{
|
||||
if (m_EffectInfo.isBlurNoEmissive == false)
|
||||
{
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::BLUR_CULLING;
|
||||
}
|
||||
else
|
||||
{
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::BLUR_CULLING;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++)
|
||||
{
|
||||
|
||||
@@ -962,6 +975,25 @@ HRESULT CEffectObject::Bind_ShaderResources()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isMask_G", &m_EffectInfo.isMask_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isMask_B", &m_EffectInfo.isMask_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoise_G", &m_EffectInfo.isNoise_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoise_B", &m_EffectInfo.isNoise_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDissolve_G", &m_EffectInfo.isDissolve_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDissolve_B", &m_EffectInfo.isDissolve_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (m_pDiffuse_TextureCom != nullptr)
|
||||
|
||||
@@ -153,7 +153,7 @@ void CEffectPool::Priority_Update(_float fTimeDelta)
|
||||
#if 진우
|
||||
|
||||
|
||||
(*m_EffectList[ENUM_CLASS(SKILL_TYPE::BLINK)].begin())->Describe_Entity();
|
||||
(*m_EffectList[ENUM_CLASS(SKILL_TYPE::AVADAKEDAVRA_SIDE)].begin())->Describe_Entity();
|
||||
|
||||
Describe_Entity();
|
||||
|
||||
|
||||
@@ -1606,6 +1606,8 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
#pragma endregion
|
||||
|
||||
m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
|
||||
@@ -2154,6 +2156,16 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
|
||||
});
|
||||
|
||||
Asset_FileLoad("../Bin/Resources/Models/Effect/DragonMesh", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) {
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, wstrFileName,
|
||||
CInstance_Model::Create(m_pDevice, m_pContext, pFilePath, MODEL::NONANIM, XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixIdentity(), 0))))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
});
|
||||
|
||||
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
|
||||
|
||||
#pragma region UI
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Client
|
||||
enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, ENV_TERRAIN_ANISO, SHADOW, END };
|
||||
enum class SHADER_PASS_PARTICLE { EXPLOSION, END };
|
||||
enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END };
|
||||
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, WB_CULLING, SCREEN_FX, DISTORTION, NONPOS, NONPOS_BLUR , BLUR_MESH, END};
|
||||
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, WB_CULLING, SCREEN_FX, DISTORTION, NONPOS, NONPOS_BLUR , BLUR_MESH, BLUR_CULLING, BLUR_CULLING_NO_EMISSIVE, END};
|
||||
enum class SHADER_PASS_UIEDITOR {
|
||||
DEFAULT, COLOR, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR,
|
||||
LODING, HOLD_ROTATION, MISSION, QUESTTYPE, UVMULT, NINECLICE,
|
||||
|
||||
@@ -178,8 +178,10 @@ namespace Client
|
||||
|
||||
|
||||
_bool isMotionBlur = {};
|
||||
_bool isPadding0 = {};
|
||||
_bool isPadding1 = {};
|
||||
|
||||
_bool isNoise_G = {};
|
||||
_bool isNoise_B = {};
|
||||
|
||||
_float fModelBlurIntensity = { 0.f };
|
||||
|
||||
_bool isBloom = {};
|
||||
@@ -204,7 +206,7 @@ namespace Client
|
||||
_float isLightTime = { 0.f };
|
||||
_bool isLightDissolve = {};
|
||||
|
||||
_bool isPadding2 = {};
|
||||
_bool isDissolve_G = {};
|
||||
|
||||
_float4 vDissolveColor = {};
|
||||
_float2 vDissolveColorCut = {};
|
||||
@@ -222,9 +224,9 @@ namespace Client
|
||||
_float4 vPadding5 = {};
|
||||
|
||||
_bool isRimLight = {};
|
||||
_bool isPadding3 = {};
|
||||
_bool isPadding4 = {};
|
||||
_bool isPadding5 = {};
|
||||
_bool isMask_G = {};
|
||||
_bool isMask_B = {};
|
||||
_bool isDissolve_B = {};
|
||||
|
||||
}EFFECT_INFO;
|
||||
|
||||
|
||||
@@ -8,15 +8,22 @@ 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,
|
||||
HEAD_EYE_OCC,
|
||||
HEAD_FACE,
|
||||
HEAD_TEETH,
|
||||
HEAD_EYELASH,
|
||||
HEAD_EYES,
|
||||
BODY_ARMS,
|
||||
HAIR_MAIN,
|
||||
HAIR_MAIN_CLOTH,
|
||||
LOWER,
|
||||
SHOES,
|
||||
UPPER,
|
||||
HAIR_SUB,
|
||||
HAIR_SUB_CLOTH,
|
||||
ROBE_SKIRT,
|
||||
ROBE_FUR,
|
||||
ROBE_CLOTH,
|
||||
END
|
||||
};
|
||||
public:
|
||||
|
||||
@@ -1,4 +1,149 @@
|
||||
<Material>
|
||||
<MI_HUM_N_Heads_EyeOcclusion ShaderIndex = "3" OutLineWrite="3">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="" Extension=""/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_EyeOcclusion>
|
||||
<MI_Young_F_Head ShaderIndex = "6" OutLineWrite="6">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Young_F_Head_Ivory_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_Young_F_Head_Generic00_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_YF_HeadBase02_Ivory_SRXO" Extension=".dds"/>
|
||||
</MI_Young_F_Head>
|
||||
<MI_HUM_N_Heads_Teeth ShaderIndex = "1" OutLineWrite="1">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_Head_Teeth_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_HUM_Head_Teeth_SRXO" Extension=".dds"/>
|
||||
</MI_HUM_N_Heads_Teeth>
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "36" OutLineWrite="36">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_F_Hair_STUHair18_PrincessLong_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="T_Eyelash_A" Extension=".dds"/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="T_HUM_F_Hair_STUHair18_PrincessLong_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eyelash>
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "37" OutLineWrite="37">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_Poltergeist_Eye_MRO" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eye>
|
||||
<MI_HUM_F_Body_Arms01 ShaderIndex = "6" OutLineWrite="6">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Adult_F_Arms_Ivory02_D" Extension=".png"/>
|
||||
@@ -86,7 +231,7 @@
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_ClothSim>
|
||||
<M_HUM_F_Lower_ArcanePants01_Long_RonanAvatar ShaderIndex = "0" OutLineWrite="0">
|
||||
<M_HUM_F_Lower_ArcanePants01_Long_RonanAvatar ShaderIndex = "35" OutLineWrite="35">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="T_HUM_F_Low_ArcanePants01_Long_RonanAvatar2_SRO" Extension=".dds"/>
|
||||
@@ -173,151 +318,6 @@
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_F_Upp_StuUni01>
|
||||
<MI_HUM_N_Heads_EyeOcclusion ShaderIndex = "3" OutLineWrite="3">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="" Extension=""/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_EyeOcclusion>
|
||||
<MI_Young_F_Head ShaderIndex = "6" OutLineWrite="6">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Young_F_Head_Ivory_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_Young_F_Head_Generic00_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_HUM_Head_Teeth_SRXO" Extension=".dds"/>
|
||||
</MI_Young_F_Head>
|
||||
<MI_HUM_N_Heads_Teeth ShaderIndex = "1" OutLineWrite="1">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_Head_Teeth_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_HUM_Head_Teeth_SRXO" Extension=".dds"/>
|
||||
</MI_HUM_N_Heads_Teeth>
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "36" OutLineWrite="36">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_F_Hair_STUHair18_PrincessLong_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="T_Eyelash_A" Extension=".dds"/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="T_HUM_F_Hair_STUHair18_PrincessLong_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eyelash>
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "37" OutLineWrite="37">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="T_Eye_Sclera_D" Extension=".png"/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_Poltergeist_Eye_MRO" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eye>
|
||||
<MI_HUM_M_Robe_RelicRobeGry ShaderIndex = "38" OutLineWrite="38">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_M_Robe_RelicRobeGry_D" Extension=".dds"/>
|
||||
|
||||
@@ -0,0 +1,155 @@
|
||||
#include "Engine_Shader_Defines.hlsli"
|
||||
|
||||
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
|
||||
|
||||
Texture2D g_BlurTexture;
|
||||
Texture2D g_BlurXTexture;
|
||||
|
||||
float2 g_vResolution;
|
||||
|
||||
float g_fWeights_32[32] =
|
||||
{
|
||||
0.000477, 0.000888, 0.001585, 0.002720, 0.004485, 0.007105, 0.010814, 0.015813,
|
||||
0.022216, 0.029988, 0.038893, 0.048463, 0.058021, 0.066740, 0.073759, 0.078320,
|
||||
0.079902, 0.078320, 0.073759, 0.066740, 0.058021, 0.048463, 0.038893, 0.029988,
|
||||
0.022216, 0.015813, 0.010814, 0.007105, 0.004485, 0.002720, 0.001585, 0.000888
|
||||
};
|
||||
|
||||
float g_fWeights_128[128] =
|
||||
{
|
||||
0.000209902, 0.000241594, 0.000277451, 0.000317919, 0.000363477, 0.000414637, 0.000471944, 0.000535974,
|
||||
0.000607333, 0.000686659, 0.000774615, 0.000871889, 0.00097919, 0.00109725, 0.00122679, 0.00136858,
|
||||
0.00152334, 0.00169183, 0.00187477, 0.00207285, 0.00228675, 0.0025171, 0.00276448, 0.0030294,
|
||||
0.00331231, 0.00361356, 0.00393342, 0.00427205, 0.00462949, 0.00500564, 0.0054003, 0.00581308,
|
||||
0.00624346, 0.00669075, 0.00715411, 0.0076325, 0.00812472, 0.0086294, 0.009145, 0.0096698,
|
||||
0.0102019, 0.0107393, 0.0112798, 0.0118211, 0.0123608, 0.0128962, 0.0134249, 0.0139441,
|
||||
0.0144511, 0.0149431, 0.0154174, 0.0158713, 0.0163021, 0.0167073, 0.0170844, 0.0174311,
|
||||
0.0177452, 0.0180246, 0.0182676, 0.0184726, 0.0186383, 0.0187635, 0.0188474, 0.0188895,
|
||||
|
||||
0.0188895, 0.0188474, 0.0187635, 0.0186383, 0.0184726, 0.0182676, 0.0180246, 0.0177452,
|
||||
0.0174311, 0.0170844, 0.0167073, 0.0163021, 0.0158713, 0.0154174, 0.0149431, 0.0144511,
|
||||
0.0139441, 0.0134249, 0.0128962, 0.0123608, 0.0118211, 0.0112798, 0.0107393, 0.0102019,
|
||||
0.0096698, 0.009145, 0.0086294, 0.00812472, 0.0076325, 0.00715411, 0.00669076, 0.00624346,
|
||||
0.00581308, 0.0054003, 0.00500564, 0.00462948, 0.00427205, 0.00393342, 0.00361356, 0.00331231,
|
||||
0.0030294, 0.00276448, 0.0025171, 0.00228675, 0.00207285, 0.00187477, 0.00169183, 0.00152334,
|
||||
0.00136858, 0.00122679, 0.00109725, 0.000979191, 0.000871889, 0.000774615, 0.000686658, 0.000607333,
|
||||
0.000535973, 0.000471944, 0.000414637, 0.000363477, 0.000317919, 0.000277451, 0.000241594, 0.000209902
|
||||
};
|
||||
|
||||
struct VS_IN
|
||||
{
|
||||
float3 vPosition : POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct VS_OUT
|
||||
{
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
VS_OUT VS_MAIN(VS_IN In)
|
||||
{
|
||||
VS_OUT Out;
|
||||
|
||||
matrix matWV, matWVP;
|
||||
|
||||
matWV = mul(g_WorldMatrix, g_ViewMatrix);
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
Out.vPosition = mul(vector(In.vPosition, 1.f), matWVP);
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
struct PS_IN
|
||||
{
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct PS_OUT_BLUR_X
|
||||
{
|
||||
float4 vBlurX : SV_TARGET0;
|
||||
};
|
||||
|
||||
struct PS_OUT_BLUR_Y
|
||||
{
|
||||
float4 vBlurY : SV_TARGET0;
|
||||
};
|
||||
|
||||
PS_OUT_BLUR_X PS_MAIN_BLUR_X(PS_IN In)
|
||||
{
|
||||
PS_OUT_BLUR_X Out;
|
||||
|
||||
float2 vTexcoord;
|
||||
float4 vColor = 0.f;
|
||||
|
||||
for (int i = -15; i < 16; ++i)
|
||||
{
|
||||
vTexcoord.x = In.vTexcoord.x + (float) i / g_vResolution.x * 2.f;
|
||||
vTexcoord.y = In.vTexcoord.y;
|
||||
|
||||
vColor += g_fWeights_32[i + 15] * g_BlurTexture.Sample(BorderZeroSampler, vTexcoord);
|
||||
}
|
||||
|
||||
if (vColor.a <= FLT_EPSILON5)
|
||||
discard;
|
||||
|
||||
Out.vBlurX = vColor;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT_BLUR_Y PS_MAIN_BLUR_Y(PS_IN In)
|
||||
{
|
||||
PS_OUT_BLUR_Y Out;
|
||||
|
||||
|
||||
float4 vColor = { 0.f, 0.f, 0.f , 0.f};
|
||||
|
||||
/* (로컬위치 * 월드 * 광원의 뷰 * 광원의 투영 ) -> (로컬위치 * 월드 * 광원의 뷰 * 광원의 투영 * (/w) */
|
||||
float2 vTexcoord;
|
||||
|
||||
for ( int i = -15; i < 16; ++i)
|
||||
{
|
||||
vTexcoord.x = In.vTexcoord.x;
|
||||
vTexcoord.y = In.vTexcoord.y + (float) i / g_vResolution.y * 2.f;
|
||||
|
||||
vColor += g_fWeights_32[i + 15] * g_BlurXTexture.Sample(BorderZeroSampler, vTexcoord);
|
||||
}
|
||||
|
||||
if (vColor.a <= FLT_EPSILON5)
|
||||
discard;
|
||||
|
||||
Out.vBlurY = vColor;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
|
||||
technique11 DefaultTechnique
|
||||
{
|
||||
pass BlurXPass// 4
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
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();
|
||||
}
|
||||
|
||||
pass BlurYPass // 4
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -773,26 +773,6 @@ PS_OUT_BACKBUFFER PS_MAIN_COMBINED(PS_IN In)
|
||||
float fShadowMultiplier = lerp(fMinShadowBrightness, 1.0f, saturate(fVisibilityCombined));
|
||||
|
||||
Out.vBackBuffer.rgb *= fShadowMultiplier;
|
||||
|
||||
|
||||
////////////////////////////
|
||||
// 블러 추가
|
||||
float3 vColor = { 0.f, 0.f, 0.f };
|
||||
|
||||
/* (로컬위치 * 월드 * 광원의 뷰 * 광원의 투영 ) -> (로컬위치 * 월드 * 광원의 뷰 * 광원의 투영 * (/w) */
|
||||
float2 vTexcoord;
|
||||
vTexcoord.x = (vNearShadowPos.x / vNearShadowPos.w) * 0.5f + 0.5f;
|
||||
vTexcoord.y = (vNearShadowPos.y / vNearShadowPos.w) * -0.5f + 0.5f;
|
||||
|
||||
for (int i = -63; i < 64; ++i)
|
||||
{
|
||||
vTexcoord.x = In.vTexcoord.x;
|
||||
vTexcoord.y = In.vTexcoord.y + (float) i / g_vResolution.y;
|
||||
|
||||
vColor += g_fWeights_128[i + 63] * g_BlurXTexture.Sample(BorderZeroSampler, vTexcoord).rgb;
|
||||
}
|
||||
|
||||
Out.vBackBuffer.rgb += vColor;
|
||||
Out.vEnvironment = Out.vBackBuffer;
|
||||
|
||||
return Out;
|
||||
@@ -1187,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;
|
||||
@@ -1296,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
|
||||
@@ -1541,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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -829,7 +829,7 @@ PS_OUT PS_Player_Eye_ToMRO(PS_IN In)
|
||||
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;
|
||||
float4 vMROColor = g_MetalnessTexture.Sample(DefaultSampler, uv);
|
||||
|
||||
float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord);
|
||||
float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal);
|
||||
@@ -856,7 +856,7 @@ PS_OUT PS_Player_Robe_ToMRO(PS_IN In)
|
||||
vDiffuseColor.rgb += vEmissive.r * vEmissive.g;
|
||||
|
||||
float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv);
|
||||
float4 vMROColor = g_MetalnessTexture.Sample(DefaultSampler, uv).r;
|
||||
float4 vMROColor = g_MetalnessTexture.Sample(DefaultSampler, uv);
|
||||
|
||||
float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, DefaultSampler, In.vTexcoord);
|
||||
float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal);
|
||||
@@ -905,7 +905,7 @@ 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);
|
||||
float fOppacityColor = g_NormalBlendTexture.Sample(DefaultSampler, uv).r;
|
||||
float4 vNormalColor = g_NormalTexture.Sample(DefaultSampler, uv);
|
||||
float4 vTHVColor = g_DiffuseBlend.Sample(DefaultSampler, uv);
|
||||
|
||||
@@ -923,8 +923,12 @@ PS_OUT PS_Player_HairDAOTHV_ToSRO(PS_IN In)
|
||||
float3 vColorRoot = vDAOColor * 0.6f;
|
||||
float3 vColorTip = vDAOColor;
|
||||
float3 vBaseColor = lerp(vColorRoot, vColorTip, RootTip);
|
||||
|
||||
Out.vAlbedo = float4(vBaseColor, AlphaMask);
|
||||
float fAlpha = (AlphaMask - fOppacityColor);
|
||||
if (fAlpha < 0.2f)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
Out.vAlbedo = float4(vBaseColor, fAlpha);
|
||||
Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
|
||||
Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w),
|
||||
(In.vProjPos.w / g_fFar),
|
||||
@@ -1120,7 +1124,7 @@ technique11 DefaultTechnique
|
||||
pass EYE_OCC // 3
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -89,11 +89,18 @@ bool g_isDiffuseUVMove;
|
||||
bool g_isNoiseColor;
|
||||
bool g_isNoiseAlpha;
|
||||
bool g_isNoiseUVMove;
|
||||
|
||||
bool g_isNoise_B;
|
||||
bool g_isNoise_G;
|
||||
|
||||
float4 g_vNoiseColor;
|
||||
float2 g_vNoiseUVGainAmount;
|
||||
int g_iNoiseMoveLerpOption;
|
||||
/* 마스크 */
|
||||
|
||||
bool g_isMask_G;
|
||||
bool g_isMask_B;
|
||||
|
||||
bool g_isMaskClampSample;
|
||||
bool g_isMaskUVMove;
|
||||
|
||||
@@ -115,6 +122,9 @@ bool g_isDissolveMove;
|
||||
bool g_isReverseDissolve;
|
||||
bool g_isNomalDissolve;
|
||||
|
||||
bool g_isDissolve_B;
|
||||
bool g_isDissolve_G;
|
||||
|
||||
float g_fDissolveMaskEdge;
|
||||
float g_fDissolveSoftMask;
|
||||
float g_fDissolveCutRatio;
|
||||
@@ -452,7 +462,18 @@ float4 DrawEffect(PS_IN In)
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
if (g_isNoiseAlpha)
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r);
|
||||
{
|
||||
|
||||
float fNoiseValue = vMtrlNoise.r;
|
||||
|
||||
if (g_isNoise_G == true)
|
||||
fNoiseValue = vMtrlNoise.g;
|
||||
|
||||
if (g_isNoise_B == true)
|
||||
fNoiseValue = vMtrlNoise.b;
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fNoiseValue.r);
|
||||
}
|
||||
|
||||
if (g_isNoiseColor)
|
||||
{
|
||||
@@ -506,21 +527,27 @@ float4 DrawEffect(PS_IN In)
|
||||
else
|
||||
vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vMaskTexcoord);
|
||||
|
||||
|
||||
float fMaskValue = vMtrlMask.r;
|
||||
|
||||
if (g_isMask_G == true)
|
||||
fMaskValue = vMtrlMask.g;
|
||||
|
||||
if (g_isMask_B == true)
|
||||
fMaskValue = vMtrlMask.b;
|
||||
|
||||
float fSoftMask;
|
||||
|
||||
if (g_fSoftMask > FLT_EPSILON5)
|
||||
fSoftMask = saturate((vMtrlMask.r - g_fSoftMaskEdge) * g_fSoftMask);
|
||||
fSoftMask = saturate((fMaskValue - g_fSoftMaskEdge) * g_fSoftMask);
|
||||
else
|
||||
fSoftMask = vMtrlMask.r;
|
||||
fSoftMask = fMaskValue;
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fSoftMask);
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
vMtrlMask.r = 1.f;
|
||||
}
|
||||
|
||||
@@ -570,12 +597,21 @@ float4 DrawEffect(PS_IN In)
|
||||
vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
/* */
|
||||
|
||||
float fDissolveValue = vMtrlDissolve.r;
|
||||
|
||||
if (g_isDissolve_G == true)
|
||||
fDissolveValue = vMtrlDissolve.g;
|
||||
|
||||
if (g_isDissolve_B == true)
|
||||
fDissolveValue = vMtrlDissolve.b;
|
||||
|
||||
float fSoftDissolve;
|
||||
|
||||
if (g_fDissolveSoftMask > FLT_EPSILON5)
|
||||
fSoftDissolve = saturate((vMtrlDissolve.r - g_fDissolveMaskEdge) * g_fDissolveSoftMask);
|
||||
fSoftDissolve = saturate((fDissolveValue - g_fDissolveMaskEdge) * g_fDissolveSoftMask);
|
||||
else
|
||||
fSoftDissolve = vMtrlDissolve.r;
|
||||
fSoftDissolve = fDissolveValue;
|
||||
|
||||
vMtrlDissolve.r = fSoftDissolve;
|
||||
|
||||
@@ -789,6 +825,7 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In)
|
||||
|
||||
vMtrlDiffuse += RimLight(In);
|
||||
|
||||
|
||||
Out = BlendedWeight(vMtrlDiffuse, In.vProjPos.w);
|
||||
|
||||
return Out;
|
||||
@@ -919,6 +956,8 @@ PS_BLUR_OUT PS_BLUR(PS_IN In)
|
||||
|
||||
vMtrlDiffuse = SoftEffect(In, vMtrlDiffuse);
|
||||
|
||||
vMtrlDiffuse.rgb += EmissiveDraw(In, vMtrlDiffuse).rgb;
|
||||
|
||||
vMtrlDiffuse.a *= 5.f;
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a);
|
||||
@@ -1202,7 +1241,7 @@ technique11 DefaultTechnique
|
||||
pass BLOOM
|
||||
{
|
||||
SetRasterizerState(RS_Nocull);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
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;
|
||||
@@ -1330,6 +1369,27 @@ technique11 DefaultTechnique
|
||||
PixelShader = compile ps_5_0 PS_BLUR_MESH();
|
||||
}
|
||||
|
||||
//20
|
||||
pass Blur_Culling
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
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();
|
||||
}
|
||||
|
||||
//21
|
||||
pass Blur_Culling_No_Emissive
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 950 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 358 KiB |
|
After Width: | Height: | Size: 181 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 1007 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 779 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 458 KiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 274 KiB |
|
Before Width: | Height: | Size: 303 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
@@ -88,7 +88,7 @@ void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CCamPosition_Shoulder::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->Key_Up(DIK_INSERT)) {
|
||||
if (m_pGameInstance->Key_Down(DIK_INSERT)) {
|
||||
m_pBinded_Camera->Toggle_Priority();
|
||||
}
|
||||
if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
|
||||
|
||||
@@ -14,6 +14,7 @@ CCamera_Debug::CCamera_Debug(const CCamera_Debug& rhs)
|
||||
|
||||
void CCamera_Debug::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, false);
|
||||
if (false == m_bActive) {
|
||||
return;
|
||||
}
|
||||
@@ -73,7 +74,6 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta)
|
||||
}
|
||||
__super::Bind_Matrices();
|
||||
|
||||
m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, false);
|
||||
}
|
||||
|
||||
void CCamera_Debug::Update(_float fTimeDelta)
|
||||
|
||||
@@ -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<CComponent**>(&m_pSurfaceTextureCom))))
|
||||
return E_FAIL;
|
||||
/* Com_Texture */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Decal_Fade"),
|
||||
reinterpret_cast<CComponent**>(&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);
|
||||
|
||||
@@ -204,4 +204,11 @@ void CDummyObject::Describe_Entity()
|
||||
if (nullptr != m_pModelCom) {
|
||||
m_pModelCom->Describe_Entity();
|
||||
}
|
||||
if (nullptr != m_pShaderCom) {
|
||||
if (GUI::Button("RefreshShader")) {
|
||||
if (FAILED(m_pShaderCom->Shader_Refresh())) {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -435,7 +435,7 @@ void CEditEffect::Describe_Entity()
|
||||
|
||||
const char* pEffectType[] = { "EFFECT" , "TRAIL" };
|
||||
const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE",
|
||||
"BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND" , "DEPTH_STOP" , "WB_CULLING", "SCREEN_FX" , "DISTORTION" ,"NONPOS" , "NONPOS_BLUR" , "BULR_MESH"};
|
||||
"BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND" , "DEPTH_STOP" , "WB_CULLING", "SCREEN_FX" , "DISTORTION" ,"NONPOS" , "NONPOS_BLUR" , "BULR_MESH" , "BLUR_CULLING" };
|
||||
|
||||
const char* pBloomType[] = { "NONE" , "BASIC" , "MUILTY"};
|
||||
_int iCurrentItem = static_cast<_int>(m_EffectInfo.eRenderOrder);
|
||||
@@ -746,6 +746,10 @@ void CEditEffect::Describe_Entity()
|
||||
{
|
||||
if (GUI::TreeNode("MASKING"))
|
||||
{
|
||||
GUI::Checkbox("Mask G", &m_EffectInfo.isMask_G);
|
||||
GUI::SameLine();
|
||||
GUI::Checkbox("Mask B", &m_EffectInfo.isMask_B);
|
||||
|
||||
|
||||
GUI::InputFloat2("MaskUVCutting", (_float*)&m_EffectInfo.vUVMaskCutting);
|
||||
GUI::Checkbox("MaskUVMove", &m_EffectInfo.isMaskUVMove);
|
||||
@@ -797,6 +801,10 @@ void CEditEffect::Describe_Entity()
|
||||
{
|
||||
if (GUI::TreeNode("DISSOLV_TEX"))
|
||||
{
|
||||
GUI::Checkbox("Dissolve G", &m_EffectInfo.isDissolve_G);
|
||||
GUI::SameLine();
|
||||
GUI::Checkbox("Dissolve B", &m_EffectInfo.isDissolve_B);
|
||||
|
||||
GUI::Checkbox("Nomal Dissolve", &m_EffectInfo.isNomalDissolve);
|
||||
GUI::Checkbox("Reverse Dissolve", &m_EffectInfo.isReverseDissolve);
|
||||
|
||||
@@ -895,6 +903,10 @@ void CEditEffect::Describe_Entity()
|
||||
{
|
||||
if (GUI::TreeNode("NOISE"))
|
||||
{
|
||||
GUI::Checkbox("Noise G", &m_EffectInfo.isNoise_G);
|
||||
GUI::SameLine();
|
||||
GUI::Checkbox("Noise B", &m_EffectInfo.isNoise_B);
|
||||
|
||||
GUI::Checkbox("NoiseColor", &m_EffectInfo.isNoiseColor);
|
||||
GUI::Checkbox("NoiseAlpha", &m_EffectInfo.isNoiseAlpha);
|
||||
GUI::Checkbox("NoiseMove", &m_EffectInfo.isNoiseUVMove);
|
||||
|
||||
@@ -107,6 +107,20 @@ HRESULT CEffectObject::Render_Blur()
|
||||
if (m_EffectInfo.eShaderPass == SHADER_PASS_INSTANCE_MODEL::NONPOS)
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::NONPOS_BLUR;
|
||||
|
||||
if (m_EffectInfo.eShaderPass == SHADER_PASS_INSTANCE_MODEL::WB_CULLING)
|
||||
{
|
||||
if (m_EffectInfo.isBlurNoEmissive == false)
|
||||
{
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::BLUR_CULLING;
|
||||
}
|
||||
else
|
||||
{
|
||||
BlurPass = SHADER_PASS_INSTANCE_MODEL::BLUR_CULLING_NO_EMISSIVE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++)
|
||||
{
|
||||
|
||||
@@ -1039,6 +1053,27 @@ HRESULT CEffectObject::Bind_ShaderResources()
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fModelBlurIntensity", &m_EffectInfo.fModelBlurIntensity, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isMask_G", &m_EffectInfo.isMask_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isMask_B", &m_EffectInfo.isMask_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoise_G", &m_EffectInfo.isNoise_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoise_B", &m_EffectInfo.isNoise_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDissolve_G", &m_EffectInfo.isDissolve_G, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDissolve_B", &m_EffectInfo.isDissolve_B, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -65,6 +65,10 @@ void CEffect_Container::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
|
||||
HRESULT CEffect_Container::Load_Directory(const _char* pPath)
|
||||
{
|
||||
if (filesystem::exists(pPath) == false) {
|
||||
MessageBox(NULL, L"존재하지 않는 경로", L"System Message", MB_OK);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
for (const auto& file : filesystem::directory_iterator(pPath))
|
||||
{
|
||||
|
||||
@@ -235,6 +235,11 @@ HRESULT CEffect_Editor::ReSaveFile(const _char* pDirectoryPath)
|
||||
{
|
||||
_uint iIndex = {};
|
||||
|
||||
if (filesystem::exists(pDirectoryPath) == false) {
|
||||
MessageBox(NULL, L"존재하지 않는 경로", L"System Message", MB_OK);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
for (const auto& file : filesystem::directory_iterator(pDirectoryPath))
|
||||
{
|
||||
if (file.is_directory())
|
||||
|
||||
@@ -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))))
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1521,6 +1521,17 @@ HRESULT CLoader::Loading_For_Effect()
|
||||
|
||||
});
|
||||
|
||||
Asset_FileLoad("../Bin/Resources/Models/Effect/DragonMesh", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) {
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName,
|
||||
CInstance_Model::Create(m_pDevice, m_pContext, pFilePath, MODEL::NONANIM, XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixIdentity(), 0))))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
});
|
||||
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Desc_Box"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
@@ -2799,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"),
|
||||
@@ -3429,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
|
||||
|
||||
|
||||
@@ -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<CBuildingContainer>();
|
||||
|
||||
|
||||