@@ -134,6 +134,7 @@ void CCamPosition_Shoulder::Update(_float fTimeDelta)
|
|||||||
Describe_Entity();
|
Describe_Entity();
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
#ifndef _DEBUG
|
||||||
if (dynamic_cast<CPlayer*>(m_pOwner)->Get_UIState() == UI_STATE::GAMEPLAYER)
|
if (dynamic_cast<CPlayer*>(m_pOwner)->Get_UIState() == UI_STATE::GAMEPLAYER)
|
||||||
{
|
{
|
||||||
m_bMovable = true;
|
m_bMovable = true;
|
||||||
@@ -141,7 +142,7 @@ void CCamPosition_Shoulder::Update(_float fTimeDelta)
|
|||||||
else {
|
else {
|
||||||
m_bMovable = false;
|
m_bMovable = false;
|
||||||
}
|
}
|
||||||
|
#endif // _DEBUG
|
||||||
|
|
||||||
if (m_pGameInstance->Key_Up(DIK_PGDN)) {
|
if (m_pGameInstance->Key_Up(DIK_PGDN)) {
|
||||||
m_bDampingParentPos = !m_bDampingParentPos;
|
m_bDampingParentPos = !m_bDampingParentPos;
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
|||||||
_bool bLoadNPC = { true };
|
_bool bLoadNPC = { true };
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#ifdef 기무리
|
#ifdef 기무리
|
||||||
bLoadNPC = false;
|
bLoadNPC = true;
|
||||||
#endif
|
#endif
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
if (true == bLoadNPC) {
|
if (true == bLoadNPC) {
|
||||||
@@ -173,7 +173,7 @@ void CLevel_GamePlay::Update(_float fTimeDelta)
|
|||||||
#elif 진우
|
#elif 진우
|
||||||
bStartCinematic = true;
|
bStartCinematic = true;
|
||||||
#elif Bin
|
#elif Bin
|
||||||
bStartCinematic = false;
|
bStartCinematic = true;
|
||||||
#elif gimch
|
#elif gimch
|
||||||
bStartCinematic = true;
|
bStartCinematic = true;
|
||||||
#elif 나
|
#elif 나
|
||||||
|
|||||||
@@ -530,7 +530,7 @@ HRESULT CTroll::Ready_Components()
|
|||||||
Desc.fContactOffset = 0.001f;
|
Desc.fContactOffset = 0.001f;
|
||||||
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
|
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
|
||||||
Desc.bAutoStepping = { false };
|
Desc.bAutoStepping = { false };
|
||||||
Desc.fStepOffset = { 0.12f };
|
Desc.fStepOffset = { 0.02f };
|
||||||
Desc.fRadius = 1.2f;
|
Desc.fRadius = 1.2f;
|
||||||
Desc.fHeight = 1.5f;
|
Desc.fHeight = 1.5f;
|
||||||
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Troll_HitReport::Create();
|
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Troll_HitReport::Create();
|
||||||
|
|||||||
@@ -1867,5 +1867,5 @@
|
|||||||
<string tag =""/>
|
<string tag =""/>
|
||||||
</Param_12>
|
</Param_12>
|
||||||
</Socket>
|
</Socket>
|
||||||
<Trigger X="110.012" Y="16.785" Z="131.700" W="0.1"/>
|
<Trigger X="110.012" Y="16.785" Z="131.700" W="10.0"/>
|
||||||
</TrollIntro>
|
</TrollIntro>
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -209,7 +209,7 @@
|
|||||||
|
|
||||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".png"/>
|
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -485,7 +485,7 @@ float3 ReinHard_ToneMapper(float3 vColor)
|
|||||||
{
|
{
|
||||||
float k = 1.f;
|
float k = 1.f;
|
||||||
vColor = (vColor / (vColor + k));
|
vColor = (vColor / (vColor + k));
|
||||||
return pow(vColor, 1.f / 2.2f);
|
return vColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
float3 Filmic_ToneMapper(float3 vColor)
|
float3 Filmic_ToneMapper(float3 vColor)
|
||||||
@@ -501,7 +501,7 @@ float3 Filmic_ToneMapper(float3 vColor)
|
|||||||
/ (vColor * (fC * vColor + fD) + fE)
|
/ (vColor * (fC * vColor + fD) + fE)
|
||||||
);
|
);
|
||||||
|
|
||||||
return pow(vColor, 1.f / 2.2f);
|
return vColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ Texture2D g_TileVelocityTexture;
|
|||||||
|
|
||||||
int g_iMBSampleCount;
|
int g_iMBSampleCount;
|
||||||
int g_iMBMaxSampleCount;
|
int g_iMBMaxSampleCount;
|
||||||
float g_fMBBlurRadius;
|
float g_fMBMaxBlurRadius;
|
||||||
int g_iMBType;
|
int g_iMBType;
|
||||||
int g_iMBTileSize;
|
int g_iMBTileSize;
|
||||||
float g_fMBSampleBias;
|
float g_fMBSampleBias;
|
||||||
@@ -254,8 +254,8 @@ struct PS_OUT_SSAO_BLUR
|
|||||||
// g_fFar
|
// g_fFar
|
||||||
// g_fMBSampleBias
|
// g_fMBSampleBias
|
||||||
// g_fMBBlurRadius
|
// g_fMBBlurRadius
|
||||||
// g_iMBSampleCount
|
// g_iMBSampleCount 실제 현재 프레임 모션블러 픽셀
|
||||||
// g_iMBMaxSampleCount
|
// g_iMBMaxSampleCount 허용가능한 모션블러 픽셀
|
||||||
// g_iMBType
|
// g_iMBType
|
||||||
PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
||||||
{
|
{
|
||||||
@@ -269,40 +269,49 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
bool bBorrowedVelocityFromTile = false;
|
bool bBorrowedVelocityFromTile = false;
|
||||||
|
|
||||||
float2 vBlurVelo = vCenterVelo;
|
float2 vBlurVelo = vCenterVelo;
|
||||||
float2 vBlurVeloPixel = vCenterVeloPixel;
|
float2 vBlurVeloPixel = vCenterVeloPixel; // 프레임당 픽셀 이동량
|
||||||
if (length(vBlurVeloPixel) < 0.5f) {
|
|
||||||
|
float fVelocityEpsilon = 0.5f;
|
||||||
|
|
||||||
|
if (length(vBlurVeloPixel) < fVelocityEpsilon)
|
||||||
|
{
|
||||||
|
// 사실상 정지해 있던 픽셀이면 텐트벨로시티맵에서 빌려옴
|
||||||
vBlurVelo = g_TileVelocityTexture.Sample(PointSampler, vCenterUV).xy * 2.f - 1.f;
|
vBlurVelo = g_TileVelocityTexture.Sample(PointSampler, vCenterUV).xy * 2.f - 1.f;
|
||||||
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
||||||
bBorrowedVelocityFromTile = true;
|
bBorrowedVelocityFromTile = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (length(vBlurVeloPixel) < 0.5f) {
|
if (length(vBlurVeloPixel) < fVelocityEpsilon) {
|
||||||
|
// 텐트벨로시티맵에서 빌려온 픽셀또한 정지해 있었으면 원본 그대로 반환
|
||||||
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
||||||
Out.vVelocity = float2(0.5f, 0.5f);
|
Out.vVelocity = float2(0.5f, 0.5f);
|
||||||
return Out;
|
return Out;
|
||||||
}
|
}
|
||||||
|
float fPixelSpeed = length(vBlurVeloPixel);
|
||||||
|
|
||||||
float2 vBlurDirPixel = (vBlurVeloPixel / max(length(vBlurVeloPixel), FLT_EPSILON5));
|
float2 vBlurDirPixel = (vBlurVeloPixel / max(fPixelSpeed, FLT_EPSILON5));
|
||||||
int iMaxRadius = min(g_iMBSampleCount, g_iMBMaxSampleCount);
|
|
||||||
|
// 픽셀의 속도로 블러 반경을 가변적으로 돌림
|
||||||
|
float fBlurRadiusPixel = clamp(fPixelSpeed * 0.4f , 0.f, g_fMBMaxBlurRadius);
|
||||||
|
fBlurRadiusPixel = max(fBlurRadiusPixel, 1.f);
|
||||||
|
|
||||||
|
int iMaxRadius = (int)ceil(fBlurRadiusPixel);
|
||||||
|
iMaxRadius = clamp(iMaxRadius, 1, min(g_iMBSampleCount, g_iMBMaxSampleCount));
|
||||||
|
|
||||||
// 샘플링 당 이동 픽셀
|
// 샘플링 당 이동 픽셀
|
||||||
float fSamplePixelSpeed = g_fMBBlurRadius / max((float) iMaxRadius, 1.f);
|
float fSamplePixelSpeed = fBlurRadiusPixel / max((float) iMaxRadius, 1.f);
|
||||||
|
|
||||||
// 샘플유닛의 크기
|
// 샘플유닛의 크기
|
||||||
float fScalePixelToSampleUnit = (float) iMaxRadius / max(g_fMBBlurRadius, FLT_EPSILON5);
|
float fScalePixelToSampleUnit = (float) iMaxRadius / max(fBlurRadiusPixel, FLT_EPSILON5);
|
||||||
float fScaleDepth = 0.5f / max(g_fMBSampleBias, FLT_EPSILON5);
|
float fScaleDepth = 0.5f / max(g_fMBSampleBias, FLT_EPSILON5);
|
||||||
float4 vAccColorSum = float4(0.f, 0.f, 0.f, 0.f);
|
float4 vAccColorSum = float4(0.f, 0.f, 0.f, 0.f);
|
||||||
float2 vAccVeloSum = float2(0.f, 0.f);
|
float2 vAccVeloSum = float2(0.f, 0.f);
|
||||||
float fAccWeight = 0.f;
|
float fAccWeight = 0.f;
|
||||||
|
|
||||||
// 센터의 스프레드 길이
|
// 센터의 스프레드 길이
|
||||||
float2 vReferenceVelocityPixel = vCenterVeloPixel;
|
float2 vReferenceVelocityPixel = bBorrowedVelocityFromTile ? vBlurVeloPixel : vCenterVeloPixel; // 빌린놈이면 빌린 타일이 속도 레퍼런스, 아니면 센터가 속도 레퍼런스가 됨
|
||||||
if (true == bBorrowedVelocityFromTile)
|
float fCenterSpreadLengthPixel = clamp(abs(dot(vReferenceVelocityPixel, vBlurDirPixel)), 0.f, fBlurRadiusPixel); // fSampleSpreadLengthPixel 랑 비교하게 될 짝꿍
|
||||||
{
|
|
||||||
vReferenceVelocityPixel = vBlurVeloPixel;
|
|
||||||
}
|
|
||||||
float fCenterSpreadLengthPixel = clamp(abs(dot(vReferenceVelocityPixel, vBlurDirPixel)), 0.f, g_fMBBlurRadius);
|
|
||||||
|
|
||||||
[loop]
|
[loop]
|
||||||
for (int iInterval = -iMaxRadius; iInterval <= iMaxRadius; ++iInterval) {
|
for (int iInterval = -iMaxRadius; iInterval <= iMaxRadius; ++iInterval) {
|
||||||
float fOffset = (float) abs(iInterval);
|
float fOffset = (float) abs(iInterval);
|
||||||
@@ -318,7 +327,7 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
|
|
||||||
// 샘플의 스프레드 길이
|
// 샘플의 스프레드 길이
|
||||||
float fBlurSampleAccurate = abs(dot(vSampledVeloPixel, vBlurDirPixel));
|
float fBlurSampleAccurate = abs(dot(vSampledVeloPixel, vBlurDirPixel));
|
||||||
float fSampleSpreadLengthPixel = clamp(fBlurSampleAccurate, 0.f, g_fMBBlurRadius);
|
float fSampleSpreadLengthPixel = clamp(fBlurSampleAccurate, 0.f, fBlurRadiusPixel);
|
||||||
if (true == bBorrowedVelocityFromTile)
|
if (true == bBorrowedVelocityFromTile)
|
||||||
{
|
{
|
||||||
fSampleSpreadLengthPixel = max(fSampleSpreadLengthPixel, fCenterSpreadLengthPixel);
|
fSampleSpreadLengthPixel = max(fSampleSpreadLengthPixel, fCenterSpreadLengthPixel);
|
||||||
@@ -349,6 +358,7 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
Out.vVelocity = vBlurredVelo * 0.5f + 0.5f;
|
Out.vVelocity = vBlurredVelo * 0.5f + 0.5f;
|
||||||
return Out;
|
return Out;
|
||||||
}
|
}
|
||||||
|
|
||||||
PS_OUT_VELOCITYTILE PS_MOTIONBLUR_TILESAMPLE(PS_IN In)
|
PS_OUT_VELOCITYTILE PS_MOTIONBLUR_TILESAMPLE(PS_IN In)
|
||||||
{
|
{
|
||||||
PS_OUT_VELOCITYTILE Out = (PS_OUT_VELOCITYTILE) 0;
|
PS_OUT_VELOCITYTILE Out = (PS_OUT_VELOCITYTILE) 0;
|
||||||
@@ -1225,12 +1235,10 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In)
|
|||||||
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
||||||
{
|
{
|
||||||
PS_OUT_BACKBUFFER Out;
|
PS_OUT_BACKBUFFER Out;
|
||||||
vector vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
float4 vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||||
vColor *= g_fToneMappingExposure;
|
vColor *= g_fToneMappingExposure;
|
||||||
vColor = pow(vColor, 2.2f);
|
|
||||||
switch (g_iToneMappingType) {
|
switch (g_iToneMappingType) {
|
||||||
case 0:
|
case 0:
|
||||||
vColor = pow(vColor, 1.f/2.2f);
|
|
||||||
vColor /= g_fToneMappingExposure;
|
vColor /= g_fToneMappingExposure;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
@@ -75,36 +75,36 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
|||||||
|
|
||||||
#pragma region MONSTER
|
#pragma region MONSTER
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
|
// TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_GoblinMage_Model")
|
// TEXT("Prototype_Component_GoblinMage_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model")
|
// TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"),
|
//if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"),
|
||||||
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
// CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
||||||
return E_FAIL;
|
// return E_FAIL;
|
||||||
|
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_troll_Model")
|
// TEXT("Prototype_Component_troll_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin",XMMatrixScaling(0.01f,0.01f,0.01f)* XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin",XMMatrixScaling(0.01f,0.01f,0.01f)* XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_ConjuredDragon_Model")
|
// TEXT("Prototype_Component_ConjuredDragon_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
//futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
// MODEL::ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon_Anim.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon_Anim.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
@@ -130,68 +130,68 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
|||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
#pragma region ITEM
|
#pragma region ITEM
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Object/Troll_Weapon/Troll_Weapon.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Object/Troll_Weapon/Troll_Weapon.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Troll_Weapon_Model")
|
// TEXT("Prototype_Component_Troll_Weapon_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::NONANIM, "../Bin/Resources/Models/Object/Troll_Rock/Troll_Rock.bin", XMMatrixIdentity(),
|
// MODEL::NONANIM, "../Bin/Resources/Models/Object/Troll_Rock/Troll_Rock.bin", XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Troll_Rock_Model")
|
// TEXT("Prototype_Component_Troll_Rock_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::NONANIM, "../Bin/Resources/Models/Object/Troll_Rock/Troll_Rock_Big.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
// MODEL::NONANIM, "../Bin/Resources/Models/Object/Troll_Rock/Troll_Rock_Big.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Troll_Rock_Model")
|
// TEXT("Prototype_Component_Troll_Rock_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::NONANIM, "../Bin/Resources/Models/Object/Goblin_Dagger/Goblin_Dagger.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
// MODEL::NONANIM, "../Bin/Resources/Models/Object/Goblin_Dagger/Goblin_Dagger.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Dagger_Model")
|
// TEXT("Prototype_Component_Dagger_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Wand_Model")
|
// TEXT("Prototype_Component_Wand_Model")
|
||||||
));
|
//));
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Broom_Model")
|
// TEXT("Prototype_Component_Broom_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_SK_MoonTrimmerBroom_Model")
|
// TEXT("Prototype_Component_SK_MoonTrimmerBroom_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_DarkWizardBroom_Model")
|
// TEXT("Prototype_Component_DarkWizardBroom_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_WildFireBroom_Model")
|
// TEXT("Prototype_Component_WildFireBroom_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/ThestralCarriage/ThestralCarriage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/ThestralCarriage/ThestralCarriage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_ThestralCarriage_Model")
|
// TEXT("Prototype_Component_ThestralCarriage_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
|
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model")
|
// TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerB.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerB_Model")
|
// TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerB_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
futures.emplace_back(Deferred_ModelLoad(
|
||||||
@@ -255,96 +255,96 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
|||||||
|
|
||||||
#pragma region NPC
|
#pragma region NPC
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_VictorRookWood_Model")
|
// TEXT("Prototype_Component_VictorRookWood_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_ChiyoKogawa_Model")
|
// TEXT("Prototype_Component_ChiyoKogawa_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Npc_Model")
|
// TEXT("Prototype_Component_Npc_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixRotationZ(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixRotationZ(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_GerboldOlivander_Model")
|
// TEXT("Prototype_Component_GerboldOlivander_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Professor_EleazarFig_Model")
|
// TEXT("Prototype_Component_Professor_EleazarFig_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_MatildaWeasely_Model")
|
// TEXT("Prototype_Component_MatildaWeasely_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_SatyavatiShah_Model")
|
// TEXT("Prototype_Component_SatyavatiShah_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_PhineasBlack_Model")
|
// TEXT("Prototype_Component_PhineasBlack_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Ghost_Peeves_Model")
|
// TEXT("Prototype_Component_Ghost_Peeves_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_M_Student_Model")
|
// TEXT("Prototype_Component_M_Student_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_F_Student_Model")
|
// TEXT("Prototype_Component_F_Student_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Elf_Model")
|
// TEXT("Prototype_Component_Elf_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Kitchen_Female_Model")
|
// TEXT("Prototype_Component_Kitchen_Female_Model")
|
||||||
));
|
//));
|
||||||
|
//
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_BaiHowin_Model")
|
// TEXT("Prototype_Component_BaiHowin_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_GeorgeOsric_Model")
|
// TEXT("Prototype_Component_GeorgeOsric_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_Garlick_Model")
|
// TEXT("Prototype_Component_Garlick_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_DinahHecat_Model")
|
// TEXT("Prototype_Component_DinahHecat_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
//futures.emplace_back(Deferred_ModelLoad(
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||||
TEXT("Prototype_Component_MudiwaOnai_Model")
|
// TEXT("Prototype_Component_MudiwaOnai_Model")
|
||||||
));
|
//));
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
|
|||||||
@@ -485,7 +485,7 @@ float3 ReinHard_ToneMapper(float3 vColor)
|
|||||||
{
|
{
|
||||||
float k = 1.f;
|
float k = 1.f;
|
||||||
vColor = (vColor / (vColor + k));
|
vColor = (vColor / (vColor + k));
|
||||||
return pow(vColor, 1.f / 2.2f);
|
return vColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
float3 Filmic_ToneMapper(float3 vColor)
|
float3 Filmic_ToneMapper(float3 vColor)
|
||||||
@@ -501,7 +501,7 @@ float3 Filmic_ToneMapper(float3 vColor)
|
|||||||
/ (vColor * (fC * vColor + fD) + fE)
|
/ (vColor * (fC * vColor + fD) + fE)
|
||||||
);
|
);
|
||||||
|
|
||||||
return pow(vColor, 1.f / 2.2f);
|
return vColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ Texture2D g_TileVelocityTexture;
|
|||||||
|
|
||||||
int g_iMBSampleCount;
|
int g_iMBSampleCount;
|
||||||
int g_iMBMaxSampleCount;
|
int g_iMBMaxSampleCount;
|
||||||
float g_fMBBlurRadius;
|
float g_fMBMaxBlurRadius;
|
||||||
int g_iMBType;
|
int g_iMBType;
|
||||||
int g_iMBTileSize;
|
int g_iMBTileSize;
|
||||||
float g_fMBSampleBias;
|
float g_fMBSampleBias;
|
||||||
@@ -254,8 +254,8 @@ struct PS_OUT_SSAO_BLUR
|
|||||||
// g_fFar
|
// g_fFar
|
||||||
// g_fMBSampleBias
|
// g_fMBSampleBias
|
||||||
// g_fMBBlurRadius
|
// g_fMBBlurRadius
|
||||||
// g_iMBSampleCount
|
// g_iMBSampleCount 실제 현재 프레임 모션블러 픽셀
|
||||||
// g_iMBMaxSampleCount
|
// g_iMBMaxSampleCount 허용가능한 모션블러 픽셀
|
||||||
// g_iMBType
|
// g_iMBType
|
||||||
PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
||||||
{
|
{
|
||||||
@@ -269,40 +269,49 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
bool bBorrowedVelocityFromTile = false;
|
bool bBorrowedVelocityFromTile = false;
|
||||||
|
|
||||||
float2 vBlurVelo = vCenterVelo;
|
float2 vBlurVelo = vCenterVelo;
|
||||||
float2 vBlurVeloPixel = vCenterVeloPixel;
|
float2 vBlurVeloPixel = vCenterVeloPixel; // 프레임당 픽셀 이동량
|
||||||
if (length(vBlurVeloPixel) < 0.5f) {
|
|
||||||
|
float fVelocityEpsilon = 0.5f;
|
||||||
|
|
||||||
|
if (length(vBlurVeloPixel) < fVelocityEpsilon)
|
||||||
|
{
|
||||||
|
// 사실상 정지해 있던 픽셀이면 텐트벨로시티맵에서 빌려옴
|
||||||
vBlurVelo = g_TileVelocityTexture.Sample(PointSampler, vCenterUV).xy * 2.f - 1.f;
|
vBlurVelo = g_TileVelocityTexture.Sample(PointSampler, vCenterUV).xy * 2.f - 1.f;
|
||||||
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
||||||
bBorrowedVelocityFromTile = true;
|
bBorrowedVelocityFromTile = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (length(vBlurVeloPixel) < 0.5f) {
|
if (length(vBlurVeloPixel) < fVelocityEpsilon) {
|
||||||
|
// 텐트벨로시티맵에서 빌려온 픽셀또한 정지해 있었으면 원본 그대로 반환
|
||||||
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
||||||
Out.vVelocity = float2(0.5f, 0.5f);
|
Out.vVelocity = float2(0.5f, 0.5f);
|
||||||
return Out;
|
return Out;
|
||||||
}
|
}
|
||||||
|
float fPixelSpeed = length(vBlurVeloPixel);
|
||||||
|
|
||||||
float2 vBlurDirPixel = (vBlurVeloPixel / max(length(vBlurVeloPixel), FLT_EPSILON5));
|
float2 vBlurDirPixel = (vBlurVeloPixel / max(fPixelSpeed, FLT_EPSILON5));
|
||||||
int iMaxRadius = min(g_iMBSampleCount, g_iMBMaxSampleCount);
|
|
||||||
|
// 픽셀의 속도로 블러 반경을 가변적으로 돌림
|
||||||
|
float fBlurRadiusPixel = clamp(fPixelSpeed * 0.4f , 0.f, g_fMBMaxBlurRadius);
|
||||||
|
fBlurRadiusPixel = max(fBlurRadiusPixel, 1.f);
|
||||||
|
|
||||||
|
int iMaxRadius = (int)ceil(fBlurRadiusPixel);
|
||||||
|
iMaxRadius = clamp(iMaxRadius, 1, min(g_iMBSampleCount, g_iMBMaxSampleCount));
|
||||||
|
|
||||||
// 샘플링 당 이동 픽셀
|
// 샘플링 당 이동 픽셀
|
||||||
float fSamplePixelSpeed = g_fMBBlurRadius / max((float) iMaxRadius, 1.f);
|
float fSamplePixelSpeed = fBlurRadiusPixel / max((float) iMaxRadius, 1.f);
|
||||||
|
|
||||||
// 샘플유닛의 크기
|
// 샘플유닛의 크기
|
||||||
float fScalePixelToSampleUnit = (float) iMaxRadius / max(g_fMBBlurRadius, FLT_EPSILON5);
|
float fScalePixelToSampleUnit = (float) iMaxRadius / max(fBlurRadiusPixel, FLT_EPSILON5);
|
||||||
float fScaleDepth = 0.5f / max(g_fMBSampleBias, FLT_EPSILON5);
|
float fScaleDepth = 0.5f / max(g_fMBSampleBias, FLT_EPSILON5);
|
||||||
float4 vAccColorSum = float4(0.f, 0.f, 0.f, 0.f);
|
float4 vAccColorSum = float4(0.f, 0.f, 0.f, 0.f);
|
||||||
float2 vAccVeloSum = float2(0.f, 0.f);
|
float2 vAccVeloSum = float2(0.f, 0.f);
|
||||||
float fAccWeight = 0.f;
|
float fAccWeight = 0.f;
|
||||||
|
|
||||||
// 센터의 스프레드 길이
|
// 센터의 스프레드 길이
|
||||||
float2 vReferenceVelocityPixel = vCenterVeloPixel;
|
float2 vReferenceVelocityPixel = bBorrowedVelocityFromTile ? vBlurVeloPixel : vCenterVeloPixel; // 빌린놈이면 빌린 타일이 속도 레퍼런스, 아니면 센터가 속도 레퍼런스가 됨
|
||||||
if (true == bBorrowedVelocityFromTile)
|
float fCenterSpreadLengthPixel = clamp(abs(dot(vReferenceVelocityPixel, vBlurDirPixel)), 0.f, fBlurRadiusPixel); // fSampleSpreadLengthPixel 랑 비교하게 될 짝꿍
|
||||||
{
|
|
||||||
vReferenceVelocityPixel = vBlurVeloPixel;
|
|
||||||
}
|
|
||||||
float fCenterSpreadLengthPixel = clamp(abs(dot(vReferenceVelocityPixel, vBlurDirPixel)), 0.f, g_fMBBlurRadius);
|
|
||||||
|
|
||||||
[loop]
|
[loop]
|
||||||
for (int iInterval = -iMaxRadius; iInterval <= iMaxRadius; ++iInterval) {
|
for (int iInterval = -iMaxRadius; iInterval <= iMaxRadius; ++iInterval) {
|
||||||
float fOffset = (float) abs(iInterval);
|
float fOffset = (float) abs(iInterval);
|
||||||
@@ -318,7 +327,7 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
|
|
||||||
// 샘플의 스프레드 길이
|
// 샘플의 스프레드 길이
|
||||||
float fBlurSampleAccurate = abs(dot(vSampledVeloPixel, vBlurDirPixel));
|
float fBlurSampleAccurate = abs(dot(vSampledVeloPixel, vBlurDirPixel));
|
||||||
float fSampleSpreadLengthPixel = clamp(fBlurSampleAccurate, 0.f, g_fMBBlurRadius);
|
float fSampleSpreadLengthPixel = clamp(fBlurSampleAccurate, 0.f, fBlurRadiusPixel);
|
||||||
if (true == bBorrowedVelocityFromTile)
|
if (true == bBorrowedVelocityFromTile)
|
||||||
{
|
{
|
||||||
fSampleSpreadLengthPixel = max(fSampleSpreadLengthPixel, fCenterSpreadLengthPixel);
|
fSampleSpreadLengthPixel = max(fSampleSpreadLengthPixel, fCenterSpreadLengthPixel);
|
||||||
@@ -349,6 +358,7 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
|||||||
Out.vVelocity = vBlurredVelo * 0.5f + 0.5f;
|
Out.vVelocity = vBlurredVelo * 0.5f + 0.5f;
|
||||||
return Out;
|
return Out;
|
||||||
}
|
}
|
||||||
|
|
||||||
PS_OUT_VELOCITYTILE PS_MOTIONBLUR_TILESAMPLE(PS_IN In)
|
PS_OUT_VELOCITYTILE PS_MOTIONBLUR_TILESAMPLE(PS_IN In)
|
||||||
{
|
{
|
||||||
PS_OUT_VELOCITYTILE Out = (PS_OUT_VELOCITYTILE) 0;
|
PS_OUT_VELOCITYTILE Out = (PS_OUT_VELOCITYTILE) 0;
|
||||||
@@ -1225,12 +1235,10 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In)
|
|||||||
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
||||||
{
|
{
|
||||||
PS_OUT_BACKBUFFER Out;
|
PS_OUT_BACKBUFFER Out;
|
||||||
vector vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
float4 vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||||
vColor *= g_fToneMappingExposure;
|
vColor *= g_fToneMappingExposure;
|
||||||
vColor = pow(vColor, 2.2f);
|
|
||||||
switch (g_iToneMappingType) {
|
switch (g_iToneMappingType) {
|
||||||
case 0:
|
case 0:
|
||||||
vColor = pow(vColor, 1.f/2.2f);
|
|
||||||
vColor /= g_fToneMappingExposure;
|
vColor /= g_fToneMappingExposure;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
@@ -344,6 +344,9 @@ HRESULT CGameInstance::Bind_DepthStencil(CShader* pShader, const _char* pContant
|
|||||||
void CGameInstance::Get_BackBufferPTR(ID3D11Texture2D** pTexture2D)
|
void CGameInstance::Get_BackBufferPTR(ID3D11Texture2D** pTexture2D)
|
||||||
{
|
{
|
||||||
m_pGraphic_Device->Get_BackBufferPTR(pTexture2D);
|
m_pGraphic_Device->Get_BackBufferPTR(pTexture2D);
|
||||||
|
assert(false);
|
||||||
|
// 백버퍼는 DXGI_FORMAT_R8G8B8A8_UNORM임. 만약 ToneMapping 이전에 Backbuffer에 무언가 넣을려고 하는 의도였다면
|
||||||
|
// Renderer의 Target_LDRBackBuffer를 이용해야함 ( 김누리한테 말해보셈 ifdef 걸어도 됨 )
|
||||||
}
|
}
|
||||||
|
|
||||||
_float CGameInstance::Get_TimeDelta(const _wstring& strTimerTag)
|
_float CGameInstance::Get_TimeDelta(const _wstring& strTimerTag)
|
||||||
@@ -916,6 +919,10 @@ HRESULT CGameInstance::Begin_MRT_NonClear(const _wstring& strMRTTag, ID3D11Depth
|
|||||||
|
|
||||||
HRESULT CGameInstance::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV, _bool isClear)
|
HRESULT CGameInstance::Begin_MRT_Include_BackBuffer(const _wstring& strMRTTag, ID3D11DepthStencilView* pDSV, _bool isClear)
|
||||||
{
|
{
|
||||||
|
assert(false);
|
||||||
|
// 백버퍼는 DXGI_FORMAT_R8G8B8A8_UNORM임. 만약 ToneMapping 이전에 Backbuffer에 무언가 넣을려고 하는 의도였다면
|
||||||
|
// Renderer의 Target_LDRBackBuffer를 이용해야함 ( 김누리한테 말해보셈 ifdef 걸어도 됨 )
|
||||||
|
|
||||||
return m_pRenderTarget_Manager->Begin_MRT_Include_BackBuffer(strMRTTag, pDSV , isClear);
|
return m_pRenderTarget_Manager->Begin_MRT_Include_BackBuffer(strMRTTag, pDSV , isClear);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ HRESULT CGraphic_Device::Ready_SwapChain(HWND hWnd, _uint iWinCX, _uint iWinCY)
|
|||||||
SwapChain.BufferDesc.Width = iWinCX;
|
SwapChain.BufferDesc.Width = iWinCX;
|
||||||
SwapChain.BufferDesc.Height = iWinCY;
|
SwapChain.BufferDesc.Height = iWinCY;
|
||||||
|
|
||||||
SwapChain.BufferDesc.Format = DXGI_FORMAT_R16G16B16A16_FLOAT;
|
SwapChain.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
|
||||||
SwapChain.BufferDesc.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED;
|
SwapChain.BufferDesc.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED;
|
||||||
SwapChain.BufferDesc.Scaling = DXGI_MODE_SCALING_UNSPECIFIED;
|
SwapChain.BufferDesc.Scaling = DXGI_MODE_SCALING_UNSPECIFIED;
|
||||||
|
|
||||||
@@ -153,8 +153,11 @@ HRESULT CGraphic_Device::Ready_BackBufferRenderTargetView()
|
|||||||
if (FAILED(m_pSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), (void**)&pBackBufferTexture)))
|
if (FAILED(m_pSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), (void**)&pBackBufferTexture)))
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
||||||
if (FAILED(m_pDevice->CreateRenderTargetView(pBackBufferTexture, nullptr, &m_pBackBufferRTV)))
|
D3D11_RENDER_TARGET_VIEW_DESC rtvDesc = {};
|
||||||
return E_FAIL;
|
rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D;
|
||||||
|
rtvDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM_SRGB;
|
||||||
|
|
||||||
|
m_pDevice->CreateRenderTargetView(pBackBufferTexture, &rtvDesc, &m_pBackBufferRTV);
|
||||||
|
|
||||||
SAFE_RELEASE(pBackBufferTexture);
|
SAFE_RELEASE(pBackBufferTexture);
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,11 @@ void CRenderTarget::Toggle_RT_Debug()
|
|||||||
m_isDraw = !m_isDraw;
|
m_isDraw = !m_isDraw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CRenderTarget::Set_Name(const _char* pName, _uint iSize)
|
||||||
|
{
|
||||||
|
m_pRTV->SetPrivateData(WKPDID_D3DDebugObjectName, iSize, pName);
|
||||||
|
}
|
||||||
|
|
||||||
_bool CRenderTarget::Render_Debug(CShader* pShader, CVIBuffer_Rect* pVIBuffer ,_float fX, _float fY, _float fSizeX, _float fSizeY)
|
_bool CRenderTarget::Render_Debug(CShader* pShader, CVIBuffer_Rect* pVIBuffer ,_float fX, _float fY, _float fSizeX, _float fSizeY)
|
||||||
{
|
{
|
||||||
if (m_isDraw == false) {
|
if (m_isDraw == false) {
|
||||||
|
|||||||
@@ -24,6 +24,10 @@ HRESULT CRenderTarget_Manager::Add_RenderTarget(const _wstring& strRenderTargetK
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_RenderTargets.emplace(strRenderTargetKey, pRenderTarget);
|
m_RenderTargets.emplace(strRenderTargetKey, pRenderTarget);
|
||||||
|
#ifdef _DEBUG
|
||||||
|
_string strName = CMyTools::ToString(strRenderTargetKey);
|
||||||
|
pRenderTarget->Set_Name(strName.c_str(), (_uint)strName.length());
|
||||||
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|||||||
@@ -206,6 +206,9 @@ void CRenderer::Render_Priority()
|
|||||||
COMPUTE_TIMEDELTA("Timer_Render_Priority");
|
COMPUTE_TIMEDELTA("Timer_Render_Priority");
|
||||||
EVENTSCOPE_("Render_Priority");
|
EVENTSCOPE_("Render_Priority");
|
||||||
m_eType = RENDER::PRIORITY;
|
m_eType = RENDER::PRIORITY;
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::PRIORITY)])
|
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::PRIORITY)])
|
||||||
{
|
{
|
||||||
if (nullptr != pRenderObject) {
|
if (nullptr != pRenderObject) {
|
||||||
@@ -217,6 +220,9 @@ void CRenderer::Render_Priority()
|
|||||||
SAFE_RELEASE(pRenderObject);
|
SAFE_RELEASE(pRenderObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_RenderObjects[ENUM_CLASS(RENDER::PRIORITY)].clear();
|
m_RenderObjects[ENUM_CLASS(RENDER::PRIORITY)].clear();
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_Priority");
|
COMPUTE_TIMEDELTA("Timer_Render_Priority");
|
||||||
}
|
}
|
||||||
@@ -612,6 +618,9 @@ void CRenderer::Render_Fog()
|
|||||||
EVENTSCOPE_("Render_Fog");
|
EVENTSCOPE_("Render_Fog");
|
||||||
|
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Fog"), m_pShader, "g_Texture"))) {
|
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Fog"), m_pShader, "g_Texture"))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -621,21 +630,22 @@ void CRenderer::Render_Fog()
|
|||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
{ // BackBuffer
|
if (FAILED(m_pGameInstance->Copy_RenderTargetAToB(TEXT("Target_LDRBackBuffer"), TEXT("Target_Fog")))) {
|
||||||
ID3D11Texture2D* pBackBuffer = nullptr;
|
return;
|
||||||
m_pGameInstance->Get_BackBufferPTR(&pBackBuffer);
|
}
|
||||||
m_pGameInstance->Copy_RenderTargetFrom(TEXT("Target_Fog"), pBackBuffer);
|
|
||||||
SAFE_RELEASE(pBackBuffer);
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pShader->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float));
|
m_pShader->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float));
|
||||||
m_pShader->Bind_RawValue("g_fDepthPackExponent", m_pGameInstance->Get_DepthPackExponentPtr(), sizeof(_float));
|
m_pShader->Bind_RawValue("g_fDepthPackExponent", m_pGameInstance->Get_DepthPackExponentPtr(), sizeof(_float));
|
||||||
|
|
||||||
//if (FAILED(m_pGameInstance->Bind_FogValue(m_pShader))) { // 여기서 포그에서 쓰는 상수들 바인딩 해줌
|
|
||||||
// assert(false);
|
|
||||||
//}
|
|
||||||
|
|
||||||
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShader, "g_DepthTexture"))) {
|
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShader, "g_DepthTexture"))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -650,6 +660,10 @@ void CRenderer::Render_Fog()
|
|||||||
|
|
||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_Fog");
|
COMPUTE_TIMEDELTA("Timer_Render_Fog");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -685,7 +699,10 @@ void CRenderer::Render_WeightBlend()
|
|||||||
COMPUTE_TIMEDELTA("Timer_Render_WeightBlend");
|
COMPUTE_TIMEDELTA("Timer_Render_WeightBlend");
|
||||||
EVENTSCOPE_("Render_WeightBlend");
|
EVENTSCOPE_("Render_WeightBlend");
|
||||||
// Bind_Resorces
|
// Bind_Resorces
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
assert(false); return;
|
||||||
|
}
|
||||||
m_pWeightBlendShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
m_pWeightBlendShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
||||||
m_pWeightBlendShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix);
|
m_pWeightBlendShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix);
|
||||||
m_pWeightBlendShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix);
|
m_pWeightBlendShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix);
|
||||||
@@ -703,6 +720,9 @@ void CRenderer::Render_WeightBlend()
|
|||||||
|
|
||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_WeightBlend");
|
COMPUTE_TIMEDELTA("Timer_Render_WeightBlend");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -711,6 +731,10 @@ void CRenderer::Render_NonLight()
|
|||||||
COMPUTE_TIMEDELTA("Timer_Render_NonLight");
|
COMPUTE_TIMEDELTA("Timer_Render_NonLight");
|
||||||
EVENTSCOPE_("Render_NonLight");
|
EVENTSCOPE_("Render_NonLight");
|
||||||
m_eType = RENDER::NONLIGHT;
|
m_eType = RENDER::NONLIGHT;
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::NONLIGHT)])
|
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::NONLIGHT)])
|
||||||
{
|
{
|
||||||
if (nullptr != pRenderObject){
|
if (nullptr != pRenderObject){
|
||||||
@@ -722,6 +746,9 @@ void CRenderer::Render_NonLight()
|
|||||||
SAFE_RELEASE(pRenderObject);
|
SAFE_RELEASE(pRenderObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_RenderObjects[ENUM_CLASS(RENDER::NONLIGHT)].clear();
|
m_RenderObjects[ENUM_CLASS(RENDER::NONLIGHT)].clear();
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_NonLight");
|
COMPUTE_TIMEDELTA("Timer_Render_NonLight");
|
||||||
}
|
}
|
||||||
@@ -806,6 +833,9 @@ void CRenderer::Combine_Blur()
|
|||||||
COMPUTE_TIMEDELTA("Timer_Combine_Blur");
|
COMPUTE_TIMEDELTA("Timer_Combine_Blur");
|
||||||
EVENTSCOPE_("Combine_Blur");
|
EVENTSCOPE_("Combine_Blur");
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Blur_Y"), m_pBlurShader, "g_BlurYTexture"))) {
|
if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Blur_Y"), m_pBlurShader, "g_BlurYTexture"))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -829,6 +859,9 @@ void CRenderer::Combine_Blur()
|
|||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
COMPUTE_TIMEDELTA("Timer_Combine_Blur");
|
COMPUTE_TIMEDELTA("Timer_Combine_Blur");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -967,6 +1000,9 @@ void CRenderer::Render_Blend()
|
|||||||
return pSour->Get_Depth() > pDest->Get_Depth();
|
return pSour->Get_Depth() > pDest->Get_Depth();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BLEND)])
|
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BLEND)])
|
||||||
{
|
{
|
||||||
if (nullptr != pRenderObject) {
|
if (nullptr != pRenderObject) {
|
||||||
@@ -978,6 +1014,9 @@ void CRenderer::Render_Blend()
|
|||||||
SAFE_RELEASE(pRenderObject);
|
SAFE_RELEASE(pRenderObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_RenderObjects[ENUM_CLASS(RENDER::BLEND)].clear();
|
m_RenderObjects[ENUM_CLASS(RENDER::BLEND)].clear();
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_Blend");
|
COMPUTE_TIMEDELTA("Timer_Render_Blend");
|
||||||
}
|
}
|
||||||
@@ -991,9 +1030,9 @@ void CRenderer::Render_Blur_Mesh()
|
|||||||
return pSour->Get_Depth() > pDest->Get_Depth();
|
return pSour->Get_Depth() > pDest->Get_Depth();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (FAILED(m_pGameInstance->Begin_MRT_Include_BackBuffer(L"MRT_Blur_Mesh", nullptr, false)))
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_Blur_Mesh")))) {
|
||||||
return;
|
assert(false); return;
|
||||||
|
}
|
||||||
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BULR_MESH)])
|
for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BULR_MESH)])
|
||||||
{
|
{
|
||||||
if (nullptr != pRenderObject) {
|
if (nullptr != pRenderObject) {
|
||||||
@@ -1020,12 +1059,9 @@ void CRenderer::Render_PostProcessing()
|
|||||||
EVENTSCOPE_("Render_PostProcessing");
|
EVENTSCOPE_("Render_PostProcessing");
|
||||||
|
|
||||||
{
|
{
|
||||||
ID3D11Texture2D* pBackBuffer = { nullptr };
|
if (FAILED(m_pGameInstance->Copy_RenderTargetAToB(TEXT("Target_LDRBackBuffer"), TEXT("Target_AfterBlend")))) {
|
||||||
m_pGameInstance->Get_BackBufferPTR(&pBackBuffer);
|
return;
|
||||||
if (FAILED(m_pGameInstance->Copy_RenderTargetFrom(TEXT("Target_AfterBlend"), pBackBuffer))) {
|
|
||||||
assert(false);
|
|
||||||
}
|
}
|
||||||
SAFE_RELEASE(pBackBuffer);
|
|
||||||
if (FAILED(m_pShader->Bind_RawValue("g_iMBTileSize", &m_iMBTileSize, sizeof(_int)))) {
|
if (FAILED(m_pShader->Bind_RawValue("g_iMBTileSize", &m_iMBTileSize, sizeof(_int)))) {
|
||||||
assert(false); return;
|
assert(false); return;
|
||||||
}
|
}
|
||||||
@@ -1034,7 +1070,12 @@ void CRenderer::Render_PostProcessing()
|
|||||||
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_VelocityTile"), TEXT("Target_VelocityTent"), SHADER_PASS_DEFERRED::MOTIONBLURTENT);
|
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_VelocityTile"), TEXT("Target_VelocityTent"), SHADER_PASS_DEFERRED::MOTIONBLURTENT);
|
||||||
}
|
}
|
||||||
/* MotionBlur */
|
/* MotionBlur */
|
||||||
if (false == m_bMB) {
|
if (true == m_bMB) {
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
assert(false); return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_MotionBlur")))) {
|
if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_MotionBlur")))) {
|
||||||
assert(false); return;
|
assert(false); return;
|
||||||
}
|
}
|
||||||
@@ -1052,7 +1093,7 @@ void CRenderer::Render_PostProcessing()
|
|||||||
if (FAILED(m_pShader->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
|
if (FAILED(m_pShader->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
|
||||||
assert(false); return;
|
assert(false); return;
|
||||||
}
|
}
|
||||||
if (FAILED(m_pShader->Bind_RawValue("g_fMBBlurRadius", &m_fMBBlurRadius, sizeof(_float)))) {
|
if (FAILED(m_pShader->Bind_RawValue("g_fMBMaxBlurRadius", &m_fMBMaxBlurRadius, sizeof(_float)))) {
|
||||||
assert(false); return;
|
assert(false); return;
|
||||||
}
|
}
|
||||||
if (FAILED(m_pShader->Bind_RawValue("g_fMBSampleBias", &m_fMBSampleBias, sizeof(_float)))) {
|
if (FAILED(m_pShader->Bind_RawValue("g_fMBSampleBias", &m_fMBSampleBias, sizeof(_float)))) {
|
||||||
@@ -1095,10 +1136,8 @@ void CRenderer::Render_PostProcessing()
|
|||||||
|
|
||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
if (false == m_bMB) {
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
if (FAILED(m_pGameInstance->End_MRT())) {
|
return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_Bloom")))) {
|
if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_Bloom")))) {
|
||||||
return;
|
return;
|
||||||
@@ -1158,8 +1197,15 @@ void CRenderer::Render_PostProcessing()
|
|||||||
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_2x2"), TEXT("Target_Bloom_2x2_2"), SHADER_PASS_DEFERRED::BLOOM_BLURY); // 8
|
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_2x2"), TEXT("Target_Bloom_2x2_2"), SHADER_PASS_DEFERRED::BLOOM_BLURY); // 8
|
||||||
|
|
||||||
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_2x2_2"), TEXT("Target_Bloom"), SHADER_PASS_DEFERRED::UPSAMPLE);
|
m_pGameInstance->Refit_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_2x2_2"), TEXT("Target_Bloom"), SHADER_PASS_DEFERRED::UPSAMPLE);
|
||||||
m_pGameInstance->Finish_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_Input"), TEXT("Target_Bloom"), SHADER_PASS_DEFERRED::BLOOM_FINISH); // 9
|
|
||||||
|
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
assert(false); return;
|
||||||
|
}
|
||||||
|
m_pGameInstance->Finish_RenderTarget(m_pVIBuffer, m_pShader, TEXT("Target_Bloom_Input"), TEXT("Target_Bloom"), SHADER_PASS_DEFERRED::BLOOM_FINISH); // 9
|
||||||
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_PostProcessing");
|
COMPUTE_TIMEDELTA("Timer_Render_PostProcessing");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,14 +1242,12 @@ void CRenderer::Render_DistortionAcc()
|
|||||||
EVENTSCOPE_("Render_DistortionAcc");
|
EVENTSCOPE_("Render_DistortionAcc");
|
||||||
// Bind_Resorces
|
// Bind_Resorces
|
||||||
|
|
||||||
ID3D11Texture2D* pBackBufferTexture2D = { nullptr };
|
if (FAILED(m_pGameInstance->Copy_RenderTargetAToB(TEXT("Target_LDRBackBuffer"), TEXT("Target_PreEffect")))) {
|
||||||
|
|
||||||
m_pGameInstance->Get_BackBufferPTR(&pBackBufferTexture2D);
|
|
||||||
|
|
||||||
if (FAILED(m_pGameInstance->Copy_RenderTargetFrom(TEXT("Target_PreEffect"), pBackBufferTexture2D))) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_LDRBackbuffer")))) {
|
||||||
|
assert(false); return;
|
||||||
|
}
|
||||||
m_pDistortionShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
m_pDistortionShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
||||||
m_pDistortionShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix);
|
m_pDistortionShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix);
|
||||||
m_pDistortionShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix);
|
m_pDistortionShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix);
|
||||||
@@ -1221,8 +1265,9 @@ void CRenderer::Render_DistortionAcc()
|
|||||||
m_pVIBuffer->Bind_Resources();
|
m_pVIBuffer->Bind_Resources();
|
||||||
m_pVIBuffer->Render();
|
m_pVIBuffer->Render();
|
||||||
|
|
||||||
SAFE_RELEASE(pBackBufferTexture2D);
|
if (FAILED(m_pGameInstance->End_MRT())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_DistortionAcc");
|
COMPUTE_TIMEDELTA("Timer_Render_DistortionAcc");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1281,11 +1326,8 @@ void CRenderer::Render_Tone_Mapping()
|
|||||||
{
|
{
|
||||||
COMPUTE_TIMEDELTA("Timer_Render_Tone_Mapping");
|
COMPUTE_TIMEDELTA("Timer_Render_Tone_Mapping");
|
||||||
EVENTSCOPE_("Render_Tone_Mapping");
|
EVENTSCOPE_("Render_Tone_Mapping");
|
||||||
{ // BackBuffer
|
if (FAILED(m_pGameInstance->Copy_RenderTargetAToB(TEXT("Target_LDRBackBuffer"), TEXT("Target_ToneMapping")))) {
|
||||||
ID3D11Texture2D* pBackBuffer = nullptr;
|
return;
|
||||||
m_pGameInstance->Get_BackBufferPTR(&pBackBuffer);
|
|
||||||
m_pGameInstance->Copy_RenderTargetFrom(TEXT("Target_ToneMapping"), pBackBuffer);
|
|
||||||
SAFE_RELEASE(pBackBuffer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
m_pShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix);
|
||||||
|
|||||||
@@ -147,6 +147,11 @@ HRESULT CRenderer::Initialize()
|
|||||||
D3D11_VIEWPORT Viewport{};
|
D3D11_VIEWPORT Viewport{};
|
||||||
m_pContext->RSGetViewports(&iNumViewports, &Viewport);
|
m_pContext->RSGetViewports(&iNumViewports, &Viewport);
|
||||||
{
|
{
|
||||||
|
/* Target_LDRBackBuffer */
|
||||||
|
if (FAILED(m_pGameInstance->Add_RenderTarget(TEXT("Target_LDRBackBuffer"), (_uint)Viewport.Width, (_uint)Viewport.Height,
|
||||||
|
DXGI_FORMAT_R16G16B16A16_FLOAT, _float4(0.0f, 0.f, 1.f, 1.f)))) {
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
/* Target_ToneMapping */
|
/* Target_ToneMapping */
|
||||||
if (FAILED(m_pGameInstance->Add_RenderTarget(TEXT("Target_ToneMapping"), (_uint)Viewport.Width, (_uint)Viewport.Height,
|
if (FAILED(m_pGameInstance->Add_RenderTarget(TEXT("Target_ToneMapping"), (_uint)Viewport.Width, (_uint)Viewport.Height,
|
||||||
DXGI_FORMAT_R16G16B16A16_FLOAT, _float4(0.0f, 0.f, 1.f, 1.f)))) {
|
DXGI_FORMAT_R16G16B16A16_FLOAT, _float4(0.0f, 0.f, 1.f, 1.f)))) {
|
||||||
@@ -427,6 +432,10 @@ HRESULT CRenderer::Initialize()
|
|||||||
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Combined"), TEXT("Target_Fog")))) {
|
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Combined"), TEXT("Target_Fog")))) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
/* MRT_LDRBackbuffer */
|
||||||
|
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_LDRBackbuffer"), TEXT("Target_LDRBackBuffer")))) {
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Combined"), TEXT("Target_AfterCombined")))) {
|
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Combined"), TEXT("Target_AfterCombined")))) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
@@ -519,6 +528,9 @@ HRESULT CRenderer::Initialize()
|
|||||||
|
|
||||||
|
|
||||||
/* MRT_Blur_Mesh */
|
/* MRT_Blur_Mesh */
|
||||||
|
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Blur_Mesh"), TEXT("Target_LDRBackBuffer")))) {
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Blur_Mesh"), TEXT("Target_VelocityMap")))) {
|
if (FAILED(m_pGameInstance->Add_MRT(TEXT("MRT_Blur_Mesh"), TEXT("Target_VelocityMap")))) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
@@ -683,7 +695,7 @@ void CRenderer::Describe_Entitiy()
|
|||||||
if (GUI::CollapsingHeader("MotionBlurr")) {
|
if (GUI::CollapsingHeader("MotionBlurr")) {
|
||||||
GUI::Checkbox("m_bMB", &m_bMB);
|
GUI::Checkbox("m_bMB", &m_bMB);
|
||||||
GUI::SliderFloat("g_fMBSampleBias", &m_fMBSampleBias, -1.f, 1.f, "%.3f");
|
GUI::SliderFloat("g_fMBSampleBias", &m_fMBSampleBias, -1.f, 1.f, "%.3f");
|
||||||
GUI::SliderFloat("g_fMBBlurRadius", &m_fMBBlurRadius, 0.1f, (_float)m_iMBMaxSampleCount, "%.1f");
|
GUI::SliderFloat("m_fMBMaxBlurRadius", &m_fMBMaxBlurRadius, 0.1f, (_float)m_iMBMaxSampleCount, "%.1f");
|
||||||
GUI::SliderInt("g_iMBSampleCount", &m_iMBSampleCount, 0, m_iMBMaxSampleCount, "%d");
|
GUI::SliderInt("g_iMBSampleCount", &m_iMBSampleCount, 0, m_iMBMaxSampleCount, "%d");
|
||||||
}
|
}
|
||||||
if (GUI::CollapsingHeader("End_Padding")) {
|
if (GUI::CollapsingHeader("End_Padding")) {
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ class CRenderTarget final : public CBase
|
|||||||
void Ready_Debug();
|
void Ready_Debug();
|
||||||
void Describe_Entity(const _char* pName);
|
void Describe_Entity(const _char* pName);
|
||||||
void Toggle_RT_Debug();
|
void Toggle_RT_Debug();
|
||||||
|
void Set_Name(const _char* pName, _uint iSize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ class CRenderTarget_Manager final : public CBase
|
|||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
private:
|
private:
|
||||||
_int m_iSizeX = { 16 * 14 };
|
_int m_iSizeX = { 350 };
|
||||||
_int m_iSizeY = { 9 * 14 };
|
_int m_iSizeY = { 350 };
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class CRenderer final : public CBase
|
|||||||
_float m_fMinShadowBrightness = { 0.47f };
|
_float m_fMinShadowBrightness = { 0.47f };
|
||||||
|
|
||||||
// MotionBlur
|
// MotionBlur
|
||||||
_float m_fMBBlurRadius = { 28.f };
|
_float m_fMBMaxBlurRadius = { 28.f };
|
||||||
_float m_fMBSampleBias = { 0.005f };
|
_float m_fMBSampleBias = { 0.005f };
|
||||||
_int m_iMBMaxSampleCount = { 28 };
|
_int m_iMBMaxSampleCount = { 28 };
|
||||||
_int m_iMBSampleCount = { m_iMBMaxSampleCount };
|
_int m_iMBSampleCount = { m_iMBMaxSampleCount };
|
||||||
@@ -91,7 +91,7 @@ class CRenderer final : public CBase
|
|||||||
|
|
||||||
// ToneMapping
|
// ToneMapping
|
||||||
_int m_iToneMappingType = { 2 };
|
_int m_iToneMappingType = { 2 };
|
||||||
_float m_fExposure = { 0.7f };
|
_float m_fExposure = { 0.5f };
|
||||||
|
|
||||||
// Bloom
|
// Bloom
|
||||||
_int m_iBloomEmbossingPass = { 1 };
|
_int m_iBloomEmbossingPass = { 1 };
|
||||||
|
|||||||
Reference in New Issue
Block a user