public void ResetHistory() { foreach (KeyValuePair <Type, PostProcessBundle> bundle in m_Bundles) { bundle.Value.ResetHistory(); } temporalAntialiasing.ResetHistory(); }
// Call this function whenever you need to reset any temporal effect (TAA, Motion Blur etc). // Mainly used when doing camera cuts. public void ResetHistory() { foreach (var bundle in m_Bundles) { bundle.Value.ResetHistory(); } temporalAntialiasing.ResetHistory(); }