Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Keyframing post processing effects in Timeline

Discussion in 'Timeline' started by Enigma229, Apr 15, 2020.

  1. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    129
    Are there any plans to implement this? I'm using 2019.6 and I would like to change the DOF in Timeline by keyframing values but it won't let me.
     
  2. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    129
  3. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Unfortunately, no. It is something that can be done using a custom track, but the Post Processing values themselves aren't able to be animated directly using the animation systems timeline uses.

    This blog shows how to animate properties of a custom timeline clip - for a custom DOF clip, that value would need to be copied to the DOF parameter by the playable behaviour.
    https://blogs.unity3d.com/2018/09/05/extending-timeline-a-practical-guide/
     
  4. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    129
    Code wall! Not very friendly for us artists.

    Any plans in the future?
     
  5. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Yeah, I completely understand that sentiment, I actually hate referring code as solutions. What I can say is it is not on Timeline's immediate plans to support this for AnimationTracks.

    There are other packages and other extensions for timeline written by the community, but I don't know of one that does this specifically, but I definitely don't know them all!

    Cinemachine has support for post processing in their timeline integration, but I don't remember off the top of my head if it has support for blending or animating DOF explicitly.

    As for future plans though, we are looking into ways to make more things accessible for animation in future versions of timeline, through new tracks and features. Something like animating post process would qualify in that, although we haven't tackled it explicitly yet.