Add RenderSetup and allow customizing it by gameplay and postfx

This commit is contained in:
Wojciech Figat
2022-12-14 14:03:59 +01:00
parent c17477abff
commit 188428a7a9
13 changed files with 68 additions and 55 deletions

View File

@@ -18,7 +18,7 @@ void RenderView::Prepare(RenderContext& renderContext)
// Check if use TAA (need to modify the projection matrix)
Float2 taaJitter;
NonJitteredProjection = Projection;
if (renderContext.List->Settings.AntiAliasing.Mode == AntialiasingMode::TemporalAntialiasing)
if (renderContext.List->Setup.UseTemporalAAJitter)
{
// Move to the next frame
const int MaxSampleCount = 8;