Enables Gen5 TAA and Temporal Upsampling by default engine wide

Disabled on EngineTest to avoid invalidating screenshot test's gold images
Disabled on QAGame to avoid causing unexpected surprises with short notice until QA have tried it out.
Has already been enabled on ShooterGame and all other internal projects

#rb kevin.ortegren
#lockdown kevin.ortegren
[FYI] michal.valient, zachary.wilson, brian.karis, wei.liu, jack.porter
#jira UE-113029

#ROBOMERGE-OWNER: guillaume.abadie
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 15952870 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15960072 by guillaume abadie in ue5-main branch]
This commit is contained in:
guillaume abadie
2021-04-08 16:48:45 -04:00
parent 92439f3549
commit d8e9947189
3 changed files with 16 additions and 5 deletions
@@ -20,7 +20,7 @@ const int32 GTemporalAATileSizeX = 8;
const int32 GTemporalAATileSizeY = 8;
TAutoConsoleVariable<int32> CVarTAAAlgorithm(
TEXT("r.TemporalAA.Algorithm"), 0,
TEXT("r.TemporalAA.Algorithm"), 1,
TEXT("Algorithm to use for Temporal AA\n")
TEXT(" 0: Gen 4 TAAU (default)\n")
TEXT(" 1: Gen 5 TAAU (experimental)"),
@@ -113,6 +113,11 @@ inline bool DoesPlatformSupportTemporalHistoryUpscale(EShaderPlatform Platform)
inline bool DoesPlatformSupportGen5TAA(EShaderPlatform Platform)
{
// TODO(Gen5TAA): alpha channel is not supported yet
if (IsPostProcessingWithAlphaChannelSupported())
{
return false;
}
return FDataDrivenShaderPlatformInfo::GetSupportsGen5TemporalAA(Platform);
}