[add] 사백안 전체 에셋 수
This commit is contained in:
@@ -365,7 +365,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
#ifdef 기무리
|
||||
isReady_Background = true;
|
||||
isReady_Hogsmeade = true;
|
||||
isReady_Hogwart = true;
|
||||
isReady_Hogwart = false;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
isReady_Background = false;
|
||||
@@ -1157,8 +1157,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
|
||||
isLoad_NPC = false;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_NPC = true;
|
||||
isLoad_RandomNPC = true;
|
||||
isLoad_NPC = false;
|
||||
isLoad_RandomNPC = false;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
isLoad_RandomNPC = true;
|
||||
|
||||
@@ -581,9 +581,9 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_Background = true;
|
||||
isLoad_Hogwart = true;
|
||||
isLoad_UI_SEQUANTIAL = true;
|
||||
isLoad_NPC = true;
|
||||
isLoad_Hogwart = false;
|
||||
isLoad_UI_SEQUANTIAL = false;
|
||||
isLoad_NPC = false;
|
||||
isLoad_Monster = true;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
|
||||
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.
BIN
Binary file not shown.
@@ -600,7 +600,7 @@ float2 CalcVelocityUV(float4 vCurrentProjPos, float4 vPreviousProjPos, float fIn
|
||||
float2 velocityUV = (currentNDC - previousNDC) * 0.5f;
|
||||
velocityUV *= fIntensity;
|
||||
velocityUV = clamp(velocityUV, -1.0f, 1.0f);
|
||||
|
||||
length(velocityUV);
|
||||
return velocityUV * 0.5f + 0.5f; // 0 속도 -> 0.5
|
||||
}
|
||||
float2 CalcVelocityUV(float4 vCurrentProjPos, float4 vPreviousProjPos)
|
||||
|
||||
@@ -270,13 +270,19 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
||||
|
||||
float2 vBlurVelo = vCenterVelo;
|
||||
float2 vBlurVeloPixel = vCenterVeloPixel;
|
||||
if (length(vBlurVeloPixel) < 0.5f) {
|
||||
|
||||
float fVelocityEpsilon = 30.f;
|
||||
|
||||
if (length(vBlurVeloPixel) < fVelocityEpsilon)
|
||||
{
|
||||
// 사실상 정지해 있던 픽셀이면 텐트벨로시티맵에서 빌려옴
|
||||
vBlurVelo = g_TileVelocityTexture.Sample(PointSampler, vCenterUV).xy * 2.f - 1.f;
|
||||
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
||||
bBorrowedVelocityFromTile = true;
|
||||
}
|
||||
|
||||
if (length(vBlurVeloPixel) < 0.5f) {
|
||||
if (length(vBlurVeloPixel) < fVelocityEpsilon) {
|
||||
// 텐트벨로시티맵에서 빌려온 픽셀또한 정지해 있었으면 원본 그대로 반환
|
||||
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
||||
Out.vVelocity = float2(0.5f, 0.5f);
|
||||
return Out;
|
||||
@@ -1225,18 +1231,18 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In)
|
||||
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
||||
{
|
||||
PS_OUT_BACKBUFFER Out;
|
||||
vector vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
float4 vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
vColor *= g_fToneMappingExposure;
|
||||
vColor = pow(vColor, 2.2f);
|
||||
switch (g_iToneMappingType) {
|
||||
case 0:
|
||||
vColor = pow(vColor, 1.f/2.2f);
|
||||
vColor /= g_fToneMappingExposure;
|
||||
break;
|
||||
case 1:
|
||||
vColor = pow(vColor, 2.2f);
|
||||
vColor = float4(ReinHard_ToneMapper(vColor.xyz), 1.f);
|
||||
break;
|
||||
case 2:
|
||||
vColor = pow(vColor, 2.2f);
|
||||
vColor = float4(Filmic_ToneMapper(vColor.xyz), 1.f);
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -270,13 +270,19 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
||||
|
||||
float2 vBlurVelo = vCenterVelo;
|
||||
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;
|
||||
vBlurVeloPixel = vBlurVelo * g_vResolution.xy;
|
||||
bBorrowedVelocityFromTile = true;
|
||||
}
|
||||
|
||||
if (length(vBlurVeloPixel) < 0.5f) {
|
||||
if (length(vBlurVeloPixel) < fVelocityEpsilon) {
|
||||
// 텐트벨로시티맵에서 빌려온 픽셀또한 정지해 있었으면 원본 그대로 반환
|
||||
Out.vColor = g_ColorTexture.Sample(ClampLinearSampler, vCenterUV);
|
||||
Out.vVelocity = float2(0.5f, 0.5f);
|
||||
return Out;
|
||||
@@ -349,6 +355,7 @@ PS_OUT_VELOCITYBLUR PS_MOTIONBLUR(PS_IN In)
|
||||
Out.vVelocity = vBlurredVelo * 0.5f + 0.5f;
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT_VELOCITYTILE PS_MOTIONBLUR_TILESAMPLE(PS_IN In)
|
||||
{
|
||||
PS_OUT_VELOCITYTILE Out = (PS_OUT_VELOCITYTILE) 0;
|
||||
@@ -1225,18 +1232,18 @@ PS_OUT_FLT4_SINGLE PS_MAIN_FOG(PS_IN In)
|
||||
PS_OUT_BACKBUFFER PS_TONE_MAPPING(PS_IN In)
|
||||
{
|
||||
PS_OUT_BACKBUFFER Out;
|
||||
vector vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
float4 vColor = g_OriginalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
vColor *= g_fToneMappingExposure;
|
||||
vColor = pow(vColor, 2.2f);
|
||||
switch (g_iToneMappingType) {
|
||||
case 0:
|
||||
vColor = pow(vColor, 1.f/2.2f);
|
||||
vColor /= g_fToneMappingExposure;
|
||||
break;
|
||||
case 1:
|
||||
vColor = pow(vColor, 2.2f);
|
||||
vColor = float4(ReinHard_ToneMapper(vColor.xyz), 1.f);
|
||||
break;
|
||||
case 2:
|
||||
vColor = pow(vColor, 2.2f);
|
||||
vColor = float4(Filmic_ToneMapper(vColor.xyz), 1.f);
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -41,8 +41,8 @@ class CRenderTarget_Manager final : public CBase
|
||||
|
||||
#ifdef _DEBUG
|
||||
private:
|
||||
_int m_iSizeX = { 16 * 14 };
|
||||
_int m_iSizeY = { 9 * 14 };
|
||||
_int m_iSizeX = { 350 };
|
||||
_int m_iSizeY = { 350 };
|
||||
#endif // _DEBUG
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user