Fix TAA jitter in post-resolve passes such as editor primitives and debug gizmos

This commit is contained in:
Wojtek Figat
2024-03-19 16:02:50 +01:00
parent 1a68a52611
commit cf3145273f
6 changed files with 67 additions and 3 deletions

View File

@@ -146,4 +146,7 @@ void TAA::Render(const RenderContext& renderContext, GPUTexture* input, GPUTextu
context->Draw(output);
renderContext.Buffers->TemporalAA = outputHistory;
}
// Mark TAA jitter as resolved for future drawing
(bool&)renderContext.View.IsTaaResolved = true;
}