Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Multiframe rendering and accumulation for SSGI, Moution Blur and Timeline

Discussion in 'High Definition Render Pipeline' started by ignarmezh, Oct 2, 2023.

  1. ignarmezh

    ignarmezh

    Joined:
    Mar 23, 2017
    Posts:
    56
    Is it possible to use Multiframe rendering and accumulation for screen space effects with Timeline?
    I have animation on Timeline for my Camera (smooth movement) and SSGI with Motion Blur, Camera need accumulate some data from previous frames for get better result in current frame for SSGI.
    This problem I solved with custom script, where added a delay between animation's frames for SSGI, but my screenshots doesn't have impact from Motion blur, because my camera stand on one position N seconds for accumulate SSGI data. And I found this script in documentation.

    Can I solve this problem with this approach?
    I think my script with delay between frames not suit for this approach. I just tried use this script, but I got skiped frames in my animation.

    In the fact, I want to get screenshots as example:
    0 frame - initial scene and camera stand on 0 frame in Timeline.
    30 frame - 1st screenshot (between SSGI need a time for accumulate info)
    31 frame - camera movement on 1 frame in Timeline
    60 frame - 2nd screenshot with Motion Blur (between 1st and 2nd Camera position)
    etc.